Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp140291rdb; Wed, 18 Oct 2023 22:49:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEOIhH39zu351v9g3GMD4OBi3hmoJ8IR4d80rnfARmyryBJbwBOmW7R2jq1Pl+BssM4ouyX X-Received: by 2002:a05:6a00:1492:b0:693:4108:1eb7 with SMTP id v18-20020a056a00149200b0069341081eb7mr1189405pfu.30.1697694550604; Wed, 18 Oct 2023 22:49:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697694550; cv=none; d=google.com; s=arc-20160816; b=WiLZBEumyDt9+gaKibF2ogm3Zkh2umKHeQF3Mk/OFivoiphEOe6lxdpkkljzF1iytc wE+UBSMawZSfolfudLCqWzEAI6zou4UEVKZqJk4Ml15DbIcT3A8BIAKWP07vlEZdFABN 1tXPhaCpRs9gkz/0K12mRITkDYrUKh1GyYYvklARCfUjmp0yYiuRY10aeBPfOBq/bEHJ weKuj+/oZzu2HUVMJh2CQSpRr5JhFugh1FD6boIidsEh6Qj9eq39MtHlaqureAhmZBI8 1K9VOQ/luqEmAPvI0hDndKaedi4jH6NMhmbYCqsZcnCjSsrkSSVl8VsClQqceLWTZ4O0 XhwQ== 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=CR7dWSEwjH6imZHnVlXAbeQgnXp1ZZMTjjN1Ld5riCc=; fh=R8E14LiZxW3TeAhRnq2nAryS/HTcLh5UEN+rchhZE2M=; b=ZxyVIhsmKxWHRSBs6Y6sfavXrWpvObAeGwqXd3RDPmjcTgDqFd2abb3sgqNet7NBhK AORoPfXwJ3QCx20Y3Jb7Iw8SPUtlJ9s2Ogyq0IbhS4Gug1US3SWBRW1owujioUv0U1z9 8KtvEBy9/zzQIjUHCRtoG5gTuRx6a74QUoDXXVcNGx3lxi96y9IRIinQ2vzpJiB3YLsu X6j0rSIY4iv/VDpccl4VK+dVD+c3K7D+WEo6JbBaXchdoQwMQhyE05w3FruXej2Yngsl mQ2HoiwWNhjgB9hzEcSKyR0+ImKXNEQpDKhvJMb6qXLWkjahwo0GWIMIqnOfhx3NUAvY 1Efg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=W1EOf7KB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id ef24-20020a056a002c9800b0068fce4338bdsi5329361pfb.62.2023.10.18.22.49.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 22:49:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=W1EOf7KB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id 2E19B8108BF7; Wed, 18 Oct 2023 22:49:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230304AbjJSFs6 (ORCPT + 99 others); Thu, 19 Oct 2023 01:48:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232658AbjJSFs4 (ORCPT ); Thu, 19 Oct 2023 01:48:56 -0400 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF3E8B6; Wed, 18 Oct 2023 22:48:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1697694527; bh=CR7dWSEwjH6imZHnVlXAbeQgnXp1ZZMTjjN1Ld5riCc=; h=Date:From:To:Cc:Subject:From; b=W1EOf7KB8sRaSXlw9dVE0T0wXyu1Oyqnzkx0PJNcwP5Q2nbMp0apO4UJHlIciNHRk 3kMzxiWUH5Z2mV0xY95EP9WXEl3If65YbcBpSNzCvrE3J4Xn94sj67kQhNEjObHOTi 1Dbx4XTWm49rA+UA9tv98qjsngmFQ8VxvJptN6cTEKReQsdLK68fUf4Hs0QKUe8tC7 ArKUDEs2nKzd8JVTR8hHeBNyx2I8oS/3Z1LlzQc5yMg9ZpKUwwzwh2uWIxjUgtbNMS zWmsBN6FGZf+sjrYpM0NaXgVljCVXIfYJWI/kH/KpFK3okTvGn8Qg67ECIg5vvRxVo YhDorjcy8HzEw== 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 4S9xbf4FkWz4xQQ; Thu, 19 Oct 2023 16:48:46 +1100 (AEDT) Date: Thu, 19 Oct 2023 16:48:44 +1100 From: Stephen Rothwell To: Yury Norov , David Miller , Jakub Kicinski , Paolo Abeni Cc: Networking , Alexander Lobakin , Linux Kernel Mailing List , Linux Next Mailing List , Paul Greenwalt , Pawel Chmielewski Subject: linux-next: manual merge of the bitmap tree with the net-next tree Message-ID: <20231019164844.4cc37f93@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/iYTkWDP_1_tS6QBLU_WRv4Z"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.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 (groat.vger.email [0.0.0.0]); Wed, 18 Oct 2023 22:49:08 -0700 (PDT) --Sig_/iYTkWDP_1_tS6QBLU_WRv4Z Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, Today's linux-next merge of the bitmap tree got a conflict in: include/linux/linkmode.h between commit: 26c5334d344d ("ethtool: Add forced speed to supported link modes maps") from the net-next tree and commit: f849608560af ("linkmode: convert linkmode_{test,set,clear,mod}_bit() to m= acros") from the bitmap 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/linkmode.h index cd38f89553e6,f231e2edbfa5..000000000000 --- a/include/linux/linkmode.h +++ b/include/linux/linkmode.h @@@ -2,21 -2,6 +2,18 @@@ #define __LINKMODE_H =20 #include + - static inline void linkmode_set_bit(int nr, volatile unsigned long *addr) - { - __set_bit(nr, addr); - } ++#define linkmode_set_bit __set_bit + +static inline void linkmode_set_bit_array(const int *array, int array_siz= e, + unsigned long *addr) +{ + int i; + + for (i =3D 0; i < array_size; i++) + linkmode_set_bit(array[i], addr); +} + #include #include =20 @@@ -53,25 -38,20 +50,10 @@@ static inline int linkmode_andnot(unsig return bitmap_andnot(dst, src1, src2, __ETHTOOL_LINK_MODE_MASK_NBITS); } =20 - static inline void linkmode_clear_bit(int nr, volatile unsigned long *add= r) - { - __clear_bit(nr, addr); - } -=20 - static inline void linkmode_mod_bit(int nr, volatile unsigned long *addr, - int set) - { - if (set) - linkmode_set_bit(nr, addr); - else - linkmode_clear_bit(nr, addr); - } -=20 - static inline int linkmode_test_bit(int nr, const volatile unsigned long = *addr) - { - return test_bit(nr, addr); - } + #define linkmode_test_bit test_bit -#define linkmode_set_bit __set_bit + #define linkmode_clear_bit __clear_bit + #define linkmode_mod_bit __assign_bit =20 -static inline void linkmode_set_bit_array(const int *array, int array_siz= e, - unsigned long *addr) -{ - int i; - - for (i =3D 0; i < array_size; i++) - linkmode_set_bit(array[i], addr); -} - static inline int linkmode_equal(const unsigned long *src1, const unsigned long *src2) { --Sig_/iYTkWDP_1_tS6QBLU_WRv4Z Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmUwwzwACgkQAVBC80lX 0Gw8dQf/ckBlyqp0x9E8fPVAlHEGxWz7oIixRXFmyKVZtQX+FBMrvd+8ZgWRtjvk UjnR7VBJnwW5dPik7yaw+9dkdwZX7xFx8ALRAt24bMdf3idw2nD3/djdr+EjnEz7 rlAajFjWOFfCuvbx3DAMwZT5yWJkdCzy5qxhhmNMHpku0oQv2E13W+bgb/rGFQbb kyXJwRITcfuoVkLZDv3dfcwueSFu29kty8hBP2dej037TgBSPaG2kej62HWyKH4s gZEATqGiQQgKvwRHLAmGk7B08TZBqrjieO/mwF+V7sGvaf+UF8R6BP/+UpmrLx8V mXGwoP4E023L9ekDlPpSK8Z2DeK+FQ== =C7Mx -----END PGP SIGNATURE----- --Sig_/iYTkWDP_1_tS6QBLU_WRv4Z--