Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp377998pxb; Thu, 9 Sep 2021 03:04:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSaRUlbJYJuh/W1SLg9yUlWYdvKgq+2RX/yB6Wia2q90sT0hY5N/c+fVid0mPFfmotrywz X-Received: by 2002:a02:c056:: with SMTP id u22mr2076667jam.142.1631181858284; Thu, 09 Sep 2021 03:04:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631181858; cv=none; d=google.com; s=arc-20160816; b=fpVoBrAo9hVN64x6RXzuXv7x50D1lbYozIGnTtkZV4FOAf+fDfSERrpOE6rYwWHcIJ Zzl2ftqtpdJPi3gORIhHmAo+h5DkPOlCyYkZT355ngyXh8sY1NJpKCfuwuThDqgDfY60 7w/Uq//UB7I+DJGxTJ8Wq2iEkBvabIuCZQLX8xleKVbQv4ZifFxN7+b2DlEfh0o/LNBT klMMrj6XBLmnAh8ttHPY5RnqlDJsVqm7GPSG5KOkB1g83IpQZFWeW3Si4cFtd+OMlE90 ZGuoHnHjID/MKA739CPoc30bHHgDrMhk8KgHvjNWHcU/JNa5UyOfrICCV5DlgCa7ePZN oW0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=vYxC7UQcq54pyVJRQTZGfec1daJvGV2uv1XYLwDBV9M=; b=TBTgBrPjfONX/CXE6Byhv/LOcAsIhgWKkzN7G9+xLy3r+l2cTp/JXtk00E7CrwZO7d 5sAPlh1ePbw07/UyYrAIL5BonqSWWdl5PhBjmOB9dJwn9bm1q6XKuLvrDjhvzCPPnG0y OC2I5Q62rprr9UI5cMdXCetPYsgfkdEOgmLQRJ1FL83n57YkifRmWvBE0YW1t/uKAmWn N5vuKchQV1sdx1E9gZlzftGe1tMtiPYE6v0C/MY1N8Ce1G28rZLCli+/mbMRJUc43e2W mNPVnuDpecY7px1W0hhmtER6PoG7RtiVaTr9yjyPevEhPbAljjB6R857A4u4jXvOB64I ISmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=GaBNtYTx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n3si1372355ioh.98.2021.09.09.03.03.51; Thu, 09 Sep 2021 03:04:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=GaBNtYTx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232995AbhIIKDF (ORCPT + 99 others); Thu, 9 Sep 2021 06:03:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:56748 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229601AbhIIKDD (ORCPT ); Thu, 9 Sep 2021 06:03:03 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D7F3B611AD; Thu, 9 Sep 2021 10:01:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631181714; bh=/1f9r8n9WVDTH6/Q/V695DPtM4Oyh3rAnEy9HTpXCm8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GaBNtYTxaCkbW00RDO9jLMx28TcPJ2arczOBGqvAa6l6vLBjt9nYPnTO8sf8d37j4 SqR3oQan0g82yJ1F90YPW1cK9o2jeW2+sKJ2HgIIXtkYm2NwSY4+Q7qzZs/zJHSpGF 7pdh/UB9TvVYOUn+xTSm5h4nduILlOBa1UXHgI5Q= Date: Thu, 9 Sep 2021 12:01:51 +0200 From: Greg KH To: Larry Finger Cc: phil@philpotter.co.uk, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: r8188eu: Remove conditionals CONFIG_88EU_{AP_MODE,P2P} Message-ID: References: <20210908050109.1279-1-Larry.Finger@lwfinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210908050109.1279-1-Larry.Finger@lwfinger.net> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 08, 2021 at 12:01:09AM -0500, Larry Finger wrote: > These two conditional compile symbols are explicitly defined. > As a result, their included code is always compiled. They could be > converted to Kconfig symbols; however, my experience with this driver > in a GitHub repo is that many users of the device have it built into > a SOC or SBC that they wish to use as an access point. As a result, > CONFIG_88EU_APMODE would need to be selected. Thus it should be built in. > > There have also been many users the wish to establish peer-to-peer > networks with this device. For this reason, I am also proposing that > CONFIG_88EU_P2P be automatically included. > > Signed-off-by: Larry Finger Makes sense. If this really does need to be split up in the future, it can be done better without all of this #ifdef mess in the .c files. thanks, greg k-h