On Fri, 2009-07-31 at 15:44 +0200, Nicolas Palix wrote: > On Friday 31 July 2009 00:22:23 Joe Perches wrote: > > Here's the appropriate conversion script and script input. > > Also, Nicolas Palix <npalix at diku.dk>, has posted some > > similar spatch generated cleanups that conflict. > > If you want me to post the diffs this script and > > input generates as either a patch series or a single > > largish (~170KB) patch let me know. > > maybe in this case, using a script will be good > to fix spacing at the same time. > > Note that some typedef structs are missed in include/VmbusPacketFormat.h > Maybe we could fix the #ifdef __cplusplus before applying the script. I did not include #ifdef __cplusplus typedefs in file "typedefs". typedef struct _RING_BUFFER {...} __attribute__((packed)) RING_BUFFER did not match the pattern and was not included. nameless typedefs of style "typedef struct {...} foo" did not match the pattern and were not included. All of these can be converted in a separate pass. cheers, Joe