On Thu, Aug 27, 2020 at 02:06:03AM +0000, Saleem, Shiraz wrote: > Which then boils down do we just keep a simpler definition of the > API contract -- driver can just return whatever the true error code > is? No, that was always wrong. In almost every case returning codes from destroy is a driver bug, flat out. It causes kernel leaking memory/worse and unrecoverable userspace failures. Jason