summaryrefslogtreecommitdiffstats
path: root/arch/mn10300
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2011-08-03 00:08:30 +0200
committerTony Luck <tony.luck@intel.com>2011-08-03 00:08:30 +0200
commitb728a5c806fb36f9adebf2a862bbd015e074afca (patch)
tree73de9c81a3265d3977431dee9feb29b037b99a99 /arch/mn10300
parentefivars: Introduce PSTORE_EFI_ATTRIBUTES (diff)
downloadlinux-b728a5c806fb36f9adebf2a862bbd015e074afca.tar.xz
linux-b728a5c806fb36f9adebf2a862bbd015e074afca.zip
efivars: fix warnings when CONFIG_PSTORE=n
drivers/firmware/efivars.c:161: warning: ‘utf16_strlen’ defined but not used utf16_strlen() is only used inside CONFIG_PSTORE - make this "static inline" to shut the compiler up [thanks to hpa for the suggestion]. drivers/firmware/efivars.c:602: warning: initialization from incompatible pointer type Between v1 and v2 of this patch series we decided to make the "part" number unsigned - but missed fixing the stub version of efi_pstore_write() Acked-by: Matthew Garrett <mjg@redhat.com> Acked-by: Mike Waychison <mikew@google.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/mn10300')
0 files changed, 0 insertions, 0 deletions