All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Charles Clément" <caratorn@gmail.com>
To: kernel-janitors@vger.kernel.org
Subject: Re: [KJ] [PATCH] wireless: gcc attribute short form for hermes
Date: Thu, 22 Mar 2007 08:43:58 +0000	[thread overview]
Message-ID: <20070322084358.GA5495@tux> (raw)

Hello,

I sent this first mail to the list, but had no feedback. Should I
contact anyone directly?

On Tue, Mar 20, 2007 at 03:14:58PM +0100, Charles Clément wrote:
> Hello kernel-janitors,
> 
> Changed calls in hermes driver to use the short defined gcc attribute macro.
> Signed-off-by: Charles Clément <caratorn@gmail.com>
> 
> ---
> 
> I would be glad to be assigned that task on the TODO list, if someone is
> not currently working on it.
> Thanks.
> 
> 
> Index: linux-2.6.21-rc4/drivers/net/wireless/hermes.h
> =================================> --- linux-2.6.21-rc4.orig/drivers/net/wireless/hermes.h
> +++ linux-2.6.21-rc4/drivers/net/wireless/hermes.h
> @@ -198,7 +198,7 @@ struct hermes_tx_descriptor {
>  	u8 retry_count;
>  	u8 tx_rate;
>  	__le16 tx_control;	
> -} __attribute__ ((packed));
> +} __packed;
>  
>  #define HERMES_TXSTAT_RETRYERR		(0x0001)
>  #define HERMES_TXSTAT_AGEDERR		(0x0002)
> @@ -245,7 +245,7 @@ struct hermes_tallies_frame {
>  	/* Those last are probably not available in very old firmwares */
>  	__le16 RxDiscards_WEPICVError;
>  	__le16 RxDiscards_WEPExcluded;
> -} __attribute__ ((packed));
> +} __packed;
>  
>  /* Grabbed from wlan-ng - Thanks Mark... - Jean II
>   * This is the result of a scan inquiry command */
> @@ -262,7 +262,7 @@ struct prism2_scan_apinfo {
>  	u8 rates[10];		/* Bit rate supported */
>  	__le16 proberesp_rate;	/* Data rate of the response frame */
>  	__le16 atim;		/* ATIM window time, Kus (hostscan only) */
> -} __attribute__ ((packed));
> +} __packed;
>  
>  /* Same stuff for the Lucent/Agere card.
>   * Thanks to h1kari <h1kari AT dachb0den.com> - Jean II */
> @@ -276,7 +276,7 @@ struct agere_scan_apinfo {
>  	/* bits: 0-ess, 1-ibss, 4-privacy [wep] */
>  	__le16 essid_len;	/* ESSID length */
>  	u8 essid[32];		/* ESSID of the network */
> -} __attribute__ ((packed));
> +} __packed;
>  
>  /* Moustafa: Scan structure for Symbol cards */
>  struct symbol_scan_apinfo {
> @@ -294,7 +294,7 @@ struct symbol_scan_apinfo {
>  	__le16 basic_rates;	/* Basic rates bitmask */
>  	u8 unknown2[6];		/* Always FF:FF:FF:FF:00:00 */
>  	u8 unknown3[8];		/* Always 0, appeared in f/w 3.91-68 */
> -} __attribute__ ((packed));
> +} __packed;
>  
>  union hermes_scan_info {
>  	struct agere_scan_apinfo	a;
> @@ -312,7 +312,7 @@ union hermes_scan_info {
>    
>  struct hermes_linkstatus {
>  	__le16 linkstatus;         /* Link status */
> -} __attribute__ ((packed));
> +} __packed;
>  
>  struct hermes_response {
>  	u16 status, resp0, resp1, resp2;
> @@ -322,11 +322,11 @@ struct hermes_response {
>  struct hermes_idstring {
>  	__le16 len;
>  	__le16 val[16];
> -} __attribute__ ((packed));
> +} __packed;
>  
>  struct hermes_multicast {
>  	u8 addr[HERMES_MAX_MULTICAST][ETH_ALEN];
> -} __attribute__ ((packed));
> +} __packed;
>  
>  /* Timeouts */
>  #define HERMES_BAP_BUSY_TIMEOUT (10000) /* In iterations of ~1us */
> _______________________________________________
> Kernel-janitors mailing list
> Kernel-janitors@lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors

-- 
Charles Clément.
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors

             reply	other threads:[~2007-03-22  8:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-22  8:43 Charles Clément [this message]
2007-03-22 12:46 ` [KJ] [PATCH] wireless: gcc attribute short form for hermes John W. Linville
2007-03-22 12:59 ` Alexey Dobriyan
2007-03-22 19:26 ` Charles Clément
  -- strict thread matches above, loose matches on Subject: below --
2007-03-20 14:14 Charles Clément

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070322084358.GA5495@tux \
    --to=caratorn@gmail.com \
    --cc=kernel-janitors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.