On Thu, Jan 25, 2018 at 06:12:54PM -0800, Randy Dunlap wrote: > From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> > > When handling "-Wsparse-all" in handle_onoff_switch(), once all > warning flags have been set, the function can return instead of > checking for "no-" or other option names because they won't be > found. Just return NULL, which is what happens when handling > "-Wsparse-all" anyway. > > Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> Acked-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html