[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7ce260c6-4ee7-95e1-a031-b0767fbe9724@mev.co.uk>
Date: Mon, 5 Sep 2016 14:11:40 +0100
From: Ian Abbott <abbotti@....co.uk>
To: Amit Ghadge <amitg.b14@...il.com>,
Greg KH <gregkh@...uxfoundation.org>
Cc: devel@...verdev.osuosl.org,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/2] Staging: comedi: ni_670x.c: Fix warnings and check.
On 04/09/16 11:15, Amit Ghadge wrote:
> I will be send individual patches.
>
> I was try,
> make M=drivers/staging/comedi/
>
> No issue generated, Is there have any other option to test these changes?
You need to configure the kernel to build the drivers you are changing.
Also, please don't top-post!
>
>
> Amit G
>
> On Sun, Sep 4, 2016 at 2:05 PM, Greg KH <gregkh@...uxfoundation.org> wrote:
>> On Sun, Sep 04, 2016 at 01:41:03AM +0530, Amit Ghadge wrote:
>>> Fixes checkpatch warning:
>>> WARNING: Block comments use * on subsequent lines
>>>
>>> Replace (1<<7) by BIT(7) in the file ni_670x.c to get rid
>>> of checkpatch.pl "CHECK" output "Prefer using the BIT macro".
>>> Replace Avoid CamelCase range_0_20mA to range_0_20ma.
>>
>> That's multiple things in the same patch, and you didn't even test build
>> your change :(
>>
>> Please do better than this in the future.
>>
>> greg k-h
--
-=( Ian Abbott @ MEV Ltd. E-mail: <abbotti@....co.uk> )=-
-=( Web: http://www.mev.co.uk/ )=-
Powered by blists - more mailing lists