Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1390839lqp; Mon, 15 Apr 2024 05:24:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXfCknOZy2gpZzXuF7+FDuDfmX2pOR7BJcGRiXf3TcqJsPz//4cMK8M6gEPq6+1q0oYriogMjf4Tx0xY/UTfITVsU3ZGcpU71/h75aDqw== X-Google-Smtp-Source: AGHT+IGiE5RYFi6H0pf5brKCtOU0JBiXzP/h20QsbStYPKGV68DhQcgoBZKLSZv/T/lNlRglzYjG X-Received: by 2002:a05:6e02:144f:b0:36a:3a8d:673e with SMTP id p15-20020a056e02144f00b0036a3a8d673emr13965633ilo.0.1713183879656; Mon, 15 Apr 2024 05:24:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713183879; cv=pass; d=google.com; s=arc-20160816; b=NG76DZndaLbB2wRrP+jwUFdRvqZWs33TMV2b6dznmKa+dzE5EEE7zXKr3SBfwLd2w8 +fvpzcP4OP1qbWM5aLspLp6onTexm2WWIASSQ4fvlOOYCzk3OYkS8Gj+a75g6QVeHCMA cbpT9IDYTY/oMUES908QjcEih4VoGvTJQgUk7SGIa33LVDx1CvpREoax0UIxqLL5S+lz ZDd2ElRCl2Yk1htvs7sRuO8DKvlRz5Fpj4lPJzQ9SSFR6okmnFygXCFxOWMkYygTaYav nBpnx9VuSdfkLvuhwQVYF1ji7v0D6/chd1WkAi/sWDFwOArAzu9Wxn64Map3YzTNExRy JegQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=PBQKZh3yQ/8f2EMnoOFcQQs0LgyNUJrXHXYTLeUI/nA=; fh=8mZP3M6PAgp/PjjZstGz5vfdgfC3/JFy0A6tayPaJ0U=; b=kjojz3fVJYah+RDpPWsgOzCn8ZpwG6h+sjSXm++ep6m5ArrnZrP4naOFj510t38u1V 370h9jlpIF8spHy9Rqv3sFgm7jPZwOvz4wZMXaCo41mN5R26aTPBRtGPaVSioeexEJDh riTUqjNys3UMu0DdIxIQ0f/v0DcJwkeOYk4b94Pz6L4m5eghS/xEAAEU2d/FyptX7fVC jR2oECchg4lhLpwi8D0EFjiUi2Zy0rxLKfxS/7xvGDtFPbjWFnbJDNPOyP/Gz5yca7nB KT+5cXhZyjmFfMjGgHZmLVo5ThhOr67lx5+Lge3LOB27WOuPjpAm7acLEW06IA0JkkPx 6cBg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="ZT1G/BPb"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-145059-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145059-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id b185-20020a6334c2000000b005f0565df1c5si7657279pga.441.2024.04.15.05.24.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 05:24:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-145059-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="ZT1G/BPb"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-145059-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145059-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 3DBECB22F77 for ; Mon, 15 Apr 2024 12:22:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 62B416BB44; Mon, 15 Apr 2024 12:20:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ZT1G/BPb" 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 82D016FE13; Mon, 15 Apr 2024 12:20:57 +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=1713183657; cv=none; b=DYKuooGkW0xZC8/a/G48PuOS0mevLqBwRXrq/jmKcpisZ1RaLI0UVc4EmA5goAS97A+BtBhSnUs0YlPnfyFH3AK4zhEO8QO6qGLhsOVHPhtAdVdM8Em0mkwTvDb4Yn8DiBSq0tbn63G2dCe8B7GBbR4oTvOSG+ifR6Z2hIGtt8w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713183657; c=relaxed/simple; bh=9eX7Dorhxn5NmgYg6HTuaELf/+jBReTSX1vzE2y0wKY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=sSxFzFGBFNUlkMGleD//nfahiwMVpWSqe+lLm4NbN9ApxMUFLDsG27Ry/Jib95cDPpAzgl4wXqpugEjIUdaWOu6dYmj2D00lq+EozlTQSsQ75mE5PUBK4KqYxDFfYo7N4rTsiz84v5IuuRXxDhLl4ScbM5p0KnMPmAF8Ra9yVrU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ZT1G/BPb; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 40002C2BD10; Mon, 15 Apr 2024 12:20:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713183657; bh=9eX7Dorhxn5NmgYg6HTuaELf/+jBReTSX1vzE2y0wKY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZT1G/BPbNSMh3ZCBNEwiAXm4fbRIwJ9kPZOjYGWNY/HkyZQSY0ruRxm6AWE+cYdQt KfrInn4GQEHhz0QTDxUF/nJdU2IV1zGjTozYC+/W2EhkiJhz663HgJd5BwRjLbWnMe 0zlk+xB6SZg2spnt41CFG8IGmrOvJL+SQHQ0szlxenVHQpxyf1RT8k1TJLi8embn45 gP7kSEDhccftWGh49Hc7541un1bFN5OY+u50M6j9/YXAvoPfWoiYmUUmvfLqv2AGWZ zF3IkXEH26G9g4zqJJ4UaF37EvcxoLNHXib5hFQB/ZPPSSQW6zra6fSRabdmjG2laj iwuWZnZpRxUSg== From: Arnd Bergmann To: Andrew Morton Cc: Arnd Bergmann , Masahiro Yamada , Nathan Chancellor , Nicolas Schier , Kees Cook , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/6] [v3] kbuild: enable -Wcast-function-type-strict unconditionally Date: Mon, 15 Apr 2024 14:20:36 +0200 Message-Id: <20240415122037.1983124-6-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240415122037.1983124-1-arnd@kernel.org> References: <20240415122037.1983124-1-arnd@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Arnd Bergmann All known function cast warnings are now addressed, so the warning can be enabled globally to catch new ones more quickly. Signed-off-by: Arnd Bergmann --- scripts/Makefile.extrawarn | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/Makefile.extrawarn b/scripts/Makefile.extrawarn index 202e26e6f29f..1d13cecc7cc7 100644 --- a/scripts/Makefile.extrawarn +++ b/scripts/Makefile.extrawarn @@ -129,7 +129,6 @@ endif KBUILD_CFLAGS += $(call cc-disable-warning, pointer-to-enum-cast) KBUILD_CFLAGS += -Wno-tautological-constant-out-of-range-compare KBUILD_CFLAGS += $(call cc-disable-warning, unaligned-access) -KBUILD_CFLAGS += $(call cc-disable-warning, cast-function-type-strict) KBUILD_CFLAGS += -Wno-enum-compare-conditional KBUILD_CFLAGS += -Wno-enum-enum-conversion endif -- 2.39.2