From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 048623090DE for ; Fri, 20 Feb 2026 17:13:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=216.40.44.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771607609; cv=none; b=hvg1mr4OaQxBXqewWeKbGQT9E7BtlEiXVELe8S/LQxL7EdETMHAr0dQVdpRX3s/NDbiw5p7gZ7+JpWlvJ+ZcYjG/SLT+WjxQkdMUlK7GjJ6EaWFkrwjOf4uBmM2gkc27vRndfv/x/b5Fg9TAji9aza5UOlL+OEmCUeqz5bYzjP8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771607609; c=relaxed/simple; bh=gWqooEAKhRQbMiiHZPH8QW5sBYtNoDT9jwLyJPDDvGw=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=eSON7RGK58R2vCaqV04LJAEv+Vx2KNITqfPWjYWLIYV2sCFC4rBVNRm3X4CZ9NFWREbVshiTMC4+EOAEqYgNnNTVhrWYROJvqOKvDGBFT2DiKE4D9BqAiCKX1RBGXQROms/3GtaJ1uMdRZGfhiSO4mzhWR4U9uVf/7DB01oI0wo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=perches.com; spf=pass smtp.mailfrom=perches.com; arc=none smtp.client-ip=216.40.44.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=perches.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=perches.com Received: from omf07.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 4E18EB7284; Fri, 20 Feb 2026 17:13:26 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: joe@perches.com) by omf07.hostedemail.com (Postfix) with ESMTPA id 779402002D; Fri, 20 Feb 2026 17:13:23 +0000 (UTC) Message-ID: <985cf97c90eb50cc6b205939b013fb16420243e1.camel@perches.com> Subject: Re: [PATCH 2/2] checkpatch: Add --conf-dir option From: Joe Perches To: Petr Vorel , linux-kernel@vger.kernel.org Cc: Andy Whitcroft , Dwaipayan Ray , Lukas Bulwahn , Kory Maincent , Tom Rini , Simon Glass , Kuan-Wei Chiu Date: Fri, 20 Feb 2026 09:13:22 -0800 In-Reply-To: <20260202144221.76765-2-pvorel@suse.cz> References: <20260202144221.76765-1-pvorel@suse.cz> <20260202144221.76765-2-pvorel@suse.cz> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.58.3 (3.58.3-1.fc43) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Rspamd-Queue-Id: 779402002D X-Stat-Signature: 9pobgj4jwbtx5ss4rmhgg7hx86ax5zj8 X-Rspamd-Server: rspamout05 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Session-ID: U2FsdGVkX18w5vCp3VSYewBhbP8snuWN9TsSW/miiNM= X-HE-Tag: 1771607603-792253 X-HE-Meta: U2FsdGVkX184l0uCPJ5FI4FcvMQdlO9kUfCb+Qj8Vj7mpEQ3c22l8oZN7OFEORlfztIW5OO3dLrDnAmaCpsLIwy2TD+EaiMtvAqbVnCgPv3Y81JS+bQ3CIidq3C6qHddbkMnzVqJw6LgwMEO0nyIsA5ZhpbIjiYd7vLP6NyARyCNRZQgclIvhY7lHCBmXi8a0mYf5bOGuZz0I2ZUw+BNlAnUl4aKlg4WQWtn+ZLel5XoTiJ83QVVj+hK0yuyJ8OZ7X3UoqNdUq3xIUAGPqbCAqN0Yqy0E78VlfpVcOMxTWV2RHQoj2n9CqMrwhoTikMF On Mon, 2026-02-02 at 15:42 +0100, Petr Vorel wrote: > ``` > This allows to directly use project configuration file for projects > which vendored checkpatch.pl (e.g. LTP or u-boot). >=20 > Options from the configuration file has been read before processing > command line options with Getopt::Long since the start (000d1cc1829f9) > because options read from config file needs to be unshifted from command > line arguments (@ARGV) before processing with Getopt::Long. Therefore > parse --conf-dir with direct reading @ARGV. nack. Extend 'sub which_conf {' and the perhaps the code that uses it if you really need this capability. Though I think it's not all that useful.