Re: [PATCH 1/2] INPUT/HID: add touch support for SiS touch driver
From: Dmitry Torokhov
Date: Fri Jan 16 2015 - 19:04:14 EST
On Fri, Jan 16, 2015 at 5:11 AM, Oliver Neukum <oneukum@xxxxxxx> wrote:
> On Fri, 2015-01-16 at 18:59 +0800, æåè (tammy_tseng) wrote:
>> Hey, Oliver
>>
>> On Mon, Jan 12, 2015 at 7:50 PM, Oliver Neukum <oneukum@xxxxxxx> wrote:
>> On Mon, 2015-01-12 at 18:53 +0800, æåè (tammy_tseng) wrote:
>> > > (Skip the code diff...)
>> >
>> > Again macros for endianness
>> >
>> > And the driver has a great number of conditional compilations are they
>> > really needed? The driver as is has a number of issues and is hard to
>> > review due to the use of "//" for comments and a lot of conditional
>> > compilation and unnecessary variables used for constants. Could you
>> > fix this up and resubmit?
>>
>> Thanks for the reply. I've modified the code (sis_i2c.c/sis_i2c.h/Kconfig/Makefile) to fix them.
>> Please help check them if anything needs to fix.
>
> Hi,
>
> I started from the lower end. I hope you find my comments
> useful. A few general points need to be made before the
> code is ready for review (it is obviously not ready for
> inclusion)
Also:
- it was sent as base64 so it can't be applied using normal tools
- it has DOS line endings
- even after decoding it does not apply
- dtor@dtor-ws:~/kernel/work$ ./scripts/checkpatch.pl --no-signoff
sis-decoded.patch
...
total: 677 errors, 355 warnings, 1479 lines checked
Please make sure your code at least conforms to the kernel coding
style before resubmitting.
Thanks.
--
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/