On Tue, Mar 30, 2021 at 08:42:14PM -0700, Bart Van Assche wrote: > Instead of triggering an integer overflow and undefined behavior if MDTS is > too large, set max_hw_sectors to UINT_MAX and log an error message. I really do not think reporting an error for something that is perfetly valid but not useful to Linux makes much sense.