lkml.org 
[lkml]   [2011]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] efivars: fix warnings when CONFIG_PSTORE=n
On Tue, Aug 2, 2011 at 2:03 PM, Matthew Garrett <mjg59@srcf.ucam.org> wrote:
> On Tue, Aug 02, 2011 at 01:57:06PM -0700, Luck, Tony wrote:
>> drivers/firmware/efivars.c:161: warning: ‘utf16_strlen’ defined but not used
>> utf16_strlen() is only used inside CONFIG_PSTORE - put same #ifdef around the
>> definition of the function too.
>>
>> 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()
>>
>> Signed-off-by: Tony Luck <tony.luck@intel.com>
>
> Acked-by: Matthew Garrett <mjg@redhat.com>

Acked-by: Mike Waychison <mikew@google.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2011-08-03 00:05    [W:0.147 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site