Re: [PATCH] scsi: target: tcmu: Fix divide-by-zero in data_pages_per_blk store

From: Martin K. Petersen

Date: Fri Oct 30 2026 - 21:24:20 EST



> tcmu_set_data_pages_per_blk() only validates the upper bound of the
> value parsed from data_pages_per_blk=. Zero passes that check and is
> then used as the divisor when computing udev->max_blocks:

Applied to 7.4/scsi-staging, thanks!

--
Martin K. Petersen