On Tue, Jun 23, 2026 at 03:34:58PM +0000, Bradley Morgan wrote:
> Some callers handle SYS_INFO_ALL_BT themselves before calling sys_info().
> Add a helper that strips that bit without turning an all_bt only mask into
> a kernel_sys_info fallback.

You also want a getter with check

bool sysinfo_is_all_bt_enabled(...,  *si_mask)

where *si_mask is the result of READ_ONCE() that you keep as implementation
detail inside this helper.

-- 
With Best Regards,
Andy Shevchenko



Reply via email to