Re: [PATCH] blockdev: convert some macros to static inlines

From: Jens Axboe
Date: Thu Jan 12 2012 - 03:16:21 EST


On 01/12/2012 05:07 AM, Martin K. Petersen wrote:
>>>>>> "sfr" == Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> writes:
>
> sfr> We prefer to program in C rather than preprocessor and it fixes
> sfr> this warning when CONFIG_BLK_DEV_INTEGRITY is not set:
>
> I have the patch below in my for-block queue but don't care much either
> way. Jens, which one do you prefer?

I'll take Stephens if you don't mind, I prefer the simplicity of just
typing out the functions.

--
Jens Axboe

--
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/