On 7/15/22 05:48, Daniil Lunev wrote:
+#define __INTEL_DSM_SUPPORTED(host, fn) \ + ((fn) < 32 && (fn) >= 0 && ((host)->dsm_fns & (1 << (fn))))
Could this macro have been implemented as a function? Should '1 << (fn)' perhaps be changed into '1u << (fn)'? Thanks, Bart.