Re: [PATCH] hid: hid bus prototype 20070416

From: Jiri Kosina
Date: Mon Apr 16 2007 - 09:15:45 EST


On Mon, 16 Apr 2007, Li Yu wrote:

HID bus prototype 20070416

Hi Li,

thanks for taking care. Well, the patch is quite huge, do you think you could split it into separate independent parts (use quilt or something similar for patch management) which could be reviewed independently?

As the code changes are often quite non-trivial, layering is changed, lots of files are touched, etc. it would help a lot.

Notes from a quick skim through the patch:

- it seems that you accidentaly deleted the newly added quirk for
mightymouse in the bluetooth hid code?
- what is the point behind HID_QUIRK_SKIP? Why doesn't HID_QUIRK_IGNORE
suffice? And why is it defined in so strange way:

@@ -270,6 +271,7 @@ struct hid_item {
#define HID_QUIRK_LOGITECH_DESCRIPTOR 0x00100000
#define HID_QUIRK_DUPLICATE_USAGES 0x00200000
#define HID_QUIRK_RESET_LEDS 0x00400000
+#define HID_QUIRK_SKIP 0x80000000

- there are bunches of some easy codingstyle issues (spaces around '=',
etc)

But doing really thorough review is quite hard, as the patch contains lots of unrelated changes. I'll look at it a little bit more, but when you send a broken-out version with separate changes, that'd be great.

Thanks,

--
Jiri Kosina
-
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/