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

From: Vincenzo Frascino
Date: Wed Oct 06 2021 - 10:22:26 EST




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