Bart, Agreed with below changes, we will be posting the patches soon. -----Original Message----- From: Bart Van Assche [mailto:Bart.VanAssche@xxxxxxx] Sent: Friday, March 30, 2018 9:46 PM To: chaitra.basappa@xxxxxxxxxxxx; linux-scsi@xxxxxxxxxxxxxxx Cc: Sathya.Prakash@xxxxxxxxxxxx; suganath-prabu.subramani@xxxxxxxxxxxx; sreekanth.reddy@xxxxxxxxxxxx Subject: Re: [PATCH 06/15] mpt3sas: Enhanced handling of Sense Buffer. On Fri, 2018-03-30 at 15:07 +0530, Chaitra P B wrote: > + if (((reply_pool_start_address / bit_divisor_16) / (bit_divisor_16)) == > + ((reply_pool_end_address / bit_divisor_16) / bit_divisor_16)) > + return 1; > + else > + return 0; Please use upper_32_bits() instead of open-coding it. I think that the above check could be rewritten as follows: return upper_32_bits(reply_pool_start_address) == upper_32_bits(reply_pool_end_address); Thanks, Bart.