Re: Resend [PATCH 2/2] convert scsi_cmnd.h macro to normal functions

FUJITA Tomonori <[email protected]> Fri, 03 Jun 2016 07:54:27 +0900 (JST)
Newsgroups org.kernel.vger.stgt
Message-ID <[email protected]>
On Thu,  2 Jun 2016 15:17:11 +0800
Feng Li <[email protected]> wrote:

> From: Feng Li <[email protected]>
> 
> When I read this code, I found it's hard to understand about these macros.
> I hardly find where are the definitions of some functions.
> Therefore, I expand them to normal functions for convience.
> 
> Signed-off-by: Feng Li <[email protected]>
> ---
>  usr/scsi_cmnd.h | 298 ++++++++++++++++++++++++++++++++------------------------
>  1 file changed, 170 insertions(+), 128 deletions(-)

Sorry, I'm not inclined to apply this.

I agree that it's hard to understand these macros however it has been
working. Also it's unlikely that we would need to change them
frequently. So I want to avoid change the working code just for
readability.