[PATCH generating script] staging/hv: typedef union and typedef unnamed union style cleanups

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

 



On Fri, 2009-07-31 at 15:09 -0700, Joe Perches wrote:
> Along a similar vein...
> 
> Here's a script and input file that converts
> unnamed typedefs to the common kernel standard
> struct uses.
> 
> from:	typedef struct { bar } foo[, *Pfoo];
> 	foo var;
> to:	struct foo { bar };
> 	struct foo var;
> 
> The order of entries in the input file must
> be the same as the typedef definition order.

Here are scripts to convert the typedef unions as well.
Run cvt_typedef_to_union.bash first.

cheers, Joe

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cvt_typedef_to_union.bash
Type: application/x-shellscript
Size: 883 bytes
Desc: not available
URL: <http://driverdev.linuxdriverproject.org/pipermail/devel/attachments/20090731/0fa6abc4/attachment.bin>
-------------- next part --------------
RNDIS_MESSAGE_CONTAINER:rndis_message_container
NVSP_MESSAGE_INIT_UBER:nvsp_message_init_uber
NVSP_ALL_MESSAGES:nvsp_all_messages
HV_CONNECTION_ID:hv_connection_id
HV_PORT_ID:hv_port_id
HV_MESSAGE_FLAGS:hv_message_flags
HV_SYNIC_EVENT_FLAGS:hv_synic_event_flags
HV_SYNIC_SCONTROL:hv_synic_scontrol
HV_SYNIC_SINT:hv_synic_sint
HV_SYNIC_SIMP:hv_synic_simp
HV_SYNIC_SIEFP:hv_synic_siefp
HV_MONITOR_TRIGGER_GROUP:hv_monitor_trigger_group
HV_MONITOR_TRIGGER_STATE:hv_monitor_trigger_state
HV_X64_MSR_GUEST_OS_ID_CONTENTS:hv_x64_msr_guest_os_id_contents
HV_X64_MSR_HYPERCALL_CONTENTS:hv_x64_msr_hypercall_contents
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cvt_nameless_typedef_to_union.bash
Type: application/x-shellscript
Size: 883 bytes
Desc: not available
URL: <http://driverdev.linuxdriverproject.org/pipermail/devel/attachments/20090731/0fa6abc4/attachment-0001.bin>
-------------- next part --------------
VMBUS_CHANNEL_MESSAGE_RESPONSE
VMPACKET_LARGEST_POSSIBLE_HEADER


[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