From: Tony Luck Date: Tue, 2 Aug 2011 22:08:30 +0000 (-0700) Subject: efivars: fix warnings when CONFIG_PSTORE=n X-Git-Tag: v3.1-rc1~78^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b728a5c806fb36f9adebf2a862bbd015e074afca;p=pandora-kernel.git 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 Acked-by: Mike Waychison Signed-off-by: Tony Luck --- Reading git-diff-tree failed