[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20070718.152914.04054726.davem@davemloft.net>
Date: Wed, 18 Jul 2007 15:29:14 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jbenc@...e.cz
Cc: linville@...driver.com, linux-wireless@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH v2] mac80211: fix GCC warning on 64bit platforms
From: Jiri Benc <jbenc@...e.cz>
Date: Wed, 18 Jul 2007 17:10:44 +0200
> - local->tx_headroom = max(local->hw.extra_tx_headroom,
> - sizeof(struct ieee80211_tx_status_rtap_hdr));
> + local->tx_headroom = max_t(unsigned, local->hw.extra_tx_headroom,
> + sizeof(struct ieee80211_tx_status_rtap_hdr));
Please spell out the complete type, "unsigned int".
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists