Re: [PATCH] security: Use IS_ENABLED() instead of checking for built-in or module

From: Javier Martinez Canillas
Date: Thu Jul 14 2016 - 12:20:53 EST


Hello Casey,

On 07/14/2016 12:17 PM, Casey Schaufler wrote:
> On 7/14/2016 9:00 AM, Javier Martinez Canillas wrote:
>> The IS_ENABLED() macro checks if a Kconfig symbol has been enabled either
>> built-in or as a module, use that macro instead of open coding the same.
>
> Why?
>

Why not? We have a macro for this so why is better to open coding it?

Best regards,
--
Javier Martinez Canillas
Open Source Group
Samsung Research America