From nobody Sun Apr 19 07:24:04 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 88496C433EF for ; Tue, 5 Jul 2022 06:15:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229643AbiGEGPd (ORCPT ); Tue, 5 Jul 2022 02:15:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229637AbiGEGPa (ORCPT ); Tue, 5 Jul 2022 02:15:30 -0400 Received: from mail.nfschina.com (unknown [IPv6:2400:dd01:100f:2:72e2:84ff:fe10:5f45]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3F596B4A0 for ; Mon, 4 Jul 2022 23:15:29 -0700 (PDT) Received: from localhost (unknown [127.0.0.1]) by mail.nfschina.com (Postfix) with ESMTP id 1C2381E80D71; Tue, 5 Jul 2022 14:13:25 +0800 (CST) X-Virus-Scanned: amavisd-new at test.com Received: from mail.nfschina.com ([127.0.0.1]) by localhost (mail.nfschina.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2kobxK8LI91U; Tue, 5 Jul 2022 14:13:22 +0800 (CST) Received: from localhost.localdomain (unknown [180.167.10.98]) (Authenticated sender: jiaming@nfschina.com) by mail.nfschina.com (Postfix) with ESMTPA id DA8BA1E80D19; Tue, 5 Jul 2022 14:13:21 +0800 (CST) From: Zhang Jiaming To: arnd@arndb.de, gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, liqiong@fschina.com, renyu@nfschina.com, Zhang Jiaming Subject: [PATCH] char: lp: Fix spelling mistake and add spaces Date: Tue, 5 Jul 2022 14:15:18 +0800 Message-Id: <20220705061518.13533-1-jiaming@nfschina.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Fix spelling of doesn' t. Add spaces around '=3D' and ','. Signed-off-by: Zhang Jiaming --- drivers/char/lp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/char/lp.c b/drivers/char/lp.c index 38aad99ebb61..214fb037fa76 100644 --- a/drivers/char/lp.c +++ b/drivers/char/lp.c @@ -26,7 +26,7 @@ * be still BUSY. This is needed at least with Epson Stylus Color. To enab= le * the new TRUST_IRQ mode read the `LP OPTIMIZATION' section below... * Fixed the irq on the rising edge of the strobe case. - * Obsoleted the CAREFUL flag since a printer that doesn' t work with + * Obsoleted the CAREFUL flag since a printer that doesn't work with * CAREFUL will block a bit after in lp_check_status(). * Andrea Arcangeli, 15 Oct 1998 * Obsoleted and removed all the lowlevel stuff implemented in the last @@ -418,7 +418,7 @@ static ssize_t lp_read(struct file *file, char __user *= buf, size_t count, loff_t *ppos) { DEFINE_WAIT(wait); - unsigned int minor=3Diminor(file_inode(file)); + unsigned int minor =3D iminor(file_inode(file)); struct parport *port =3D lp_table[minor].dev->port; ssize_t retval =3D 0; char *kbuf =3D lp_table[minor].lp_buffer; @@ -965,7 +965,7 @@ static void lp_attach(struct parport *port) port->probe_info[0].class !=3D PARPORT_CLASS_PRINTER) return; if (lp_count =3D=3D LP_NO) { - printk(KERN_INFO "lp: ignoring parallel port (max. %d)\n",LP_NO); + printk(KERN_INFO "lp: ignoring parallel port (max. %d)\n", LP_NO); return; } for (i =3D 0; i < LP_NO; i++) --=20 2.34.1