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]
Date:	Mon, 14 May 2012 22:03:41 +0530
From:	Laxman Dewangan <ldewangan@...dia.com>
To:	Axel Lin <axel.lin@...il.com>
CC:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Liam Girdwood <lrg@...com>,
	Mark Brown <broonie@...nsource.wolfsonmicro.com>
Subject: Re: [PATCH] regulator: tps62360: Fix build error due to missing semicolon

On Monday 14 May 2012 09:41 PM, Laxman Dewangan wrote:
> On Monday 14 May 2012 09:28 PM, Axel Lin wrote:
>> Fix below build error:
>>     CC [M]  drivers/regulator/tps62360-regulator.o
>> drivers/regulator/tps62360-regulator.c:351:1: error: expected ',' or ';' before 'extern'
>> make[2]: *** [drivers/regulator/tps62360-regulator.o] Error 1
>> make[1]: *** [drivers/regulator] Error 2
>> make: *** [drivers] Error 2
>>
>> Signed-off-by: Axel Lin<axel.lin@...il.com>
>> ---
>>    drivers/regulator/tps62360-regulator.c |    2 +-
>>    1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/drivers/regulator/tps62360-regulator.c b/drivers/regulator/tps62360-regulator.c
>> index 60765cc..82cd763 100644
>> --- a/drivers/regulator/tps62360-regulator.c
>> +++ b/drivers/regulator/tps62360-regulator.c
>> @@ -347,7 +347,7 @@ static const struct of_device_id tps62360_of_match[] = {
>>    	 { .compatible = "ti,tps62362", .data = (void *)TPS62362},
>>    	 { .compatible = "ti,tps62363", .data = (void *)TPS62363},
>>    	{},
>> -}
>> +};
>>    MODULE_DEVICE_TABLE(of, tps62360_of_match);
>>    #endif
>>
> Really strange!! I am not getting this compilation error in my build.
>
> Acked-by: Laxman Dewangan<ldewangan@...dia.com>
>
Got reproduced this error if I compile the driver as module.
Now onwards, I will compile as y and m for any change.
Sorry for inconvenience and thanks for fixing this.


--
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