[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <fb7d3816-255d-15e7-b9ef-533b1167f73c@linuxvaults.com>
Date: Wed, 4 Jul 2018 22:46:05 +0300
From: Tamir Suliman <tsuliman@...uxvaults.com>
To: Justin Skists <justin.skists@...za.co.uk>, w.d.hubbs@...il.com,
gregkh@...uxfoundation.org, speakup@...ux-speakup.org
Cc: devel@...verdev.osuosl.org, chris@...-brannons.com,
dhowells@...hat.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/3] drivers/speakup: Fix style and coding warnings
Interesting construct... Yeah I'm little bit rusty on my C
/programming . I understand proper coding style may be should end with
else so I wasn't sure .. however this resolved the warnings. :)
Did you compile this?
Yes I did compile however the only issue i found when I'm compiling is
modules symvers missing messages researched online and found couple of
articles that recommended to run full kernel build . Please bear with
me I'm new to this and very excited about learning and contributing.
On 7/3/2018 11:10 AM, Justin Skists wrote:
>> On 03 July 2018 at 08:31 Tamir Suliman <tsuliman@...uxvaults.com> wrote:
>> +++ b/drivers/staging/speakup/keyhelp.c
>> @@ -167,7 +167,7 @@ int spk_handle_help(struct vc_data *vc, u_char type, u_char ch, u_short key)
>> synth_printf("%s\n", spk_msg_get(MSG_HELP_INFO));
>> build_key_data(); /* rebuild each time in case new mapping */
>> return 1;
>> - } else {
>> + } else if {
> Interesting construct...
>
>
>> @@ -787,7 +787,7 @@ static ssize_t message_store_helper(const char *buf, size_t count,
>> continue;
>> }
>>
>> - index = simple_strtoul(cp, &temp, 10);
>> + index = simple_ktrtoul(cp, &temp, 10);
> Did you compile this?
>
>
> Justin.
Powered by blists - more mailing lists