Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2120329rwp; Fri, 14 Jul 2023 00:40:36 -0700 (PDT) X-Google-Smtp-Source: APBJJlHFT2UMjYqFeyAqVs+sPoV4mPPcVaoFirZLSXgG6q+K0cbteZiTNXBtfq6M5GVaZzVEJnJD X-Received: by 2002:a17:90b:118a:b0:263:5c30:2cf8 with SMTP id gk10-20020a17090b118a00b002635c302cf8mr3692990pjb.0.1689320436366; Fri, 14 Jul 2023 00:40:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689320436; cv=none; d=google.com; s=arc-20160816; b=mRcn8cildEsdyMB2CM8Ka4piIfKb7SDfDPLu+m4g4pe73K+MoUwaieHxl5BEEbpaET RqM2X3JHTrH7gdPKOwpZN9aKrIedgMag81Pnd2C3juTi1WgdRF3OywZnx3QHafzZo2lJ JqMLhfPdxiy8XdoYz6LS2/HncGdHaO7UUGGmpT6GWvRfGVbvAuE5RXN69oYyR3QPynt4 QSjh/bngjKj5a0gEJeYRrlkRKssCoIhwKGDn9Up1SnEkwEvbP2EGvmc5q4lFb+02/Z1o Ufn8hrf58LbdQvCrUyz2BS9wGWV1RoCdqMVI8rqHBsT0RKpfRi7VFGNFaliVDX9H7196 Zqiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :references:in-reply-to:subject:cc:to:from:date:mime-version :dkim-signature; bh=oWfkkvTFMI3v4Qt0dxYoHXiDCf7AIHPUauNiL5WNkxE=; fh=TZm2oLGusi/DCFV6CH/z7sASNhPLc7GaaCGCndkKHsQ=; b=logj7Df0rA4+XCf/u9C72BE1NUtXrUCdj9fZTPJwb9FnChJ6wN9NxdMupP+ISszU9x n/kWf6mc6PN0GuOvc532ngU/rYSqepKYrn+Ez4+Tw9mqRxiw6UIJTo7RG8jMHBr/+iy2 ZqD3P3FPAM9Gf5/ejBFxw0fssi1awUkNiaFqa80t7G698QPg4J+evdgKQ/s9DBlLJikB ttmd6jTm3qV0oG9dniaLbGCb8AT9mBSdxdRWTdkZyPFHc8tzo9mL4Nyvpt+JX4J5e1Yj GEXKzKQ+Q4ki92rTcDxns1JrzFhELpJtIt5ZACkBsgYA3cFMgt96zA+83zlAdLUraX/I IDyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (bad version) header.i=@208.org header.s=dkim header.b=QPTPuMmC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m9-20020a654389000000b0055c8b7c0a31si2379546pgp.363.2023.07.14.00.40.23; Fri, 14 Jul 2023 00:40:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=neutral (bad version) header.i=@208.org header.s=dkim header.b=QPTPuMmC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234959AbjGNG6H (ORCPT + 99 others); Fri, 14 Jul 2023 02:58:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234906AbjGNG6F (ORCPT ); Fri, 14 Jul 2023 02:58:05 -0400 Received: from mail.208.org (unknown [183.242.55.162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 454342694 for ; Thu, 13 Jul 2023 23:58:03 -0700 (PDT) Received: from mail.208.org (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTP id 4R2MkJ2kqBzBJYck for ; Fri, 14 Jul 2023 14:58:00 +0800 (CST) Authentication-Results: mail.208.org (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=208.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=208.org; h= content-transfer-encoding:content-type:message-id:user-agent :references:in-reply-to:subject:to:from:date:mime-version; s= dkim; t=1689317880; x=1691909881; bh=5mGWjZ7vweUu5MUVjKWp/pFRO8o CNjW6DZ1h7SDItd4=; b=QPTPuMmCBiAzXVe4QSk+wwxH/34QvgBmiEAhOxzJ8jy ZVRlE0Vludb2MT9GdpzWDnBMC0iLyvep7wxMtIvq9XvWFR51bX4EErn+JG9Paikj mN24gv5Oj3MhBQ3iVosqYC5wF0VeKs2BRScCXCvx52RJbzqW5K7ELQCnX5JjIWAW BoIht24NJBmPUVDgq4fTlmYpFb66hKvsLpHuFS8rKvag6FWFs8RHSS+/g5IF6I9V /CciR6UYKBTTYqn8rftoNmxFonAP35dgPFeA81VBKOAiKkpeItcXRoHbfolp3EM3 afdK90K3oXz6ybrGeO4ArCigiztYe3qFiP63WeTC4Ig== X-Virus-Scanned: amavisd-new at mail.208.org Received: from mail.208.org ([127.0.0.1]) by mail.208.org (mail.208.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id UzKqv9VQ-vYN for ; Fri, 14 Jul 2023 14:58:00 +0800 (CST) Received: from localhost (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTPSA id 4R2MkH6z1yzBJFS7; Fri, 14 Jul 2023 14:57:59 +0800 (CST) MIME-Version: 1.0 Date: Fri, 14 Jul 2023 14:57:59 +0800 From: huzhi001@208suo.com To: pmladek@suse.com, tglx@linutronix.de, senozhatsky@chromium.org, adobriyan@gmail.com, akpm@linux-foundation.org Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: [PATCH] proc: Fix four errors in kmsg.c In-Reply-To: References: User-Agent: Roundcube Webmail Message-ID: <2f88487fa9f29eeb5a5bd4b6946a7e4c@208suo.com> X-Sender: huzhi001@208suo.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,RDNS_NONE,SPF_HELO_FAIL,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following checkpatch errors are removed: ERROR: "foo * bar" should be "foo *bar" ERROR: "foo * bar" should be "foo *bar" ERROR: "foo * bar" should be "foo *bar" ERROR: "foo * bar" should be "foo *bar" Signed-off-by: ZhiHu --- fs/proc/kmsg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/proc/kmsg.c b/fs/proc/kmsg.c index 2fc92a13f9f8..64025da60e2a 100644 --- a/fs/proc/kmsg.c +++ b/fs/proc/kmsg.c @@ -17,12 +17,12 @@ #include -static int kmsg_open(struct inode * inode, struct file * file) +static int kmsg_open(struct inode *inode, struct file *file) { return do_syslog(SYSLOG_ACTION_OPEN, NULL, 0, SYSLOG_FROM_PROC); } -static int kmsg_release(struct inode * inode, struct file * file) +static int kmsg_release(struct inode *inode, struct file *file) { (void) do_syslog(SYSLOG_ACTION_CLOSE, NULL, 0, SYSLOG_FROM_PROC); return 0;