RE: [drm:drm-next 169/234] drivers/gpu/drm/radeon/radeon_acpi.c:128:3: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Luca Tettamanti [mailto:kronos.it@xxxxxxxxx]
> Sent: Wednesday, October 03, 2012 9:03 AM
> To: Fengguang Wu
> Cc: Yuanhan Liu; kernel-janitors@xxxxxxxxxxxxxxx; Deucher, Alexander
> Subject: Re: [drm:drm-next 169/234]
> drivers/gpu/drm/radeon/radeon_acpi.c:128:3: warning: format '%lu' expects
> argument of type 'long unsigned int', but argument 2 has type 'size_t'
> 
> On Wed, Oct 03, 2012 at 09:18:22AM +0800, Fengguang Wu wrote:
> > All warnings:
> >
> > drivers/gpu/drm/radeon/radeon_acpi.c: In function
> 'radeon_atif_verify_interface':
> > drivers/gpu/drm/radeon/radeon_acpi.c:128:3: warning: format '%lu'
> expects argument of type 'long unsigned int', but argument 2 has type
> 'size_t' [-Wformat]
> 
> Yup, %lu is wrong on 32bit. There's also another occurence in that file,
> attached patch agains drm-next fixes both.

Reviewed-by: Alex Deucher <alexander.deucher@xxxxxxx>



--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux