Re: [PATCH] mtd: use correct format specifier

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

 



On 10:31 Fri 07 Sep     , Jan Luebbe wrote:
> For the size_t type the format specifier %zu or %zx must be used.
> See Documentation/printk-formats.txt in the kernel for details.
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@xxxxxxxxxxxx>

can you fix 

/opt/work/barebox/drivers/mtd/mtdraw.c: In function 'mtdraw_read':
/opt/work/barebox/drivers/mtd/mtdraw.c:140:3: warning: format '%lu' expects
type 'long unsigned int', but argument 2 has type 'ssize_t'

too

Best Regards,
J.

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux