On 14/01/2021 15:37, Juergen Gross wrote: > Refuse a call of xenevtchn_open() with unsupported bits in flags being > set. > > Suggested-by: Andrew Cooper <andrew.coop...@citrix.com> > Signed-off-by: Juergen Gross <jgr...@suse.com>
Reviewed-by: Andrew Cooper <andrew.coop...@citrix.com> Possibly worth stating that this potentially going to cause problems for callers who were already passing junk into the flags field, but this is far cleaner than the fallout of slowly changing the meaning of said junk slowly as we add new parameters. ~Andrew