From patchwork Sat Aug 10 12:25:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Velikov via B4 Relay X-Patchwork-Id: 13759525 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 A3A3C15821D for ; Sat, 10 Aug 2024 12:25:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723292727; cv=none; b=i5Rnw3sygfXicVr4hu1+tREv9noZUbo0oSoPFS06K5ppsivABWbQNqsaQ/ygoKF7czvqC5HTvvfPUnmWRDzwc4U2hyzAkL7wDnu/zwX1nqm4X1ZtsiLhPrk58AN24FpoBloFzAvK3P+6P35aG2ApIHOA/wYjzGaHJ4EuORN7Kr8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723292727; c=relaxed/simple; bh=jlUDiMNZE7T9SGMxkBYqlp6Ls3ZlAcUecsx7jQktNmc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=SqnMNWTYkpN4y0i/qI3eGG+39ya+dyccC/qZP8PTgkpX1wqIKXohCBtL8TIfm1gCxFlMfrWS6j5dCPkttXDMM+NiURtLblXYJRzkk7cPJ4YtjhpsO2Wes4x3PhtVB4crJqGhjaPH7F6J0yNkIWTYyBVnoUxrmmbdiQ0cakh0mHA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=AEYSWaS/; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="AEYSWaS/" Received: by smtp.kernel.org (Postfix) with ESMTPS id 3BF35C4AF0D; Sat, 10 Aug 2024 12:25:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1723292727; bh=jlUDiMNZE7T9SGMxkBYqlp6Ls3ZlAcUecsx7jQktNmc=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=AEYSWaS/rBSbHLQFmPxUd8bsulXFpggCL/AmtRRFtdGhR6I1G0uHHZqD96ppxKPFk oQOc4ae12J+MWEhZRhnwrkaWme3TsGgE17W8IHsb5cycebqOk0zpwzyIXjmazsup4Q Uc/yoLsaSn/Foao+LC2dYJCaYv14ocY6wVLM/Q1BFrNRm/+xdDPBKywtdZ59W+AeQ/ utCW0Ztjm1MzvjCYdZJ9Gfot6zss+meMssZYpIGRvxz0dWNdQ9KQuXhjr9D7a3Vx9G Tz2u60bWruJdStSW8EvBjgiiMDLFvzHq/hcqfdmDyX3BbrrpDHSWJ8MkSujuhF8a2n /0a8NVRlhnDLg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2C2E2C3DA4A; Sat, 10 Aug 2024 12:25:27 +0000 (UTC) From: Emil Velikov via B4 Relay Date: Sat, 10 Aug 2024 13:25:15 +0100 Subject: [PATCH kmod 1/2] m4: reinstate CC_CHECK_FLAG_APPEND summary Precedence: bulk X-Mailing-List: linux-modules@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240810-b4-spdx-fixup-v1-1-b9c84d637fb3@gmail.com> References: <20240810-b4-spdx-fixup-v1-0-b9c84d637fb3@gmail.com> In-Reply-To: <20240810-b4-spdx-fixup-v1-0-b9c84d637fb3@gmail.com> To: linux-modules@vger.kernel.org Cc: Lucas De Marchi , Emil Velikov X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1723292726; l=1027; i=emil.l.velikov@gmail.com; s=20230301; h=from:subject:message-id; bh=AF5iab6GulDH6KmEHj4ODm9E17GVEFRi9ewJjoqAJxU=; b=Ls03SQmbnebXlYWpWG9+yJ9PaeeS0fQ2iuxdZkWLxtXon5xzBQeH2P3n0VdRbGzrgBvGqLlEW tr3YjJ/YwLsBfzTvOTYSpWeSVTU19XpxkVis9f/AbExN5Zl2tEA+n0Q X-Developer-Key: i=emil.l.velikov@gmail.com; a=ed25519; pk=qeUTVTNyI3rcR2CfNNWsloTihgzmtbZo98GdxwZKCkY= X-Endpoint-Received: by B4 Relay for emil.l.velikov@gmail.com/20230301 with auth_id=35 X-Original-From: Emil Velikov Reply-To: emil.l.velikov@gmail.com From: Emil Velikov Earlier commit was reducing the license boilerplate to SPDX license identifiers and erroneously dropped the function summary section. Cc: Lucas De Marchi Fixes: b5a2cd0 ("Use SPDX header for license") Signed-off-by: Emil Velikov --- m4/attributes.m4 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/m4/attributes.m4 b/m4/attributes.m4 index 69865ee..a22bb58 100644 --- a/m4/attributes.m4 +++ b/m4/attributes.m4 @@ -4,6 +4,11 @@ # Copyright (c) 2006-2008 xine project # Copyright (c) 2012 Lucas De Marchi +# Check if FLAG in ENV-VAR is supported by compiler and append it +# to WHERE-TO-APPEND variable. Note that we invert -Wno-* checks to +# -W* as gcc cannot test for negated warnings. +# CC_CHECK_FLAG_APPEND([WHERE-TO-APPEND], [ENV-VAR], [FLAG]) + AC_DEFUN([CC_CHECK_FLAG_APPEND], [ AC_CACHE_CHECK([if $CC supports flag $3 in envvar $2], AS_TR_SH([cc_cv_$2_$3]), From patchwork Sat Aug 10 12:25:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Velikov via B4 Relay X-Patchwork-Id: 13759523 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 77DE713E02A for ; Sat, 10 Aug 2024 12:25:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723292727; cv=none; b=FEWvi2OzicTZxYt0bsmAVU8YA7I5XDkIdQQUvOnYFe7Bxqc9x93tTocEwuUdL26H0nUA4XA91OELIhsLDGLLnYmMKVwtIIiLc/eXIpYHIBu1RJ7F6iXlmywWJ0KahoqdY5tD80EDWyc6wWtjN6XOI1CNq6l2xaX40n4zixExxRE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723292727; c=relaxed/simple; bh=jKLWG81C9L7T6MeJh+poogsU6/o0mKi42/7OOCmdamY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=DI6SSwPW0aWMI3oNYNrqzgpTVt0a7QWFToFTajS5iie6mdanj8WUeCgLNOpLZkQwi0asVYFyASgMc+Z7Zf3+7HQ7lhookU0QtQpsu+I1JD/I9YrfzWlFaevYzaov6pYQFp+lJANndJxnAJWEwukIk9WvhkqBMkU2J55ItAARHY4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=MACnCDTl; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="MACnCDTl" Received: by smtp.kernel.org (Postfix) with ESMTPS id 4C4CCC4AF0E; Sat, 10 Aug 2024 12:25:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1723292727; bh=jKLWG81C9L7T6MeJh+poogsU6/o0mKi42/7OOCmdamY=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=MACnCDTl0uiGUcysNTY65LycaYGAB8weu/hkt2pnaDq1ZqeqnVkA6vWr8p4Nq2sDX hZ0+ZtUTdKQtuzyRe3rx4m7sMQZyo/431hgk+6l3BI7TfQQld6q6eYeJQzRk2pdh0n U6nco31we9OMKeaozcCxZPZYaVMAbXn8IfM0H5Pd46fck3fzhmYExNPGO1+2+0gtLL 8VTRXf0Pkco/T3aSR6j3qzC6m92mu15uh9cIUZXdNmeLDB/SsYBhPGGPEIGn5gZGOl BHXzDJPLZoLA1p0Gi2/cRvRsvXRpkiPIdDS3s4i45EOO47UZAYANC8wbsk/o0piAh5 IMPWMJiKzfwYg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 377A4C531DC; Sat, 10 Aug 2024 12:25:27 +0000 (UTC) From: Emil Velikov via B4 Relay Date: Sat, 10 Aug 2024 13:25:16 +0100 Subject: [PATCH kmod 2/2] m4: remove verbose license exception clause Precedence: bulk X-Mailing-List: linux-modules@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240810-b4-spdx-fixup-v1-2-b9c84d637fb3@gmail.com> References: <20240810-b4-spdx-fixup-v1-0-b9c84d637fb3@gmail.com> In-Reply-To: <20240810-b4-spdx-fixup-v1-0-b9c84d637fb3@gmail.com> To: linux-modules@vger.kernel.org Cc: Lucas De Marchi , Emil Velikov X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1723292726; l=1516; i=emil.l.velikov@gmail.com; s=20230301; h=from:subject:message-id; bh=4i3lPNK55/Jj+IH1COzPpCNGv9x/md4G29+CkWIv0Os=; b=fGnn/BmKGEG0Ko/XAgBKGXb+V0KzcimIZdE5SzHwbL5FJWcxXjAiKzHtKr243Ryw/2dD35cx4 Qc4uncwgtTSC55hI5nkpgBSe500XCuezBgG7kKzVCZFjZI2YOfjnFgJ X-Developer-Key: i=emil.l.velikov@gmail.com; a=ed25519; pk=qeUTVTNyI3rcR2CfNNWsloTihgzmtbZo98GdxwZKCkY= X-Endpoint-Received: by B4 Relay for emil.l.velikov@gmail.com/20230301 with auth_id=35 X-Original-From: Emil Velikov Reply-To: emil.l.velikov@gmail.com From: Emil Velikov It is already encoded in the SPDX license identifier. Cc: Lucas De Marchi Fixes: b5a2cd0 ("Use SPDX header for license") Signed-off-by: Emil Velikov --- m4/features.m4 | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/m4/features.m4 b/m4/features.m4 index 87ed2fb..6384a05 100644 --- a/m4/features.m4 +++ b/m4/features.m4 @@ -1,19 +1,6 @@ # SPDX-License-Identifier: GPL-2.0-or-later WITH Autoconf-exception-macro # # Copyright (c) 2015 Lucas De Marchi -# -# As a special exception, the respective Autoconf Macro's copyright owner -# gives unlimited permission to copy, distribute and modify the configure -# scripts that are the output of Autoconf when processing the Macro. You -# need not follow the terms of the GNU General Public License when using -# or distributing such scripts, even though portions of the text of the -# Macro appear in them. The GNU General Public License (GPL) does govern -# all other use of the material that constitutes the Autoconf Macro. -# -# This special exception to the GPL applies to versions of the Autoconf -# Macro released by the Autoconf Archive. When you make and distribute a -# modified version of the Autoconf Macro, you may extend this special -# exception to the GPL to apply to your modified version as well. # CC_FEATURE_APPEND([FLAGS], [ENV-TO-CHECK], [FLAG-NAME]) AC_DEFUN([CC_FEATURE_APPEND], [