Re: [PATCH][2.6.12-rc2] __attribute__ placement

2005-04-20 Thread Vinay K Nallamothu
68328_uart; = > On Mon, 2005-04-18 at 20:46 +0530, Vinay K Nallamothu wrote: > > Hi, > > > > The variable attributes "packed" and "align" when used with struct, > > should have the following ord

Re: [PATCH][2.4.30] __attribute__ placement

2005-04-20 Thread Vinay K Nallamothu
)); +} __attribute__ ((packed)) arp_cmd_t; == On Mon, 2005-04-18 at 20:37 +0530, Vinay K Nallamothu wrote: > Hi, > > The variable attributes "packed" and "align" when used with structure >

[PATCH][2.6.12-rc2] __attribute__ placement

2005-04-18 Thread Vinay K Nallamothu
Hi, The variable attributes "packed" and "align" when used with struct, should have the following order: struct ... {...} __attribute__((packed)) var; This patch fixes few instances where the variable and attributes are placed the other way around and had no affect. Thanks Vinay asm-m68knomm

[PATHC][2.4.30] __attribute__ placement

2005-04-18 Thread Vinay K Nallamothu
Hi, The variable attributes "packed" and "align" when used with structure should have the following order: struct ... {...} __attribute__((packed)) var; This patch fixes few instances where the variable and attributes are placed the other way around and had no affect. Thanks Vinay arch/ppc/m

[PATCH][2.2.27-rc2] memset usage fix

2005-03-31 Thread Vinay K Nallamothu
Hi Marc, Using Dave Jones memset script to detect swapped arguments, I found two such instances. Patch attached. Thanks Vinay nubus/nubus.c |2 +- usb/dabusb.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) =