Re: [PATCH RESEND] scsi: ultrastor: Use correct format identifier for kernel pointer

2016-05-01 Thread William Breathitt Gray
On Sun, May 01, 2016 at 04:08:25PM -0700, James Bottomley wrote: >On Sun, 2016-05-01 at 17:57 -0400, William Breathitt Gray wrote: >> The 'bios_segment' member of a struct ultrastor_config is passed to the >> sprintf function with a respective %05X format identifier. The >> 'bio_segment' member is

Re: [PATCH RESEND] scsi: ultrastor: Use correct format identifier for kernel pointer

2016-05-01 Thread James Bottomley
On Sun, 2016-05-01 at 17:57 -0400, William Breathitt Gray wrote: > The 'bios_segment' member of a struct ultrastor_config is passed to the > sprintf function with a respective %05X format identifier. The > 'bio_segment' member is a kernel pointer, but the %X format identifier > expects an int data

[PATCH RESEND] scsi: ultrastor: Use correct format identifier for kernel pointer

2016-05-01 Thread William Breathitt Gray
The 'bios_segment' member of a struct ultrastor_config is passed to the sprintf function with a respective %05X format identifier. The 'bio_segment' member is a kernel pointer, but the %X format identifier expects an int data type. A cast to int is correctly used to satisfy the format identifier, b

[PATCH RESEND] scsi: ultrastor: Use correct format identifier for kernel pointer

2016-05-01 Thread William Breathitt Gray
The 'bios_segment' member of a struct ultrastor_config is passed to the sprintf function with a respective %05X format identifier. The 'bio_segment' member is a kernel pointer, but the %X format identifier expects an int data type. A cast to int is correctly used to satisfy the format identifier, b