From nobody Mon Jun 8 07:33:19 2026 Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) (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 153362F3C07 for ; Mon, 1 Jun 2026 03:56:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.175 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780286191; cv=none; b=HlY5wViGHFhQ2Ta484HxStEOA5b36c78Vl5VrrW4m41aDZe0oYQkve82E/oinqZJxTkCRsSwyEjmnNYUWkqP2WY4s/Pz8lNBjHbH2t+7oKqoAbUNybZXGLjTM5CRqMsnlvvLAiz47VXzZmithpKorbVTTKcaLV+jc6FeOzTJBD4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780286191; c=relaxed/simple; bh=QVkz/ItfagGzKBI8SGxSRjTc8SgcZBrdzl3ZvDYoWQY=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=XUYSlpdK6ARULD0aKh1VRhN6WPZGedyT7I77GSWgYxdfb2fcD0A91PnDcRDfk4384U/78wOQIYLqCjrOPk1V9T1ktHugVXoNT8tTneEfxh5cFJzfkhaAGuhhUeWzfYkzDOMy5BI6tlzUl2l+gIJqlNs843AkYzv03FF9gCgRd4Y= 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=VcRUXjRL; arc=none smtp.client-ip=209.85.210.175 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="VcRUXjRL" Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-84232e83ca9so373479b3a.2 for ; Sun, 31 May 2026 20:56:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1780286189; x=1780890989; darn=vger.kernel.org; h=content-disposition:mime-version:message-id:subject:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=5Ef38CE55Tv7mZq3QLVVulD2Cs3xqls4g4tMlaBShis=; b=VcRUXjRLNlraQq9xLC4GGm9FZe0e4lVCtVIZDjeiJF8pl/61IvGacnAibVe6Yl5jsE KXhig2u5b2v67xuGg86b9DS6dRXLhjFQwJwArtwwN7MmDgHofHPsaXnjSYXIeDm+SrNo CDSx5V+zTjqAm9Cd/19f067gS58ua/x/MiumZFKh6d2PenoVe6ymDecL+TIbCwXJTvtq YNqC3aQNYyfH2iY2Za+ArnUvRox5Ro+PL+zK3QsJUJIlsIkevs4+4vl86L0CuRnkhkuy gpoGOISNJM7zpQDxyMxHKffRHlKEWPUShfx/zMOR/bVZQ6TAyr6DH4oUJYJe8vazthXr RLow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780286189; x=1780890989; h=content-disposition:mime-version:message-id:subject:to:from:date :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5Ef38CE55Tv7mZq3QLVVulD2Cs3xqls4g4tMlaBShis=; b=ak/zveNXS69qJdfuLCUVda1Nyahq6hBZFg6xrcAes+0V9r/DpDDP3Yf/blCGbqPlqx IHzwVC0tFf/R/sh49LiuxdJKmUlezIVFuTcyK8J3XkkNPDq20uKFpAfaGe7sw+u1V4Uv sXGjq5/YgiATeQsLRDNAzOeU10KreS+gs+leiM8db+urIm49Cuf94PEgsroAcDPvqj/x aLJS7nm/LiTU/L9YDgtboX6vJPbJJ3CPtkmFNs4dmuJSpwdr7Gk4O6S/UNEzzU2JD+XQ GE1rmUfnrOSgPGMoncqMm8RKeg0AMe+q9l+6fEz87JUbCpF8ax5y9rBYrNrqaQdGhhGt dzog== X-Forwarded-Encrypted: i=1; AFNElJ945H5OdjeGSQyXgTpy3wevlb8KTP9tUB9tCnvb7wNr7U30nO6VRMNCGQQDu9/9JCM8RJ2qy0JULfUgs8g=@vger.kernel.org X-Gm-Message-State: AOJu0Yzo6La6HIBG0uISayVjZsLBScBc4grodVMhTe/zLH3PcZzFdC6+ fqJGd+IHeKdz33003+25gdTXaP1t258qVnXEu3XwShDtTgvGz0lHesnbPcCY8A== X-Gm-Gg: Acq92OF1iU8WBZ0dX18WZhyH4OfVuYQrsosNKbE392p9mTBEL8PpyhQs3iPMuZZPSVo 9FBSAX97FKuxD36VAbvE7LJfcs0fvgYqWO6mfwqNKzqsDVhkxp/F8+a0uE77EFSAKSLx9bVfI1W 2XhJYVVTgh8hsNcCTgLi0dKJDBk1r1qFAxWOKRCNpJJkLPHhdbBVJjs0hAUJyxR3ua+S4LTxUyC uKKrj/OFkL6FRdWtZAt7JxazoQMRu9yRM6IwN0RmHw5QjY/+K5IHl5PLuVGfKieTXlVbQAiRzl+ 1NSQaPSkDl1Qr7va4wC+M9M0VHFvoCBFKGh5/Heb/EwFL3YbV6YQPHrVwd/pTpGsaKYroGroRlw WnMe1kIrtGXjTdtSAhKUEpbOE91bRgR81xqRsiJIG/c/QkIEkCjuKIhu5tzAsHJsmBxdA3LE4Rb NshJp7DoDhyX+71Zbw3zk1xl5CRcXBLLFRerz9Cqk2zIht X-Received: by 2002:a05:6a00:2987:b0:82f:4191:da10 with SMTP id d2e1a72fcca58-84225385e77mr8153934b3a.6.1780286189137; Sun, 31 May 2026 20:56:29 -0700 (PDT) Received: from localhost ([2405:201:4027:a919:e2b2:8560:26ea:4d1]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-842269d68c5sm6383737b3a.27.2026.05.31.20.56.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 May 2026 20:56:28 -0700 (PDT) Date: Mon, 1 Jun 2026 09:26:26 +0530 From: Naveen Kumar Chaudhary To: pmladek@suse.com, linux-kernel@vger.kernel.org Subject: [PATCH] printk: fix typos in comments Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Fix spelling/grammatical errors in printk.c and nbcon.c: - "precation" -> "precautionary" - "othrewise" -> "otherwise" - "An usable" -> "A usable" - "made a progress" -> "made progress" - "preemtible" -> "preemptible" - "mechasism" -> "mechanism" - "ownerhip" -> "ownership" Signed-off-by: Naveen Kumar Chaudhary --- kernel/printk/nbcon.c | 6 +++--- kernel/printk/printk.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/kernel/printk/nbcon.c b/kernel/printk/nbcon.c index d7044a7a214b..4b03b019cd5e 100644 --- a/kernel/printk/nbcon.c +++ b/kernel/printk/nbcon.c @@ -1487,7 +1487,7 @@ bool nbcon_allow_unsafe_takeover(void) * or write_thread(). * * When false, the write_thread() callback is used and would be - * called in a preemtible context unless disabled by the + * called in a preemptible context unless disabled by the * device_lock. The legacy handover is not allowed in this mode. * * Context: Any context except NMI. @@ -1868,7 +1868,7 @@ void nbcon_free(struct console *con) * Return: True if the console was acquired. False otherwise. * * Console drivers will usually use their own internal synchronization - * mechasism to synchronize between console printing and non-printing + * mechanism to synchronize between console printing and non-printing * activities (such as setting baud rates). However, nbcon console drivers * supporting atomic consoles may also want to mark unsafe sections when * performing non-printing activities in order to synchronize against their @@ -1954,7 +1954,7 @@ EXPORT_SYMBOL_GPL(nbcon_device_release); * * kdb emits messages on consoles registered for printk() without * storing them into the ring buffer. It has to acquire the console - * ownerhip so that it could call con->write_atomic() callback a safe way. + * ownership so that it could call con->write_atomic() callback a safe way. * * This function acquires the nbcon console using priority NBCON_PRIO_EMER= GENCY * and marks it unsafe for handover/takeover. diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index 0323149548f6..2fe9a963c823 100644 --- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c @@ -188,7 +188,7 @@ static int __init control_devkmsg(char *str) /* * Sysctl cannot change it anymore. The kernel command line setting of * this parameter is to force the setting to be permanent throughout the - * runtime of the system. This is a precation measure against userspace + * runtime of the system. This is a precautionary measure against userspa= ce * trying to be a smarta** and attempting to change it up on us. */ devkmsg_log |=3D DEVKMSG_LOG_MASK_LOCK; @@ -1975,7 +1975,7 @@ int console_lock_spinning_disable_and_check(int cooki= e) * the current owner is running and cannot reschedule until it * is ready to lose the lock. * - * Return: 1 if we got the lock, 0 othrewise + * Return: 1 if we got the lock, 0 otherwise */ static int console_trylock_spinning(void) { @@ -3285,7 +3285,7 @@ static bool console_flush_one_record(bool do_cond_res= ched, u64 *next_seq, bool * continue; =20 /* - * An usable console made a progress. There might still be + * A usable console made progress. There might still be * pending messages. */ *try_again =3D true; --=20 2.43.0