Hi Hans, On Fri, Jan 11, 2019 at 09:31:25AM +0100, Hans Verkuil wrote: > Three fixes for a bug introduced in 5.0. > > The last patch (Validate num_planes for debug messages) is also backported > to kernels >= 4.12 (the oldest kernel for which it applies cleanly). The surrounding lines of code have changed slightly over the years. The older kernels still suffer from the same problem as far as I see, so the backport is relevant down to 3.16 at least (but older kernels aren't supported anyway so I didn't check further). The problem was likely introduced by the big IOCTL handling patches long, long time ago. Huh. -- Regards, Sakari Ailus sakari.ailus@xxxxxxxxxxxxxxx