scsi: arm: fas216: Use %llu to print 'u64' format
Subsystems (2)
PATCH 1/1 scsi: arm: fas216: Use %llu to print 'u64' format
From: Fabio Estevam <[email protected]>
The following warning is seen when building for ARM:
drivers/scsi/arm/fas216.c:3003:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'u64' [-Wformat=]
Use %llu to print 'u64' format.
--- drivers/scsi/arm/fas216.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/arm/fas216.c +1 -1
@@ -3000,7 +3000,7 @@ void fas216_print_devices(FAS216_Info *info, struct seq_file *m)shost_for_each_device (scd, info->host) { dev = &info->device[scd->id]; -seq_printf (m," %d/%d " , scd->id, scd->lun); +seq_printf (m," %d/%llu " , scd->id, scd->lun);if (scd->tagged_supported) seq_printf(m, "%3sabled(%3d) ", scd->simple_tags ? "en" : "dis",
Signature · 1 line
1.8.3.2
Thanks Fabio,
this looks good to me. Are there any other warnings you got from that autobuilder?
Quoted 5 lines · Christoph Hellwig
Thanks Fabio,
this looks good to me. Are there any other warnings you got from that autobuilder?
It _should_ have been fixed with my latest patch for fixing the 64bit LUN fallout. Christoph, have you applied it?
Cheers,
Hannes
Signature · 8 lines
Dr. Hannes Reinecke zSeries & Storage [email protected] +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg) -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 8 lines · Hannes Reinecke
Quoted 5 lines · Christoph Hellwig
Thanks Fabio,
this looks good to me. Are there any other warnings you got from that autobuilder?
It _should_ have been fixed with my latest patch for fixing the 64bit LUN fallout. Christoph, have you applied it?
Looks like this is in, indeed. Seems like that latest drivers-for-3.17 update hasn't made it into James' for-next and thus linux-next, though.
Hi Christoph,
Quoted 4 lines · Christoph Hellwig
Thanks Fabio,
this looks good to me. Are there any other warnings you got from that autobuilder?
Yes, the build results for various ARM defconfigs are available at:
http://lists.linaro.org/pipermail/kernel-build-reports/2014-July/004338.html
Regards,
Fabio Estevam