Re: [PATCH] fix calls to request_module()

From: Roland Dreier
Date: Thu Dec 11 2008 - 18:25:20 EST


> I wonder if we could add a printk_stfu() which isn't declared
> attribute(printf) and which simply calls printk. We might still get a
> single warning at the interface point.

That would fix the class of warnings like

printk(char_pointer_gcc_doesnt_know_is_safe);

but therre are alsofunctions like device_create() etc etc where someone
could easily and legitimately do the same thing.

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