[PATCH v2 5/5] kasan: Extend KASAN mode kernel parameter

Vincenzo Frascino vincenzo.frascino at arm.com
Wed Oct 6 07:22:38 PDT 2021



On 10/6/21 1:35 PM, Marco Elver wrote:
>> +static inline bool kasan_sync_fault_possible(void)
>> +{
>> +	return !kasan_flag_async | kasan_flag_asymm;
>>  }
> Is the choice of bit-wise OR a typo? Because this should probably have
> been logical OR. In this case, functionally it shouldn't matter, but is
> unusual style.

Good catch!

This is clearly a typo and a copy-paste of a typo ;)

-- 
Regards,
Vincenzo



More information about the linux-arm-kernel mailing list