Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760878AbYJJRER (ORCPT ); Fri, 10 Oct 2008 13:04:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758159AbYJJRD7 (ORCPT ); Fri, 10 Oct 2008 13:03:59 -0400 Received: from ey-out-2122.google.com ([74.125.78.26]:21376 "EHLO ey-out-2122.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758090AbYJJRD6 (ORCPT ); Fri, 10 Oct 2008 13:03:58 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:user-agent:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding:from; b=DwjJfMNiLeXJe+v62n1YOmjPIN34EO4VvSPHM9waVsEI2+/+i2yXYBXvXkKEitsApz 4jvzH+Z7bRQuetHtI3Pn/MmGDioPCcetKTj1Uh0lnwGNn6fGYejnufoVnFOkITci58Zf XebcEbV1FJmhpHK1ozWvlUBIJ33/G5a5LLRds= Message-ID: <48EF8AF4.1040900@gmail.com> Date: Fri, 10 Oct 2008 18:03:48 +0100 User-Agent: Thunderbird 2.0.0.16 (X11/20080810) MIME-Version: 1.0 To: Andrey Borzenkov CC: Dave , orinoco-devel@lists.sourceforge.net, linux-wireless@vger.kernel.org, Linux Kernel Mailing List Subject: Re: rc9 + orinoco WPA patchset: BUG: scheduling while atomic loading firmware with PCMCIA adapter References: <200810091722.56812.arvidjaar@newmail.ru> <200810092321.55033.arvidjaar@newmail.ru> <48EE89ED.3050309@gmail.com> <200810101141.38929.arvidjaar@newmail.ru> In-Reply-To: <200810101141.38929.arvidjaar@newmail.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit From: Dave Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1159 Lines: 32 Andrey Borzenkov wrote: > On Friday 10 October 2008, Dave wrote: >> Thanks for identifying the problem. The Agere case looks good - a few suggestions for the Symbol case though: > > Updated patch attached > >> >> But you absolutely have to kfree(pda) here. > > Yes, I forgot; sorry. > >> Dan Williams wrote: >>> maybe you should not use priv->pda_size but >>> #define SYMBOL_PDA_SIZE 256 and use that for the hermes_read_pda() >>> length just to ensure the patched code is functionally the same as >>> before the patch. >> Using fw->pda_size should be fine. The value comes from a const static, set to 0x100 for Symbol. >> > > Actually it allocated 512 byte before. Should it probably be set to 0x200? You're right. pda_size is supposed to be the maximum size of the PDA (in bytes) that we expect with the firmware. It should be set to 0x200. I've scanned the rest of the patch and it looks good. Dave. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/