Bart,
 Agreed with below changes, we will be posting the patches soon.

-----Original Message-----
From: Bart Van Assche [mailto:[email protected]]
Sent: Friday, March 30, 2018 9:46 PM
To: [email protected]; [email protected]
Cc: [email protected]; [email protected];
[email protected]
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.

Reply via email to