Re: [PATCH 1/2] vhost/scsi: Improve a size determination in four functions

2017-05-22 Thread Stefan Hajnoczi
On Sat, May 20, 2017 at 04:31:13PM +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 20 May 2017 13:48:44 +0200 > > Replace the specification of four data structures by pointer dereferences > as the parameter for the operator "sizeof" to make the corresponding size > determinati

[PATCH 1/2] vhost/scsi: Improve a size determination in four functions

2017-05-20 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 20 May 2017 13:48:44 +0200 Replace the specification of four data structures by pointer dereferences as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. Signed-off-by: