X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=common%2Fbouncebuf.c;h=054d9e0302ccbd9bff1f17874b284c5234763da7;hb=HEAD;hp=1df12cdda07d04f80632190c09b841e85a774b45;hpb=05a860c228fe6c8f2e7aced8cc8ef88bc1038363;p=karo-tx-uboot.git diff --git a/common/bouncebuf.c b/common/bouncebuf.c index 1df12cdda0..054d9e0302 100644 --- a/common/bouncebuf.c +++ b/common/bouncebuf.c @@ -3,23 +3,7 @@ * * Copyright (C) 2012 Marek Vasut * - * See file CREDITS for list of people who contributed to this - * project. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0+ */ #include @@ -39,7 +23,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; }