From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759936Ab0ENUw6 (ORCPT ); Fri, 14 May 2010 16:52:58 -0400 Received: from mail.atheros.com ([12.36.123.2]:28466 "EHLO mail.atheros.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759902Ab0ENUwz (ORCPT ); Fri, 14 May 2010 16:52:55 -0400 Date: Fri, 14 May 2010 13:52:53 -0700 From: "Luis R. Rodriguez" To: "Justin P. Mattock" CC: Luis Rodriguez , Bruno Randolf , "linux-wireless@vger.kernel.org" , Linux Kernel Mailing List Subject: Re: ath9k: BUG kmalloc-8192: Poison overwritten Message-ID: <20100514205253.GC28198@tux> References: <201005141520.30802.br1@einfach.org> <4BECEE3E.6090303@gmail.com> <201005141538.43416.br1@einfach.org> <4BED6F19.3040608@gmail.com> <20100514165325.GA28198@tux> <4BED8765.8040307@gmail.com> <67773379-350A-42D4-BEB5-DAC7D8277615@gmail.com> <20100514201339.GB28198@tux> <4638F7CF-1E00-411F-A086-BA30809E00BD@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <4638F7CF-1E00-411F-A086-BA30809E00BD@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 14, 2010 at 01:21:34PM -0700, Justin P. Mattock wrote: > Eveything is on except ath5k > For debugging. Bleh, try this. diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c index 1ca42e5..3404198 100644 --- a/drivers/net/wireless/ath/ath9k/recv.c +++ b/drivers/net/wireless/ath/ath9k/recv.c @@ -129,7 +129,7 @@ int ath_rx_init(struct ath_softc *sc, int nbufs) common->rx_bufsize = roundup(IEEE80211_MAX_MPDU_LEN, min(common->cachelsz, (u16)64)); - ath_print(common, ATH_DBG_CONFIG, "cachelsz %u rxbufsize %u\n", + printk("ATH9K: cachelsz %u rxbufsize %u\n", common->cachelsz, common->rx_bufsize); /* Initialize rx descriptors */ Not sure why this is not printing, the common debug_mask should already be set here prior to this. Anyway this would force the print I want. Luis