linux/drivers/s390
Gustavo A. R. Silva 10321aa17a s390/dasd: Use struct_size() helper
Make use of the struct_size() helper instead of an open-coded version
in order to avoid any potential type mistakes. Also, remove unnecessary
variable _datasize_.

This code was detected with the help of Coccinelle and, audited and
fixed manually.

Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Stefan Haberland <sth@linux.ibm.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2020-07-15 08:47:11 -06:00
..
block s390/dasd: Use struct_size() helper 2020-07-15 08:47:11 -06:00
char s390: use fallthrough; 2020-03-25 12:39:37 +01:00
cio s390/qdio: warn about unexpected SLSB states 2020-06-17 23:05:05 +02:00
crypto s390/zcrypt: use kzalloc 2020-06-16 13:44:04 +02:00
net s390/qeth: let isolation mode override HW offload restrictions 2020-06-18 20:27:42 -07:00
scsi scsi: zfcp: Fix panic on ERP timeout for previously dismissed ERP action 2020-06-24 00:01:09 -04:00
virtio s390/virtio: remove unused pm callbacks 2020-06-16 13:44:04 +02:00
Makefile s390: remove pointless drivers-y in drivers/s390/Makefile 2019-09-16 13:21:51 +02:00