On Fri, Sep 16, 2022 at 9:23 AM Bartosz Golaszewski <brgl@xxxxxxxx> wrote: > > Enums work for me - especially if the goal is to differentiate > > logical from physical - there should be a distinct enum for each. > > > > We won't even have to change the function signatures if we go with > enums - they already take an int and I'm in general against putting > enum types into function signatures in C as they give you a false > sense of a strong type. We are adding Rust to the kernel soon ;) then it's good for documentation of what it is actually expected to be. But I get your point. Yours, Linus Walleij