Instead of using array_size, use a function that takes care of both the
multiplication and the overflow checks.
Compile-tested only.
Qianfeng Rong (2):
scsi: ipr: Use vmalloc_array to simplify code
scsi: scsi_debug: Use vcalloc to simplify code
drivers/scsi/ipr.c | 8 ++++----
drivers/scsi/scsi_debug.c | 6 ++----
2 files changed, 6 insertions(+), 8 deletions(-)
--
2.34.1