Re: [PATCH 0/8] staging: rtl8192e: Remove typedef statements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/17/2011 11:50 AM, Joe Perches wrote:
On Sat, 2011-07-16 at 22:10 -0500, Larry Finger wrote:
This set of patches removes all typedefs from the driver for RTL8192E.

As these lines touch declarations and uses of these
typedefs, I think it'd be better to rename them
at the same time.

for instance these patches converted:

typedef struct _CHANNEL_LIST ->  struct CHANNEL_LIST

I think the conversion should be to:

typedef struct _CHANNEL_LIST ->  struct channel_list

A script that can perform these conversions:
https://lkml.org/lkml/2009/8/14/19

Nicolas Palix also used coccinelle and python
to convert typedefs:
http://www.gossamer-threads.com/lists/linux/kernel/1116060

I'll rework the patches to get rid ot the caps in struct and union names.

Thanks for the links to the tools.

Larry
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux