Return-path: Received: from senator.holtmann.net ([87.106.208.187]:45534 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752930AbZEZIvv (ORCPT ); Tue, 26 May 2009 04:51:51 -0400 Subject: Re: [PATCH 2/3] iwmc3200wifi: shrink calibration lmac name From: Marcel Holtmann To: Zhu Yi Cc: "linville@tuxdriver.com" , "linux-wireless@vger.kernel.org" , "Ortiz, Samuel" , Kay Sievers In-Reply-To: <1243320454.3623.35.camel@debian> References: <1243307448-17441-1-git-send-email-yi.zhu@intel.com> <1243307448-17441-2-git-send-email-yi.zhu@intel.com> <1243312991.21383.3.camel@localhost.localdomain> <1243317777.3623.19.camel@debian> <1243319583.30938.2.camel@localhost.localdomain> <1243320454.3623.35.camel@debian> Content-Type: text/plain Date: Tue, 26 May 2009 10:51:34 +0200 Message-Id: <1243327894.30938.9.camel@localhost.localdomain> Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi Yi, > > > FIRMWARE_NAME_MAX is defined 30 at this time. > > > > I think we need to fix this. Especially since all the other name > > length limits in the driver model are gone. > > I agree. Should we fix this by simply increasing FIRMWARE_NAME_MAX to > some acceptable length (what should it be? btw) or there are other > better ideas? I think just increasing the length of the static array is bad. Can we just not allocated the needed length for the firmware filename? > Anyway, I think whatever how we change FW_LOADER, this patch should > still go. Because the "lmac" string doesn't make any sense in this file > name due to calibration is only done in LMAC. If you think that the lmac string is pointless anyway, then that is fine. Changing the name, because of a FW_LOADER limitation should not be done of course. Regards Marcel