Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1352524rdb; Mon, 19 Feb 2024 12:27:37 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVp3Ny+vnCwnfaqHojAWVFbtrCU5vWZXbtXrmYYPyYbcXrd9auSeSOSCUHNWlM1KE+7iJbMS0EXVam+6zLRbL/EwUaMawCikJhG6Hkhkw== X-Google-Smtp-Source: AGHT+IFPfN18siWLKCLLkyjhVsEF7jjYgW1Ja0/RuADWLfxPZZTJQOOP1e8WZnvqQ7FP1xoASRmQ X-Received: by 2002:a17:90a:9f95:b0:299:5fed:bcae with SMTP id o21-20020a17090a9f9500b002995fedbcaemr5160572pjp.5.1708374457565; Mon, 19 Feb 2024 12:27:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708374457; cv=pass; d=google.com; s=arc-20160816; b=c+DP8kqw2cyqvXNs0eAwlEuGjhQXQdtbRBSga22Ro0clfvaYepX6EWLCiV/tLfm5h7 QL2SSRLirHZls1MZGd4pNUjlLqOzc+G6Ws3YI7HyeQU2yep4bXMEszNchIgztQAJwF8u t5rNQQhtb4IFASKN2GN+OioL9sCByZHjR/JKCIrS4TNFLxfLN9R3PNLC2uaPDZIj65gU HZ7zYhGNhKqlv559385IDZI7kquECKag+MKAEt4L/E8mIPgbrBW0ClXrKIHRuGtuL+N6 AzHrKKn3KoEFQXEaemQz58X+J9wHpmSx2MhJMh7DDxjZDNexfD8f+OKDckqc4p5JX34R TPcg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=SRCgFXkPdCS+r/SA3TqnHdW0KTZwbjzals9S5BVqjHI=; fh=mL0lp98nCa/OPvHpjHb1CtZuW34GhYDzI2Ze+Ry5Jg8=; b=bYDZet8/Yg0VLlvPviCSe42KtF1ZWUzhOdhczW3hgPVhQFO2579SbwF3s4C6MYk9o8 OvSoLne9gHJKQghndrH7ln1SvmDVy7qhWVYm3gkp3kYp+7SJAnQCt/68mT1Y8YVPHTSF rKik4kev7hoy24iMPS2oaSSmtpC/p1toCYz8ZQeLWtnip0f+k+40i/I4A94jRmbiFlFv Fsv2w+A6ELBa4s8r8apNnKOwAY8/Mdsyd/2HrDfXnK9lW9Icyg4SVIeiein2Icv7U9+4 YoigKUmPYOD1C7fowy3lquXmCtXOLnuBzzf4ff7gnZzQwDKWOelTGf1/ty5rrecFtkpT K36Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=Nn6oRj52; arc=pass (i=1 spf=pass spfdomain=weissschuh.net dkim=pass dkdomain=weissschuh.net); spf=pass (google.com: domain of linux-kernel+bounces-71963-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71963-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id lt9-20020a17090b354900b002993f393765si4946375pjb.76.2024.02.19.12.27.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 12:27:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-71963-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=Nn6oRj52; arc=pass (i=1 spf=pass spfdomain=weissschuh.net dkim=pass dkdomain=weissschuh.net); spf=pass (google.com: domain of linux-kernel+bounces-71963-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71963-linux.lists.archive=gmail.com@vger.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 4765A282652 for ; Mon, 19 Feb 2024 20:27:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7DCB6535CD; Mon, 19 Feb 2024 20:27:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b="Nn6oRj52" Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) (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 339563D38C for ; Mon, 19 Feb 2024 20:27:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=159.69.126.157 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708374445; cv=none; b=ItIZgHug2xVZBEfJB+zvtlw/Yr5m0XsHymRHfaJVId984miSrGs3aTZRaoOjyjsdWdSrte6g53IXxwn0IVuG85N4IGb8HBjK9oXnpxp/feYueNPwANTbbZKBcq7OpIKVQ4ry//URYNl6D8ey6Cwj/2KF9AfKZ4Q3T8OpaA05Q2k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708374445; c=relaxed/simple; bh=2+aoCwOd06/v1RwfWjtXRvkTzvzg3Gip4JPINzS5zGw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=C5zKRaONF1q0812ogaVUp5v29rsXv1U82sOHLE8byfOwGi8rlK9rJOQvQP+K4B80+Emc7CO9ToJpUTzjctHFInFxSoxfBxuqRODsNA9kkqHWoSvpIQVjR+vicD/sTluN8gOLy2qXPCP6zAabel0NA738AY5apSN3wMAK5swAvvU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=weissschuh.net; spf=pass smtp.mailfrom=weissschuh.net; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b=Nn6oRj52; arc=none smtp.client-ip=159.69.126.157 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=weissschuh.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=weissschuh.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1708373975; bh=2+aoCwOd06/v1RwfWjtXRvkTzvzg3Gip4JPINzS5zGw=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=Nn6oRj52uOevfeinneNNvv6zz5iNu4l5SM6k0SPBlWNKzB+XAtRQbp2qom68SVsmc +Ld3fukJ0WuH9QLVzXYl+DCatXDgPKScmW59/5xWJOkwXc0HOUdopR5Pt2Je1YvUx9 Vl25Uu+s81Wph/veKdYwujymErvsj21BzWOU+Tu4= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Mon, 19 Feb 2024 21:19:23 +0100 Subject: [PATCH v3 2/3] ipc: remove linebreaks from arguments of __register_sysctl_table Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20240219-sysctl-check-v3-2-6940d5ff747b@weissschuh.net> References: <20240219-sysctl-check-v3-0-6940d5ff747b@weissschuh.net> In-Reply-To: <20240219-sysctl-check-v3-0-6940d5ff747b@weissschuh.net> To: Luis Chamberlain , Joel Granados Cc: linux-kernel@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1708373973; l=797; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=2+aoCwOd06/v1RwfWjtXRvkTzvzg3Gip4JPINzS5zGw=; b=4a1lYJ1PBMTeJ+6XFqt0TOA2ayoWIl3GQxZ8fy2AU3RjjsgobW0N8db4rYq9EkMvbSHXaa8/w IIHgKKGd4BLAjxli2DumdMyGGqqf89gO1OGf+heF13ZUPDvVx3mto5p X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= Calls to __register_sysctl_table will be validated by scripts/check-sysctl-docs. As this script is line-based remove the linebreak which would confuse the script. Signed-off-by: Thomas Weißschuh --- ipc/ipc_sysctl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ipc/ipc_sysctl.c b/ipc/ipc_sysctl.c index 8c62e443f78b..e4008288a3ba 100644 --- a/ipc/ipc_sysctl.c +++ b/ipc/ipc_sysctl.c @@ -259,8 +259,7 @@ bool setup_ipc_sysctls(struct ipc_namespace *ns) tbl[i].data = NULL; } - ns->ipc_sysctls = __register_sysctl_table(&ns->ipc_set, - "kernel", tbl, + ns->ipc_sysctls = __register_sysctl_table(&ns->ipc_set, "kernel", tbl, ARRAY_SIZE(ipc_sysctls)); } if (!ns->ipc_sysctls) { -- 2.43.2