Re: [PATCH] scsi: esas2r: Fix format string type mistakes

2016-12-17 Thread Bart Van Assche
On 12/16/2016 10:50 PM, Kees Cook wrote: > diff --git a/drivers/scsi/esas2r/esas2r_ioctl.c > b/drivers/scsi/esas2r/esas2r_ioctl.c > index 3e8483410f61..34976f9a1a10 100644 > --- a/drivers/scsi/esas2r/esas2r_ioctl.c > +++ b/drivers/scsi/esas2r/esas2r_ioctl.c > @@ -1301,7 +1301,7 @@ int esas2r_ioctl

[PATCH] scsi: esas2r: Fix format string type mistakes

2016-12-16 Thread Kees Cook
From: Emese Revfy This adds the missing __printf attribute which allows compile time format string checking (and will be used by the coming initify gcc plugin). Additionally, this fixes the warnings exposed by the attribute. Signed-off-by: Emese Revfy [kees: split scsi/acpi, merged attr and fix