[PATCH] staging: unisys: use common return path

Dan Carpenter dan.carpenter at oracle.com
Wed Dec 2 06:20:48 UTC 2015


On Wed, Dec 02, 2015 at 10:32:49AM +0530, Sudip Mukherjee wrote:
> By "common exit path" do you mean mixing up of success and error paths?


Normally it's just the error paths which are mixed together.  Back in
the day, this unisys driver had tons of error handling bugs so that I
didn't even bother reporting them all.

http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2015-May/068932.html
http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2015-May/069073.html

regards,
dan carpenter


More information about the devel mailing list