From nobody Sat Jul 25 22:31:38 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 89CB33385BC; Sun, 12 Jul 2026 15:00:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783868455; cv=none; b=AjWCCk/eJcgOus8YiRznQo7vJYj4y4McBMhjqZ1TzKmV0nCc97Tl2Q8OEeExdWcOstlWOBm/6Ruu3mxM7y+M6woY85nvGybHTpuvW+l3GM1rWsTnwR+z4UTEHcvKmdeWrPo4uimP4R/duFDH8kpA1RVWXsRCfAB6XCbRei7+oos= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783868455; c=relaxed/simple; bh=TbWMuCdVsk6idi6belWdkFeK6k8m6ernlDMJz09zqX0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=oZXkD5Dli40IlYqjxay8DD4bJ4I9+PDsQJAp84qjH7XtH8naajY1u0lTC7M2MbVNSdlqLniDbkN4d16xsfvImLXZZJF4g44rPwkdSM3elhud9AHvc8PcydYimpcP6kHZp1RujxDcHJT/F4aT4dAqlwplCekNVy2URXK66VVXZXY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hqEDX/qr; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hqEDX/qr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5F8571F00A3A; Sun, 12 Jul 2026 15:00:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1783868454; bh=85Ztyx8pOdBTh00fpIVUppASwDXOl/nChFjgIqRuMLw=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=hqEDX/qrkR5XeA/ZqXRLWbiWnP4q9BP0gZhL4xguDIzBREygRXQsp1Cv9kf9evwFl cSLbxOenQUBDZxh4DbFQ+0UEC6G4b+eGirP7ChWFwmjEchqnSYm00GRoSyTwXeeYYj tc+C0sCwXh1rkwkhf6cjivcYZknylgKkkkwT/8vqKWuf7WNe72t4YE+GrBeHc3ypIB j9UDp5F/CAX/sOloQ7QR5ORnFtX/dmK+XgJWyMzH3S5TGmwF0880Odjz7cXHw+7yX5 YTJpLwZqQ3I+momUkfpQZltNhQXdzap+TlARwimgU2avhaPh4obnibo6QR70uY2SKQ GGTexkYa6r7iw== Received: from mchehab by mail.kernel.org with local (Exim 4.99.4) (envelope-from ) id 1wivfo-00000003j0x-3Cgu; Sun, 12 Jul 2026 17:00:52 +0200 From: Mauro Carvalho Chehab To: Jonathan Corbet , Linux Doc Mailing List , Mauro Carvalho Chehab Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Shuah Khan , Manuel Ebner Subject: [PATCH 1/2] docs: maintainers_include: don't output duplicated profile entries Date: Sun, 12 Jul 2026 16:59:39 +0200 Message-ID: <89182694652e67b89dfa413e25bd00eb365a551d.1783868309.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: References: 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: quoted-printable Sender: Mauro Carvalho Chehab Add a logic to prevent having duplicated maintainer's profile entries at the rst output. Reported-by: Manuel Ebner Closes: https://lore.kernel.org/linux-doc/98a558a87a07ab641f47c66c372ee7ed0= 735f4f5.camel@mailbox.org/ Signed-off-by: Mauro Carvalho Chehab --- Documentation/sphinx/maintainers_include.py | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/Documentation/sphinx/maintainers_include.py b/Documentation/sp= hinx/maintainers_include.py index dc9f9e188ffa..7df73f66e13c 100755 --- a/Documentation/sphinx/maintainers_include.py +++ b/Documentation/sphinx/maintainers_include.py @@ -336,16 +336,24 @@ class MaintainersProfile(Include): # Produce a list with all maintainer profiles, sorted by subsystem= name # output =3D "" - for profile, entry in sorted(maint_parser.profile_entries.items()): + entries =3D set() + for profile, entry in maint_parser.profile_entries.items(): name =3D profile.title() =20 if entry.startswith("http"): - output +=3D f"- `{name} <{entry}>`_\n" + new_entry =3D f"- `{name} <{entry}>`_\n" elif entry.startswith("`"): - output +=3D f"- {name}: {entry}\n" + new_entry =3D f"- {name}: {entry}\n" self.warning(f"{profile}: Invalid 'P' tag: {entry}\n") else: - output +=3D f"- {entry}\n" + new_entry =3D f"- {entry}\n" + + if new_entry not in entries: + entries.add(new_entry) + + for entry in sorted(entries): + output +=3D entry + =20 # # Create a hidden TOC table with all profiles. That allows adding --=20 2.55.0 From nobody Sat Jul 25 22:31:38 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 9FDFC33A70A; Sun, 12 Jul 2026 15:00:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783868455; cv=none; b=kf7OpGmSdSIVqwBOxzuGXaVcAdpIUzzHuHmfI8HRi3CzJkjBZSZ5y6TZ+nNw4kFVpXIr8rIC3cfdLhpNOL/oENMkaEEuGdRDYEHb2HnVxIV8xOs0AoETY3yc9MUkgOghaXK4+nlAZeJCkTzS0S5R2NI5z8+svSSYFBQP3I+wPQI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783868455; c=relaxed/simple; bh=9ra3WOQMmyMROB3JfqeRXIlfwHMKIYcvg4WRAPZN22E=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=jeLy4EBM6jWj7Tuzg2xwyXpUbKZu5KAVubSbajFQfrC5yqh5Y/9Z7/9wbYhAfX6f1Z/oTGY76b6SJgRVhfJ8+pBZMdf4i5ATny/FhTcXrypzPUR0hruYJqBS+6iBcVgYiJvpp7kTjidnpwBEOaJcrJEGo8bTNFl24CrOSTyz1tg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=LkHTlnWn; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="LkHTlnWn" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C2AC1F00A3D; Sun, 12 Jul 2026 15:00:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1783868454; bh=SFJk9gjDvrD5CEBsAC34vf7JxOqUGyNlJq5pVsuQDn4=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=LkHTlnWnkw/A6Cs0tC668vWt3yLVEngqKI/jZo0CKZkmdbs033NxrO5WX0CI8AX09 tDNtyzRl/mDIgSerhsxX82NRiuNwtDeFTGSqAd6EJpnPZ5gT02ex/mVCgA/ZSxXqzX w3Krn6fuPB8hqvUG7i9BhnBMHdykJ8aUDFoStNzRSbRjPWWzqR891bMcaHJppzQPFY jCYM9KPNX9UgOoq9pbl0kLSTSLjraKd/ptVivqSBjaweNUHLGuVKGreNXlIGS84gws 6d+4qygqougrMMcTMt5AZtyFo3lYskDDL9R8wlo8gSCBPFVdmzBazKwMAWVSObOL3J TM4f7DL011Alw== Received: from mchehab by mail.kernel.org with local (Exim 4.99.4) (envelope-from ) id 1wivfo-00000003j11-3KFT; Sun, 12 Jul 2026 17:00:52 +0200 From: Mauro Carvalho Chehab To: Jonathan Corbet , Linux Doc Mailing List , Mauro Carvalho Chehab Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Shuah Khan , Manuel Ebner Subject: [PATCH 2/2] docs: maintainers_include.py: output subsystem name if available Date: Sun, 12 Jul 2026 16:59:40 +0200 Message-ID: <7ed8f90597230358d3f38e2eaa007993a5c1970e.1783868309.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: References: 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: quoted-printable Sender: Mauro Carvalho Chehab If the subsystem name is available (which should always be true, except if the parser has an issue), outputs the subsystem's name at the profile entry. Signed-off-by: Mauro Carvalho Chehab --- Documentation/sphinx/maintainers_include.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/sphinx/maintainers_include.py b/Documentation/sp= hinx/maintainers_include.py index 7df73f66e13c..1596630a74ca 100755 --- a/Documentation/sphinx/maintainers_include.py +++ b/Documentation/sphinx/maintainers_include.py @@ -345,6 +345,8 @@ class MaintainersProfile(Include): elif entry.startswith("`"): new_entry =3D f"- {name}: {entry}\n" self.warning(f"{profile}: Invalid 'P' tag: {entry}\n") + elif name: + new_entry =3D f"- {name}: {entry}\n" else: new_entry =3D f"- {entry}\n" =20 --=20 2.55.0