[PATCH] Fix compilation warning/error in setprop_inplace.c

Jon Loeliger jdl at jdl.com
Wed Jun 27 23:03:08 EST 2012


> On Wed, Jun 13, 2012 at 12:31:52PM +1000, David Gibson wrote:
> > On Tue, Jun 12, 2012 at 02:48:12PM -0600, Stephen Warren wrote:
> > > From: Stephen Warren <swarren at nvidia.com>
> > >=20
> > > When compiling the current code-base with gcc 4.6.1, the following wa=
> rning
> > > is raised, which is interpreted as an error:
> > >=20
> > > cc1: warnings being treated as errors
> > > tests/setprop_inplace.c: In function =E2=80=98main=E2=80=99:
> > > tests/setprop_inplace.c:62: error: format =E2=80=98%016llx=E2=80=99 e=
> xpects type =E2=80=98long long unsigned int=E2=80=99, but argument 2 has =
> type =E2=80=98uint64_t=E2=80=99
> > > tests/setprop_inplace.c:68: error: format =E2=80=98%016llx=E2=80=99 e=
> xpects type =E2=80=98long long unsigned int=E2=80=99, but argument 2 has =
> type =E2=80=98uint64_t=E2=80=99
> > >=20
> > > Use printf format specifiers from <inttypes.h> to solve this.
> > >=20
> > > Signed-off-by: Stephen Warren <swarren at nvidia.com>
> >=20
> > Acked-by: David Gibson <david at gibson.dropbear.id.au>
> 
> Jon?
> 
> Please apply...

Applied and pushed out.

Sorry,
jdl


More information about the devicetree-discuss mailing list