Re: [PATCH] drivers: scsi: scsi_lib.c: add prefix "SCSILIB_" to macro"SP"

From: Chen Gang
Date: Tue Dec 03 2013 - 06:42:25 EST


On 12/03/2013 05:32 AM, rkuo wrote:
> On Mon, Dec 02, 2013 at 06:14:33PM +0800, Chen Gang wrote:
>> If one issue occurs, normally, both sides need improvement.
>>
>> For our issue:
>>
>> - need try to keep uapi no touch ("arch/hexagon/uapi/asm/registers.h").
>>
>> - improving our module is much easier than improving hexagon.
>>
>> - for 'SP', it is really short enough to like a register name.
>> SG_POOL seems more suitable for our 'sgpool' related operations.
>>
>>
>> It will be better to improve hexagon too, but it is not quit easy (maybe
>> have to bear it), it is uapi :-(
>
> I can't speak for SCSI, but that define in Hexagon isn't really used outside
> of that file anyways (the two SP macros themselves). I'm also pretty sure
> the userspace isn't currently using it anyways. Seeing as it's not really
> buying us anything, I'm fine with just removing it and continuing to review
> the other defines. I'll make that change and test it locally.
>

OK, thanks.

>
> Thanks,
> Richard Kuo
>
>


--
Chen Gang
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/