diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2012-05-02 20:19:43 (GMT) |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-05-03 06:54:54 (GMT) |
commit | 43671cc96e58458b2711f1e97ff24a4c0e7cd1ac (patch) | |
tree | b470fccaad237c362b5fb94b068f1fd985633198 /fs/nfs/dns_resolve.h | |
parent | ca7d593e0ac8cf806aa750815daf12594345f5f6 (diff) | |
download | linux-fsl-qoriq-43671cc96e58458b2711f1e97ff24a4c0e7cd1ac.tar.xz |
powerpc/windfarm: don't pass const strings to snprintf
Fixes these build warnings:
drivers/macintosh/windfarm_smu_sat.c: In function 'wf_sat_probe':
drivers/macintosh/windfarm_smu_sat.c:290:3: warning: passing argument 1 of 'snprintf' discards qualifiers from pointer target type
include/linux/kernel.h:323:5: note: expected 'char *' but argument is of type 'const char *'
drivers/macintosh/windfarm_smu_sat.c:317:3: warning: passing argument 1 of 'snprintf' discards qualifiers from pointer target type
include/linux/kernel.h:323:5: note: expected 'char *' but argument is of type 'const char *'
Introduced by commit e074d08e2b98 ("powerpc/windfarm: const'ify and add
"priv" field to controls & sensors").
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'fs/nfs/dns_resolve.h')
0 files changed, 0 insertions, 0 deletions