lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4F640880.30809@xenotime.net>
Date:	Fri, 16 Mar 2012 20:44:00 -0700
From:	Randy Dunlap <rdunlap@...otime.net>
To:	linux-kernel@...r.kernel.org
CC:	akpm@...ux-foundation.org, mm-commits@...r.kernel.org,
	corentincj@...aif.net, mjg@...hat.com, rientjes@...gle.com
Subject: Re: + drivers-platform-x86-samsung-laptopc-fix-build.patch added
 to -mm tree

On 03/16/2012 08:41 PM, Randy Dunlap wrote:

> On 03/16/2012 03:53 PM, akpm@...ux-foundation.org wrote:
> 
>> The patch titled
>>      Subject: drivers/platform/x86/samsung-laptop.c: fix build
>> has been added to the -mm tree.  Its filename is
>>      drivers-platform-x86-samsung-laptopc-fix-build.patch
>>
> 
> 
> See https://lkml.org/lkml/2012/3/14/25
> and https://lkml.org/lkml/2012/3/14/27
> from David Reintjes.


Make that David Rientjes...


> 
> 
>>
>> ------------------------------------------------------
>> From: Andrew Morton <akpm@...ux-foundation.org>
>> Subject: drivers/platform/x86/samsung-laptop.c: fix build
>>
>> gcc-4.4.4:
>>
>> drivers/platform/x86/samsung-laptop.c: In function 'sabi_set_commandb':
>> drivers/platform/x86/samsung-laptop.c:433: error: unknown field 'd0' specified in initializer
>> drivers/platform/x86/samsung-laptop.c:433: warning: missing braces around initializer
>> drivers/platform/x86/samsung-laptop.c:433: warning: (near initialization for 'in.<anonymous>')
>> drivers/platform/x86/samsung-laptop.c:433: error: unknown field 'd1' specified in initializer
>> drivers/platform/x86/samsung-laptop.c:433: warning: excess elements in struct initializer
>> drivers/platform/x86/samsung-laptop.c:433: warning: (near initialization for 'in')
>> drivers/platform/x86/samsung-laptop.c:433: error: unknown field 'd2' specified in initializer
>> drivers/platform/x86/samsung-laptop.c:433: warning: excess elements in struct initializer
>> drivers/platform/x86/samsung-laptop.c:433: warning: (near initialization for 'in')
>> drivers/platform/x86/samsung-laptop.c:433: error: unknown field 'd3' specified in initializer
>> drivers/platform/x86/samsung-laptop.c:433: warning: excess elements in struct initializer
>> drivers/platform/x86/samsung-laptop.c:433: warning: (near initialization for 'in')
>> drivers/platform/x86/samsung-laptop.c: At top level:
>> drivers/platform/x86/samsung-laptop.c:1108: warning: initialization from incompatible pointer type
>>
>> Cc: Corentin Chary <corentincj@...aif.net>
>> Cc: Matthew Garrett <mjg@...hat.com>
>> Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
>> ---
>>
>>  drivers/platform/x86/samsung-laptop.c |    2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff -puN drivers/platform/x86/samsung-laptop.c~drivers-platform-x86-samsung-laptopc-fix-build drivers/platform/x86/samsung-laptop.c
>> --- a/drivers/platform/x86/samsung-laptop.c~drivers-platform-x86-samsung-laptopc-fix-build
>> +++ a/drivers/platform/x86/samsung-laptop.c
>> @@ -430,7 +430,7 @@ exit:
>>  static int sabi_set_commandb(struct samsung_laptop *samsung,
>>  			     u16 command, u8 data)
>>  {
>> -	struct sabi_data in = { .d0 = 0, .d1 = 0, .d2 = 0, .d3 = 0 };
>> +	struct sabi_data in = { { { .d0 = 0, .d1 = 0, .d2 = 0, .d3 = 0 } } };
>>  
>>  	in.data[0] = data;
>>  	return sabi_command(samsung, command, &in, NULL);
>> _
>> Subject: Subject: drivers/platform/x86/samsung-laptop.c: fix build
> 
> 
> 



-- 
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ