From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zefir Kurtisi Date: Wed, 21 May 2014 15:55:50 +0200 Subject: [ath9k-devel] randconfig build error with next-20140519, in drivers/net/wireless/ath/ath9k/dfs.c In-Reply-To: References: <20140521110143.GA2375@qca.qualcomm.com> Message-ID: <537CB066.1070803@neratec.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Hi, sorry, I posted a related patch today ('[PATCH] ath9k: fix build error with disabled debug'), but seems did not manage to set the correct in-reply-to field. On 05/21/2014 02:12 PM, Julian Calaby wrote: > Hi Rajkumar, > > On Wed, May 21, 2014 at 9:01 PM, Rajkumar Manoharan > wrote: >> On Mon, May 19, 2014 at 09:31:16AM -0700, Jim Davis wrote: >>> Building with the attached random configuration file, >>> >>> In file included from drivers/net/wireless/ath/ath9k/eeprom.h:22:0, >>> from drivers/net/wireless/ath/ath9k/hw.h:27, >>> from drivers/net/wireless/ath/ath9k/dfs.c:18: >>> drivers/net/wireless/ath/ath9k/dfs.c: In function ?ath9k_dfs_process_phyerr?: >>> drivers/net/wireless/ath/ath9k/dfs.c:185:14: error: ?struct ath_softc? >>> has no member named ?debug? >>> pe.ts - sc->debug.stats.dfs_stats.last_ts); >>> ^ >>> drivers/net/wireless/ath/ath9k/../ath.h:273:41: note: in definition of >>> macro ?ath_dbg? >>> ath_printk(KERN_DEBUG, common, fmt, ##__VA_ARGS__); \ >>> ^ >>> drivers/net/wireless/ath/ath9k/dfs.c:186:5: error: ?struct ath_softc? >>> has no member named ?debug? >>> sc->debug.stats.dfs_stats.last_ts = pe.ts; >>> ^ >>> make[5]: *** [drivers/net/wireless/ath/ath9k/dfs.o] Error 1 >> >> Please select CONFIG_ATH9K_DEBUGFS. > > The point of randconfig builds is to ensure that there it's really > unlikely that there are any config combinations that don't build, even > if they're utterly insane. > > You should really change the ath9k Kconfig rules or move or add ifdefs > to prevent this from being possible. > > Thanks, > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zefir Kurtisi Subject: Re: [ath9k-devel] randconfig build error with next-20140519, in drivers/net/wireless/ath/ath9k/dfs.c Date: Wed, 21 May 2014 15:55:50 +0200 Message-ID: <537CB066.1070803@neratec.com> References: <20140521110143.GA2375@qca.qualcomm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: Sender: linux-wireless-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Julian Calaby , Rajkumar Manoharan Cc: Jim Davis , Stephen Rothwell , linux-next , linux-kernel , linville , linux-wireless , ath9k-devel-xDcbHBWguxHbcTqmT+pZeQ@public.gmane.org, netdev List-Id: linux-next.vger.kernel.org Hi, sorry, I posted a related patch today ('[PATCH] ath9k: fix build error = with disabled debug'), but seems did not manage to set the correct in-reply-= to field. On 05/21/2014 02:12 PM, Julian Calaby wrote: > Hi Rajkumar, >=20 > On Wed, May 21, 2014 at 9:01 PM, Rajkumar Manoharan > wrote: >> On Mon, May 19, 2014 at 09:31:16AM -0700, Jim Davis wrote: >>> Building with the attached random configuration file, >>> >>> In file included from drivers/net/wireless/ath/ath9k/eeprom.h:22:0, >>> from drivers/net/wireless/ath/ath9k/hw.h:27, >>> from drivers/net/wireless/ath/ath9k/dfs.c:18: >>> drivers/net/wireless/ath/ath9k/dfs.c: In function =E2=80=98ath9k_df= s_process_phyerr=E2=80=99: >>> drivers/net/wireless/ath/ath9k/dfs.c:185:14: error: =E2=80=98struct= ath_softc=E2=80=99 >>> has no member named =E2=80=98debug=E2=80=99 >>> pe.ts - sc->debug.stats.dfs_stats.last_ts); >>> ^ >>> drivers/net/wireless/ath/ath9k/../ath.h:273:41: note: in definition= of >>> macro =E2=80=98ath_dbg=E2=80=99 >>> ath_printk(KERN_DEBUG, common, fmt, ##__VA_ARGS__); \ >>> ^ >>> drivers/net/wireless/ath/ath9k/dfs.c:186:5: error: =E2=80=98struct = ath_softc=E2=80=99 >>> has no member named =E2=80=98debug=E2=80=99 >>> sc->debug.stats.dfs_stats.last_ts =3D pe.ts; >>> ^ >>> make[5]: *** [drivers/net/wireless/ath/ath9k/dfs.o] Error 1 >> >> Please select CONFIG_ATH9K_DEBUGFS. >=20 > The point of randconfig builds is to ensure that there it's really > unlikely that there are any config combinations that don't build, eve= n > if they're utterly insane. >=20 > You should really change the ath9k Kconfig rules or move or add ifdef= s > to prevent this from being possible. >=20 > Thanks, >=20 -- To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.neratec.com ([46.140.151.2]:11161 "EHLO mail.neratec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751145AbaEUNz6 convert rfc822-to-8bit (ORCPT ); Wed, 21 May 2014 09:55:58 -0400 Message-ID: <537CB066.1070803@neratec.com> (sfid-20140521_155601_688116_B4892EB2) Date: Wed, 21 May 2014 15:55:50 +0200 From: Zefir Kurtisi MIME-Version: 1.0 To: Julian Calaby , Rajkumar Manoharan CC: Jim Davis , Stephen Rothwell , linux-next , linux-kernel , linville , linux-wireless , ath9k-devel@lists.ath9k.org, netdev Subject: Re: [ath9k-devel] randconfig build error with next-20140519, in drivers/net/wireless/ath/ath9k/dfs.c References: <20140521110143.GA2375@qca.qualcomm.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi, sorry, I posted a related patch today ('[PATCH] ath9k: fix build error with disabled debug'), but seems did not manage to set the correct in-reply-to field. On 05/21/2014 02:12 PM, Julian Calaby wrote: > Hi Rajkumar, > > On Wed, May 21, 2014 at 9:01 PM, Rajkumar Manoharan > wrote: >> On Mon, May 19, 2014 at 09:31:16AM -0700, Jim Davis wrote: >>> Building with the attached random configuration file, >>> >>> In file included from drivers/net/wireless/ath/ath9k/eeprom.h:22:0, >>> from drivers/net/wireless/ath/ath9k/hw.h:27, >>> from drivers/net/wireless/ath/ath9k/dfs.c:18: >>> drivers/net/wireless/ath/ath9k/dfs.c: In function ‘ath9k_dfs_process_phyerr’: >>> drivers/net/wireless/ath/ath9k/dfs.c:185:14: error: ‘struct ath_softc’ >>> has no member named ‘debug’ >>> pe.ts - sc->debug.stats.dfs_stats.last_ts); >>> ^ >>> drivers/net/wireless/ath/ath9k/../ath.h:273:41: note: in definition of >>> macro ‘ath_dbg’ >>> ath_printk(KERN_DEBUG, common, fmt, ##__VA_ARGS__); \ >>> ^ >>> drivers/net/wireless/ath/ath9k/dfs.c:186:5: error: ‘struct ath_softc’ >>> has no member named ‘debug’ >>> sc->debug.stats.dfs_stats.last_ts = pe.ts; >>> ^ >>> make[5]: *** [drivers/net/wireless/ath/ath9k/dfs.o] Error 1 >> >> Please select CONFIG_ATH9K_DEBUGFS. > > The point of randconfig builds is to ensure that there it's really > unlikely that there are any config combinations that don't build, even > if they're utterly insane. > > You should really change the ath9k Kconfig rules or move or add ifdefs > to prevent this from being possible. > > Thanks, > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752450AbaEUOEU (ORCPT ); Wed, 21 May 2014 10:04:20 -0400 Received: from mail.neratec.com ([46.140.151.2]:22837 "EHLO mail.neratec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751780AbaEUOES convert rfc822-to-8bit (ORCPT ); Wed, 21 May 2014 10:04:18 -0400 X-Greylist: delayed 500 seconds by postgrey-1.27 at vger.kernel.org; Wed, 21 May 2014 10:04:17 EDT Message-ID: <537CB066.1070803@neratec.com> Date: Wed, 21 May 2014 15:55:50 +0200 From: Zefir Kurtisi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Julian Calaby , Rajkumar Manoharan CC: Jim Davis , Stephen Rothwell , linux-next , linux-kernel , linville , linux-wireless , ath9k-devel@venema.h4ckr.net, netdev Subject: Re: [ath9k-devel] randconfig build error with next-20140519, in drivers/net/wireless/ath/ath9k/dfs.c References: <20140521110143.GA2375@qca.qualcomm.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, sorry, I posted a related patch today ('[PATCH] ath9k: fix build error with disabled debug'), but seems did not manage to set the correct in-reply-to field. On 05/21/2014 02:12 PM, Julian Calaby wrote: > Hi Rajkumar, > > On Wed, May 21, 2014 at 9:01 PM, Rajkumar Manoharan > wrote: >> On Mon, May 19, 2014 at 09:31:16AM -0700, Jim Davis wrote: >>> Building with the attached random configuration file, >>> >>> In file included from drivers/net/wireless/ath/ath9k/eeprom.h:22:0, >>> from drivers/net/wireless/ath/ath9k/hw.h:27, >>> from drivers/net/wireless/ath/ath9k/dfs.c:18: >>> drivers/net/wireless/ath/ath9k/dfs.c: In function ‘ath9k_dfs_process_phyerr’: >>> drivers/net/wireless/ath/ath9k/dfs.c:185:14: error: ‘struct ath_softc’ >>> has no member named ‘debug’ >>> pe.ts - sc->debug.stats.dfs_stats.last_ts); >>> ^ >>> drivers/net/wireless/ath/ath9k/../ath.h:273:41: note: in definition of >>> macro ‘ath_dbg’ >>> ath_printk(KERN_DEBUG, common, fmt, ##__VA_ARGS__); \ >>> ^ >>> drivers/net/wireless/ath/ath9k/dfs.c:186:5: error: ‘struct ath_softc’ >>> has no member named ‘debug’ >>> sc->debug.stats.dfs_stats.last_ts = pe.ts; >>> ^ >>> make[5]: *** [drivers/net/wireless/ath/ath9k/dfs.o] Error 1 >> >> Please select CONFIG_ATH9K_DEBUGFS. > > The point of randconfig builds is to ensure that there it's really > unlikely that there are any config combinations that don't build, even > if they're utterly insane. > > You should really change the ath9k Kconfig rules or move or add ifdefs > to prevent this from being possible. > > Thanks, >