Hi Greg, > > If you write it like this: > > > > return !ret ? ret : -ETIMEDOUT; > > > > checkpatch shouldn't complain. > > No, but I will. > > That's horrid code, please be specific and readable, no one should ever > use ?: syntax except within function parameters.
why then don't we define it in the coding style, otherwise it's just a matter of taste. Thanks, Andi _______________________________________________ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel