On Fri, 2024-02-23 at 19:06 +0200, Jarkko Sakkinen wrote: > > +static inline enum tpm2_mso_type tpm2_handle_mso(u32 handle) > > +{ > > + return handle >> 24; > > did we have macro for this (cannot recall)? like oppposite > of BIT(). No, that's why I added this. inline functions are easier to type check than macros. James