Re: [PATCH] clk_register_clkdev: remove format string interface

2015-09-04 Thread Russell King - ARM Linux
On Thu, Sep 03, 2015 at 01:54:07PM -0700, Kees Cook wrote: > Many callers either use NULL or const strings for the third argument of > clk_register_clkdev. For those that do not and use a non-const string, > this is a risk for format strings being accidentally processed (for > example in device nam

[PATCH] clk_register_clkdev: remove format string interface

2015-09-03 Thread Kees Cook
Many callers either use NULL or const strings for the third argument of clk_register_clkdev. For those that do not and use a non-const string, this is a risk for format strings being accidentally processed (for example in device names). As this interface is already used as if it weren't a format st