Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp707819rdb; Tue, 5 Dec 2023 18:49:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IGs+soFR4EiSiKRD6t/aXrfwK1+CpF2arvKkZeB6ZEWqWBoUdKwDVu54VYnLY8i9na6ZZ48 X-Received: by 2002:a05:6a21:6d90:b0:187:4fd9:b9bc with SMTP id wl16-20020a056a216d9000b001874fd9b9bcmr137766pzb.34.1701830998696; Tue, 05 Dec 2023 18:49:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701830998; cv=none; d=google.com; s=arc-20160816; b=QNqxUMtIyEdHncYO2m2wMEnFDWPx5/teuKVLPTN7XcgBJm1TwVgVv9tzSs4xsZJiKr l5rTxEFV1iue1hJlt8/IgVGGTPDkpzl654LVDMipzhb245NTaE5Qne/EK4jGqV5W9NSR Enw85I3uGr2VzrkTz73yBVDphgIZ67K/bi/harrO6KlUkiJ/gIxsBf6FIgvZ6D1TwML0 EqloBNB2Udhh/QIVs6u42HOHusGuCZamc7ZuPoDWwUBHVcSAePw1BeaDCkSAOTl7WpPB di/RrDPv1vTIFBb5yhgYZHDPzESO/157Kxu68ZDU0EEBcGQNwkliNxAJDGm55FxR97Yb 03Lg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=kWSnwSWEWwAgy/sLkb4DDMMtTHVDhNvzb2zwc19N4YU=; fh=CQCyWsmPtpL+KVaFVDTr5jbWBeDzvCs8g4k2+JurhVA=; b=MoaAXzV8ud5JMSVssXeQpoYH2O9RWb/fnI3H6C2Z1Sl2utleB4J8ZYw4s5bP0J2vqp PlcMWOE8UbZA+gcw+UMLhE0S/MjUGyeDh8ZAwzb2ICdbbkUjhfqdTkqw8BaMqJO5VlDH uinFJRgbYsY18HchVpaiqfg6d5Mhw5xuoNpub7IJWehviQuLeTmqOUcz0bprL0vz+/V4 /zVZqdR2VfDrq6hCNgnc5b49gD0zQx4AB6m+RkYMO3Yz1FS3GeudtcTxCwz5vqUTbWI1 ulFqkY7Lcp6jvbbQn/BfwF7uvbGMpUFTim1ORauF9ZUZHSip4GIdHhgNmrji5rlGuYef ecoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b="Bte/yh2a"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id d10-20020a170903230a00b001d09b2d565dsi3185973plh.433.2023.12.05.18.49.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 18:49:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b="Bte/yh2a"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id F3EBF80B87F4; Tue, 5 Dec 2023 18:49:55 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229577AbjLFCtm (ORCPT + 99 others); Tue, 5 Dec 2023 21:49:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229493AbjLFCtl (ORCPT ); Tue, 5 Dec 2023 21:49:41 -0500 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5965F1AA; Tue, 5 Dec 2023 18:49:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1701830983; bh=kWSnwSWEWwAgy/sLkb4DDMMtTHVDhNvzb2zwc19N4YU=; h=Date:From:To:Cc:Subject:From; b=Bte/yh2avh9/wykxnQb217s9hTZBKyrNCK4XSTNSh7aN8e005VB3Skypc36rkO39O 3VO8Qp+81Db64c7Nov2MoRyl7mRWoD2LP0A7GZLVBX91L3kH1lp3/bffGB78s/Rjce DbjbI4uraur7znsefjjgT3s1ryzUia4X9/0DWDWdJt+Y6Vy1XSs0aiorEXFvfrx0Mc /XEF9Eq3U333WyS7lUbrl2FGvApMbZkLfQ1mRzMRO0aCeZ/GzL3nGrsivTtUTljKvb AWzSHQD7UMsVY/lShCiRmUF0x3DLvLfWhLMZmKF/y9kwXOr8QIocHnLQbqjdhwN8oX KUDwwbj5PGYsQ== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4SlMLt4R9cz4wcH; Wed, 6 Dec 2023 13:49:42 +1100 (AEDT) Date: Wed, 6 Dec 2023 13:49:41 +1100 From: Stephen Rothwell To: Luis Chamberlain Cc: Ingo Molnar , Linux Kernel Mailing List , Linux Next Mailing List , Thomas =?UTF-8?B?V2Vpw59zY2h1aA==?= , Xiu Jianfeng Subject: linux-next: manual merge of the sysctl tree with Linus' tree Message-ID: <20231206134941.4953e1ae@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/kxx6869DCCQaLoMRnCsYhtn"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 05 Dec 2023 18:49:56 -0800 (PST) --Sig_/kxx6869DCCQaLoMRnCsYhtn Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, Today's linux-next merge of the sysctl tree got conflicts in: include/linux/perf_event.h kernel/events/core.c between commit: e6814ec3ba19 ("perf/core: Rename perf_proc_update_handler() -> perf_event= _max_sample_rate_handler(), for readability") from Linus' tree and commit: c8be9e66ca1e ("sysctl: treewide: constify the ctl_table argument of handl= ers") from the sysctl tree. I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts. --=20 Cheers, Stephen Rothwell diff --cc include/linux/perf_event.h index d2a15c0c6f8a,84f8f441d011..000000000000 --- a/include/linux/perf_event.h +++ b/include/linux/perf_event.h @@@ -1598,11 -1573,11 +1598,11 @@@ extern int sysctl_perf_cpu_time_max_per =20 extern void perf_sample_event_took(u64 sample_len_ns); =20 - int perf_event_max_sample_rate_handler(struct ctl_table *table, int write, -int perf_proc_update_handler(const struct ctl_table *table, int write, ++int perf_event_max_sample_rate_handler(const struct ctl_table *table, int= write, void *buffer, size_t *lenp, loff_t *ppos); - int perf_cpu_time_max_percent_handler(struct ctl_table *table, int write, + int perf_cpu_time_max_percent_handler(const struct ctl_table *table, int = write, void *buffer, size_t *lenp, loff_t *ppos); - int perf_event_max_stack_handler(struct ctl_table *table, int write, + int perf_event_max_stack_handler(const struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos); =20 /* Access to perf_event_open(2) syscall. */ diff --cc kernel/events/core.c index 41b4d2278c94,26383e3582c6..000000000000 --- a/kernel/events/core.c +++ b/kernel/events/core.c @@@ -450,8 -449,8 +450,8 @@@ static void update_perf_cpu_limits(void =20 static bool perf_rotate_context(struct perf_cpu_pmu_context *cpc); =20 - int perf_event_max_sample_rate_handler(struct ctl_table *table, int write, -int perf_proc_update_handler(const struct ctl_table *table, int write, - void *buffer, size_t *lenp, loff_t *ppos) ++int perf_event_max_sample_rate_handler(const struct ctl_table *table, int= write, + void *buffer, size_t *lenp, loff_t *ppos) { int ret; int perf_cpu =3D sysctl_perf_cpu_time_max_percent; --Sig_/kxx6869DCCQaLoMRnCsYhtn Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmVv4UUACgkQAVBC80lX 0GyINQf/eSteCfMI3LLL1P2E4N52cEdxvbhwstW5HPBsar0Ql/Rh1ZUDHHGrMw2p mKQ6NnrS3xZAWQL3vnBdUyYqGkjSjOKMnBpoebnF5+xoJR0cW4OdW1xhGW3XWKFj p6PlUHUFU3NjufnmheCCkBb1L5JbNjT9GeZYAydzQQWeCE1BBXHWWfu6BvlpNR+6 ReimJE6xbkKdXKt58rPdKMT/tIFB8ASF7T1EgUgNsHQjVNuhVQQyyzbwLDeMVIqz 9Iu+Mlc4eVjto12FzTNPyvJca8QT2PabR8UcAiL/6jTbEaRTBq6CnDFMoDcZGixM FAmpL+SMq8mRWqHzZhU2R6Nm4mKv3A== =gvAe -----END PGP SIGNATURE----- --Sig_/kxx6869DCCQaLoMRnCsYhtn--