2006-10-16 13:02:36

by Vegard Nossum

[permalink] [raw]
Subject: [PATCH] IDE: typedef struct clean-up

From: Vegard Nossum <[email protected]>

Replaces typedefs with struct-constructs for large parts of the IDE API
and drivers. No semantic changes. Rationale: CodingStyle, chapter 5.

Signed-off-by: Vegard Nossum <[email protected]>
---

Applies to Linus's 2.6 tree.

I figured that this kind of easy/routine job would make for a gentle
introduction to kernel programming. However, what is the general opinion
of this kind of work, should it be done or not? (I realize that I may be
challenging some established habits with these changes.)

Also, what are the rules for enum and function-pointer typedefs?
CodingStyle does not discuss these cases.

Complete patch is 376K and follows as a link. This violates point 6 of
SubmittingPatches (no links), but is justified by point 7 (e-mail size).

http://peltkore.net/~vegard/linux-2.6-ide-typedef-vegard.patch


Regards from Vegard's