atom feed3 messages in org.kernel.vger.kernel-janitorsRE: [drm:drm-next 169/234] drivers/gp...
FromSent OnAttachments
Fengguang WuOct 2, 2012 6:18 pm.config
Luca TettamantiOct 3, 2012 6:03 am.patch
Deucher, AlexanderOct 3, 2012 6:35 am 
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'
From:Deucher, Alexander (Alex@amd.com)
Date:Oct 3, 2012 6:35:27 am
List:org.kernel.vger.kernel-janitors

-----Original Message----- From: Luca Tettamanti [mailto:kron@gmail.com] Sent: Wednesday, October 03, 2012 9:03 AM To: Fengguang Wu Cc: Yuanhan Liu; kern@vger.kernel.org; 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.