[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.1101271451570.2090-100000@iolanthe.rowland.org>
Date: Thu, 27 Jan 2011 14:53:56 -0500 (EST)
From: Alan Stern <stern@...land.harvard.edu>
To: Davidlohr Bueso <dave@....org>
cc: Michal Nazarewicz <m.nazarewicz@...sung.com>,
Greg Kroah-Hartman <gregkh@...e.de>,
LKML <linux-kernel@...r.kernel.org>, <linux-usb@...r.kernel.org>
Subject: Re: [PATCH 1/2] USB: ffs-test: fix header path
On Thu, 27 Jan 2011, Davidlohr Bueso wrote:
> From: Davidlohr Bueso <dave@....org>
>
> When compiling this program the functionfs.h header cannot be found, producing:
> ffs-test.c:40: fatal error: linux/usb/functionfs.h: No such file or directory
>
> This patch also fixes the following warning:
> ffs-test.c:453: warning: format â%4dâ expects type âintâ, but argument 3 has type âsize_tâ
> @@ -450,7 +450,7 @@ invalid:
> len, expected, *p);
> for (p = buf, len = 0; len < nbytes; ++p, ++len) {
> if (0 == (len % 32))
> - fprintf(stderr, "%4d:", len);
> + fprintf(stderr, "%4ld:", len);
Since len's type is size_t, shouldn't the format be %4z?
Alan Stern
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists