On Thu, Jul 11, 2013 at 07:31:34PM +0100, Damien Lespiau wrote: > Right now code checkers point out that we try to dereference file before > testing it for NULL. > > This check doesn't seem necessary as file needs to be valid for the > ioctl() code to run. This whole function was a copy'n'paste mistake with a rewrite on the mailing list. -Chris -- Chris Wilson, Intel Open Source Technology Centre