Re: [GIT PATCH] HID and USB HID update for 2.6.21-rc2
- From: Jiri Kosina <jkosina@xxxxxxx>
- Date: Wed, 28 Feb 2007 19:29:53 +0100 (CET)
On Wed, 28 Feb 2007, Linus Torvalds wrote:
But OK, I will leave it in there.No. You need to realize just WHY it was wrong. Not just an "But OK".
Yep, I totally agree that with the usbhid.h thing I really had a bad day,
it was braindamage without excuse, sorry.
I still think that creating a separate header file solely for purpose of
having the large hid blacklist and all related defines separate from the
actual implementation is needed. The pages and pages of blacklist just
pollute the hid-core.c needlessly.
Of course hid-core.c must be the only user of this header. But seems like
this solution oposes your taste ("The point of a header file is to
*declare* things, not to have big data structures in"), so I would
probably not go this way.
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/
- Follow-Ups:
- Re: [GIT PATCH] HID and USB HID update for 2.6.21-rc2
- From: Linus Torvalds
- Re: [GIT PATCH] HID and USB HID update for 2.6.21-rc2
- References:
- [GIT PATCH] HID and USB HID update for 2.6.21-rc2
- From: Jiri Kosina
- Re: [GIT PATCH] HID and USB HID update for 2.6.21-rc2
- From: Linus Torvalds
- Re: [GIT PATCH] HID and USB HID update for 2.6.21-rc2
- From: Jiri Kosina
- Re: [GIT PATCH] HID and USB HID update for 2.6.21-rc2
- From: Linus Torvalds
- Re: [GIT PATCH] HID and USB HID update for 2.6.21-rc2
- From: Jiri Kosina
- Re: [GIT PATCH] HID and USB HID update for 2.6.21-rc2
- From: Linus Torvalds
- [GIT PATCH] HID and USB HID update for 2.6.21-rc2
- Prev by Date: Re: [patch 00/13] Syslets, "Threadlets", generic AIO support, v3
- Next by Date: Re: [GIT PATCH] HID and USB HID update for 2.6.21-rc2
- Previous by thread: Re: [GIT PATCH] HID and USB HID update for 2.6.21-rc2
- Next by thread: Re: [GIT PATCH] HID and USB HID update for 2.6.21-rc2
- Index(es):
Relevant Pages
- Re: organising classes c++
... > member functions that you want inline need to be in the header file - ...
> within the class definition itself or with the 'inline' keyword outside ... > What
do you mesan by associations? ... separate header file to be visible to the outside
world, ... (alt.comp.lang.learn.c-cpp) - Re: [GIT PATCH] HID and USB HID update for 2.6.21-rc2
... On Wed, 28 Feb 2007, Jiri Kosina wrote: ... I still think that creating a separate
header file solely for purpose of ... BUT IT IS NOT A HEADER FILE! ...
(Linux-Kernel) - Re: [GIT PATCH] HID and USB HID update for 2.6.21-rc2
... On Wed, 28 Feb 2007, Linus Torvalds wrote: ... Or even just twice. ...
header file is to *declare* things, not to have big data structures in. ... (Linux-Kernel) - Re: Direct3D9 and DirectShow and SampleGrabber
... > I just copied all the stuff from QEdit regarding the ISampleGrabber, ...
Then you need to examine header file ... (microsoft.public.win32.programmer.directx.video) - Re: C++ Code in header files
... Are there any changes in Whidbey? ... ha scritto nel messaggio news:%23ckw9GOnEHA.3988@TK2MSFTNGP10.phx.gbl...
... > does not use a separate header file. ... (microsoft.public.dotnet.languages.vc)