X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=common%2Fbouncebuf.c;h=a7098e2caf4c03cad805ccc1160e47280d331aed;hb=0a09f2f1173d877a007fe64c7e130c04c5085662;hp=9eece6d758bb6eede91da046a2db5774808c1dec;hpb=aaf5e825606a70ddc8fca8e366d8c16a6fd3cc7c;p=oweals%2Fu-boot.git diff --git a/common/bouncebuf.c b/common/bouncebuf.c index 9eece6d758..a7098e2caf 100644 --- a/common/bouncebuf.c +++ b/common/bouncebuf.c @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Generic bounce buffer implementation * * Copyright (C) 2012 Marek Vasut - * - * SPDX-License-Identifier: GPL-2.0+ */ #include @@ -23,7 +22,7 @@ static int addr_aligned(struct bounce_buffer *state) /* Check if length is aligned */ if (state->len != state->len_aligned) { - debug("Unaligned buffer length %d\n", state->len); + debug("Unaligned buffer length %zu\n", state->len); return 0; }