Return-path: Received: from 80-190-117-144.ip-home.de ([80.190.117.144]:48105 "EHLO bu3sch.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753088Ab1DEUZS (ORCPT ); Tue, 5 Apr 2011 16:25:18 -0400 Subject: Re: [RFC][PATCH] bcmai: introduce AI driver From: Michael =?ISO-8859-1?Q?B=FCsch?= To: =?UTF-8?Q?Rafa=C5=82_Mi=C5=82ecki?= Cc: Joe Perches , linux-wireless@vger.kernel.org, "John W. Linville" , Arend van Spriel , Larry Finger , George Kashperko , b43-dev@lists.infradead.org In-Reply-To: (sfid-20110405_221605_148029_FFFFFFFFFD5E0FFF) References: <1302033463-1846-1-git-send-email-zajec5@gmail.com> <1302032137.3969.10.camel@Joe-Laptop> (sfid-20110405_221605_148029_FFFFFFFFFD5E0FFF) Content-Type: text/plain; charset="UTF-8" Date: Tue, 05 Apr 2011 22:25:06 +0200 Message-ID: <1302035106.1923.7.camel@maggie> Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Tue, 2011-04-05 at 22:15 +0200, Rafał Miłecki wrote: > Some more reviews, please? Should I drop that prefix, is Joe right? Yes. > >> diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h > > [] > >> +/* AI core, see drivers/bcmai/ */ > >> +struct bcmai_device_id { > >> + __u16 manuf; > >> + __u16 id; > >> + __u8 rev; > >> +}; > > > > Do some of these structs need __packed declarations? > > I was reading about __packed long time ago and it was a little tricky > for me. However I don't see anything in mod_devicetable.h using that > __packed. Why should we? I don't think packed is needed here. Just note that this struct is ABI. So it's written in stone if merged. -- Greetings Michael.