This seems to ignore the ability to exit from void return functions via a 
`return;` in case of an error or similar. Any attempt to bail out generates 
warnings with checkpathch.pl Perhaps it should check for returns only at the 
end of the function ? If not, is there a suggested way to do this ? goto labels 
can't be directly used in place either

-Anish Bhatt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to