Re: [PATCH v3 05/10] qla2xxx: Remove __constant_ prefix

2015-08-26 Thread James Bottomley
On Thu, 2015-07-09 at 07:24 -0700, Bart Van Assche wrote: > Whether htonl() or __constant_htonl() is used, if the argument > is a constant the conversion happens at compile time. Hence leave > out the __constant_ prefix for this and other endianness > conversion functions. This improves source code

[PATCH v3 05/10] qla2xxx: Remove __constant_ prefix

2015-07-09 Thread Bart Van Assche
Whether htonl() or __constant_htonl() is used, if the argument is a constant the conversion happens at compile time. Hence leave out the __constant_ prefix for this and other endianness conversion functions. This improves source code readability. Signed-off-by: Bart Van Assche Acked-by: Himanshu