From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: [PATCH net-next] ath10k: wmi: Convert use of 6 to ETH_ALEN Date: Wed, 02 Oct 2013 21:44:38 -0700 Message-ID: <1380775478.19002.139.camel@edumazet-glaptop.roam.corp.google.com> References: <1380679480.2081.24.camel@joe-AO722> <87k3hw469z.fsf@kamboji.qca.qualcomm.com> <1380696054.2081.35.camel@joe-AO722> <1380736969.2081.72.camel@joe-AO722> <1380758954.2081.79.camel@joe-AO722> <1380760114.2081.81.camel@joe-AO722> <1380771110.2081.89.camel@joe-AO722> <1380771551.2081.93.camel@joe-AO722> <1380773924.19002.131.camel@edumazet-glaptop.roam.corp.google.com> <87fvsjynuk.fsf@kamboji.qca.qualcomm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Joe Perches , Julia Lawall , "Luis R. Rodriguez" , netdev , ath10k@lists.infradead.org, "John W. Linville" To: Kalle Valo Return-path: Received: from mail-pd0-f176.google.com ([209.85.192.176]:64197 "EHLO mail-pd0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753728Ab3JCEok (ORCPT ); Thu, 3 Oct 2013 00:44:40 -0400 Received: by mail-pd0-f176.google.com with SMTP id q10so1872624pdj.7 for ; Wed, 02 Oct 2013 21:44:39 -0700 (PDT) In-Reply-To: <87fvsjynuk.fsf@kamboji.qca.qualcomm.com> Sender: netdev-owner@vger.kernel.org List-ID: On Thu, 2013-10-03 at 07:34 +0300, Kalle Valo wrote: > Do you mean '6' or the union? The 6 can replaced with ETH_ALEN AFAICS. > But the union is needed for aligning the packets as firmware expects > them. I mean the 6, of course, since Joe seems to actively track them, as if ETH_ALEN could change eventually, you never know. I am worrying this will take another hundred patches ... Regarding this union, the __packed attributes seem overkill, no ???