Files
linux/drivers
Tony Luck ca14f0481b efivars: fix warnings when CONFIG_PSTORE=n
commit b728a5c806 upstream.

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>
[took the static part of the patch, not the pstore part, for 3.0-stable,
to fix the compiler warning we had - gregkh]
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-07 08:56:38 -07:00
..
2011-05-26 17:12:32 -07:00
2012-02-13 11:06:13 -08:00
2012-01-25 17:24:54 -08:00
2012-01-25 17:24:56 -08:00
2011-05-06 09:27:55 -07:00
2012-04-13 08:14:05 -07:00
2011-06-14 15:15:25 +09:00
2012-01-06 14:13:48 -08:00
2012-04-27 09:51:06 -07:00
2011-05-30 11:14:15 +09:30
2011-11-21 14:31:14 -08:00