Received: by 2002:a05:7208:13ce:b0:7f:395a:35b6 with SMTP id r14csp228457rbe; Wed, 28 Feb 2024 19:08:49 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWcpyygg4NJ8YtnB0z0gN1Xx+6cLc5uvjClUSTFNzMwITANggZBG/7gwMP1BcWwTIqmqFSbvXJUVjRvMav+pgLx1zFRbubWx4psBR3s6Q== X-Google-Smtp-Source: AGHT+IEIoAN9MztiaU+cM9QxAnP6H5lbkfOLbtUFVALXYZ/WZkdwa6q8C6fr6kcDeA2lZxobmkDT X-Received: by 2002:ac8:5a8f:0:b0:42e:bbfc:6803 with SMTP id c15-20020ac85a8f000000b0042ebbfc6803mr259070qtc.63.1709176128854; Wed, 28 Feb 2024 19:08:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709176128; cv=pass; d=google.com; s=arc-20160816; b=lAQV0CDzC/pOWIG5/E5cz32HHQIV1pi/z52wVAEnDLQw7jeGzhpiVXw/ZHBtKAD8Ym Q6cl2dRsCnMOe13/7hBNH+dbDDheHylLM7dKcvaWC5AeS2MLJrb8mtu4x9VbiR3a429R VYOFt3Hs6lxd7oSV+KVajQvy95pFab/Bj8UVlexxG0rm5Ovh01z5FqIOz9tNqDkkpORq XY2Iwc/AF+nkhJRm0tm2gJem8+iPc1+mZ9TBdmFuj/y7I+Tkoz56omoAZwFqxG2imq35 iDUW1/ukOHd4E9+9YBC6JoP+6kBbITm3SDhqdihEUqHJKKYuvz/+QHpN1PR0wFP8VRGJ AKMg== 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=hS0LEDmNn2urbgs7Rk9ueAuKUUBQ5p1mwcNjc8V2Cu8=; fh=f+91erKFJyEE6gUKBwlJu7qGPrLwSX6HUx2nf3yVjPQ=; b=kErJFO+wbxWu+QiTD677iYEib2iEPrzDaVQeX1iYWTkvmmMWLASOIQ7Qz/cH4PEaIP az0CXUon5PB3E4bN5/TV3nPjTtAwoQtphx8701MBtFEl3LuKBBg4KKRvx9863n7Lc7Qn IZsR3nfOfIqPL/FNcqfdm506Z2qm91WQ3Ll8XnUcn+fhq2Efbc0oaMT4QPjjxKe+FyFg 1AH6nmLDGx9xy16roeamV9h1INs6huU7zSdJ70RxuScR1VnRsY561XJhWhecLvvVew5X 1E4sV3Dho+p08myFmVAmlSIyOhnmgUBUW8UaMJvdPbS2ZNaPLnj960HnEoqVHDJJ9Ws0 23dQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=dZYC4tSo; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-86081-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86081-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id x23-20020ac84a17000000b0042ebd07333dsi66741qtq.254.2024.02.28.19.08.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 19:08:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86081-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=dZYC4tSo; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-86081-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86081-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 8C4E51C21268 for ; Thu, 29 Feb 2024 03:08:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0BC4D38382; Thu, 29 Feb 2024 03:08:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="dZYC4tSo" Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 56608364A4; Thu, 29 Feb 2024 03:08:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709176090; cv=none; b=PlKCc4HEFnOIw4PtADmcBydw69FC0UTlq/po7p/POtNt18YSnyjg1+42je14mVNR6BYoz1modi6hCgGe8/vfbueTcksRUliCt/NEspF+ls+G7GdTZR/pODeYgQTUIwGTF5pXKnnAZzE14whUMVXrqUsUNGX1K0Hj64jyvMIQE9Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709176090; c=relaxed/simple; bh=ht433vMi1TOdghnnmW8mJ+u5PWJCJikJmYtSS+v9v1Q=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=i3EZRuHwR4pnMIJefuu676JBJOFUGkA+u1iw6kWYW5b3jfFt1wijKdUgcj6EezmT5xF+Bn0rFXP1uFIeFoU4G2w/XfXDINorS8N72fu61KO4NJgcytirf6OfquUTT0Wg3KWwRuFVCWN4k0Igg8zu3JBedSIYCVcTXTk5Fl/KW5o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=dZYC4tSo; arc=none smtp.client-ip=209.85.128.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-412b5a9916eso3266735e9.1; Wed, 28 Feb 2024 19:08:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709176087; x=1709780887; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=hS0LEDmNn2urbgs7Rk9ueAuKUUBQ5p1mwcNjc8V2Cu8=; b=dZYC4tSomKhh9Uq9/Ge5z8ryXKUJZl9g/vTh/eerSgVnfa44INrWTS/IN0DW5vW4Ct tSoXv/oI/5zTd3CEkXlqZF5nMRz/Y+kmH4NidZvRzyBLIJB46rWEGhtZ04JyuYkcKMe4 Qovht4PGYqcqiRmV7h8x0aZyJ3CxBQtebA+z/XNI3mdEolfMsxVvPAMJ7ya3Ql9Mn8JT oeYVsEyWiTkUnQi5Fetsd4boM2Gr73pVYxLVaNXAB3jRGYs08lSwWaxk1JG61xEdmfKj vXpEmxA0cAntkwENjj00YTom7NdlLTBfOh8wC3Lw2UGIc4UVPvs86xPD0O1Jr0yn6lDO WrNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709176087; x=1709780887; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hS0LEDmNn2urbgs7Rk9ueAuKUUBQ5p1mwcNjc8V2Cu8=; b=BUDxlcf5OmXZfrYa8dLyL9lERKrSERiXqw8Zq6j9kV71Pd/cFzGYqLzRTZsnsfe6M5 LfExciPcvafZtyPcLjYvXPJPWuN9wc6R0uFkiPLGzcoII+4J/yXS1X9HmhsOB0M9bWVR VONyO0JR+3EIQzXUBo0Oa1PuobNXUUlwFd4/l+kR4bnbo7s3IwfqYNtjbrBULrpq8VHU 68WRE/J3aN1kudFAfVmVAplOmhg7ih+VxM6rCqpHDYd5W0fmObe8qAo+2jXsPPa9NEcL 7uiOKWGYiUj27VMPPnj3yjoIY1V85TBgf0FJSWfw7wZ8QQ8pP915mFVuoG4zzaL9QPsV kaiQ== X-Forwarded-Encrypted: i=1; AJvYcCVeTwPPkocY3W7W7TYZDN9Sa0RZOsP4xPZ0iuRH0f5I49MpKQHiT30EpKOPAwMoMknAfvuPjcXSRyasuOHMqCSKsmsnsoPw4lzhwdrhUkQqmd3e5nVrhItqpH3KEu3eXVSk62c7G9tXAZH/vpzunnWDNrHRPyCtDOEtNnT+z+xeOGyW X-Gm-Message-State: AOJu0YzhxfztFG4yPLwoBVofPAFriNWxwssZxTVR1dtuSUseLkv+aOoJ /0DkkhPZw84NgWUBTVQ/pBcSiyvYQK9EoGZesHNTbE/8EExn+rtv X-Received: by 2002:adf:f684:0:b0:33d:f473:89d0 with SMTP id v4-20020adff684000000b0033df47389d0mr406556wrp.62.1709176086660; Wed, 28 Feb 2024 19:08:06 -0800 (PST) Received: from lola.. ([2a02:810d:7e40:14b0:d371:e319:5dd0:9b35]) by smtp.gmail.com with ESMTPSA id u1-20020adfb201000000b0033b1c321070sm417512wra.31.2024.02.28.19.08.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 19:08:06 -0800 (PST) From: Lukas Bulwahn To: Jonathan Corbet , Jani Nikula , Randy Dunlap , workflows@vger.kernel.org, linux-doc@vger.kernel.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Lukas Bulwahn Subject: [PATCH v2 2/3] docs: submit-checklist: use subheadings Date: Thu, 29 Feb 2024 04:07:42 +0100 Message-ID: <20240229030743.9125-3-lukas.bulwahn@gmail.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240229030743.9125-1-lukas.bulwahn@gmail.com> References: <20240229030743.9125-1-lukas.bulwahn@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit During review (see Link), Jani Nikula suggested to use proper subheadings instead of using italics to indicate the different new top-level categories in the checklist. Further the top heading should follow the common scheme. Use subheadings. Adjust to common heading adornment. Link: https://lore.kernel.org/linux-doc/87o7c3mlwb.fsf@intel.com/ Signed-off-by: Lukas Bulwahn --- Documentation/process/submit-checklist.rst | 26 ++++++++++++---------- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/Documentation/process/submit-checklist.rst b/Documentation/process/submit-checklist.rst index 7d8dba942fe8..e531dd504b6c 100644 --- a/Documentation/process/submit-checklist.rst +++ b/Documentation/process/submit-checklist.rst @@ -1,7 +1,8 @@ .. _submitchecklist: +======================================= Linux Kernel patch submission checklist -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +======================================= Here are some basic things that developers should do if they want to see their kernel patch submissions accepted more quickly. @@ -10,8 +11,8 @@ These are all above and beyond the documentation that is provided in :ref:`Documentation/process/submitting-patches.rst ` and elsewhere regarding submitting Linux kernel patches. - -*Review your code:* +Review your code +================ 1) If you use a facility then #include the file that defines/declares that facility. Don't depend on other header files pulling in ones @@ -24,8 +25,8 @@ and elsewhere regarding submitting Linux kernel patches. comment in the source code that explains the logic of what they are doing and why. - -*Review Kconfig changes:* +Review Kconfig changes +====================== 1) Any new or modified ``CONFIG`` options do not muck up the config menu and default to off unless they meet the exception criteria documented in @@ -37,7 +38,8 @@ and elsewhere regarding submitting Linux kernel patches. combinations. This is very hard to get right with testing---brainpower pays off here. -*Provide documentation:* +Provide documentation +===================== 1) Include :ref:`kernel-doc ` to document global kernel APIs. (Not required for static functions, but OK there also.) @@ -57,8 +59,8 @@ and elsewhere regarding submitting Linux kernel patches. 6) If any ioctl's are added by the patch, then also update ``Documentation/userspace-api/ioctl/ioctl-number.rst``. - -*Check your code with tools:* +Check your code with tools +========================== 1) Check for trivial violations with the patch style checker prior to submission (``scripts/checkpatch.pl``). @@ -72,8 +74,8 @@ and elsewhere regarding submitting Linux kernel patches. but any one function that uses more than 512 bytes on the stack is a candidate for change. - -*Build your code:* +Build your code +=============== 1) Builds cleanly: @@ -107,8 +109,8 @@ and elsewhere regarding submitting Linux kernel patches. ``CONFIG_PCI``, ``CONFIG_BLOCK``, ``CONFIG_PM``, ``CONFIG_MAGIC_SYSRQ``, ``CONFIG_NET``, ``CONFIG_INET=n`` (but latter with ``CONFIG_NET=y``). - -*Test your code:* +Test your code +============== 1) Has been tested with ``CONFIG_PREEMPT``, ``CONFIG_DEBUG_PREEMPT``, ``CONFIG_SLUB_DEBUG``, ``CONFIG_DEBUG_PAGEALLOC``, ``CONFIG_DEBUG_MUTEXES``, -- 2.43.2