Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2198961pxf; Sat, 27 Mar 2021 05:13:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzAQU6shoTRevPhFUt1KL2eKXdg78pgnd6s1tUTZmgd0ez3D1J9/ZBDywcJn3V1lgl8i+8z X-Received: by 2002:a17:906:1b42:: with SMTP id p2mr19985843ejg.236.1616847189743; Sat, 27 Mar 2021 05:13:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616847189; cv=none; d=google.com; s=arc-20160816; b=bxlhwSE1AROE2FHtJXfVsGDmNZo15CuJFcS8Hw/nKuoJsIMNwcTnfp3ArjtMg2m+cY HMtexhMzD0RylrshF5NLJouTITm8qJrd+Snoa8VaAsLb3HCw7cIzM3ZPgXaM08b+K59x YuDBqUybt9rbtEBlDiJ1kHK/xS3yE5TIRetNdHg6AStADWbDQQSUrsPZOvFx7KCva+DA tuRq7v9QffwHk2YJguF6z0FXsEGt1T8/7p1HLI4r2brLOsoZrVwfvnbeWBxlVC8IsdDY 1UXaaMCL6WzIDKf5wXUFoRdTDDmQ991dgPJ+zLUUn7SukDQ2tm3ZIxgmPtM5Dzz2xW/U xFjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=iYSAzuw3xPXw0P9/MgINfUvWwQMHWwJoMN+dMgkdG3s=; b=zSAAu7WyAN7Rq8SQ2VCBlhgMr9FNIbkyHoPXAmDXpTa2kjsJHPx4DaqCt8ExlVwyCC UFCU8miTyEjYoVrTP5+RH8oKZ0X+wdsMaNLwHO5AN3CInxSVROKnsBCn4GwXjKbRQN5p zAZSGDtW16LIBOTJmwZndvG4ut1IPUeYCvNllR/CGPgcUs5AbEzDmN7OGeZ+GskOIG5o SyrEthFnZKzXT39CLPWurDxy1jwBnhjJZFM40EGrwM9PMmS+ogHMxzpUlpQzcuOpY1dB lIR3stphz+QloTm/NaIkIWssBE6TNxGJTOqUaEbVK+qBZu5puJPF6/wNSJYsmYm7dPai ex6g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g3si8646002edr.463.2021.03.27.05.12.47; Sat, 27 Mar 2021 05:13:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231144AbhC0MLl (ORCPT + 99 others); Sat, 27 Mar 2021 08:11:41 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:15021 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230295AbhC0MLS (ORCPT ); Sat, 27 Mar 2021 08:11:18 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4F6yKt5qGmzPqb9; Sat, 27 Mar 2021 20:08:34 +0800 (CST) Received: from localhost.localdomain (10.67.165.24) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.498.0; Sat, 27 Mar 2021 20:11:01 +0800 From: Xiaofei Tan To: , , , CC: Xiaofei Tan , , , , Subject: [PATCH v3 09/12] ACPI: custom_method: fix a coding style issue Date: Sat, 27 Mar 2021 20:08:21 +0800 Message-ID: <1616846904-25719-10-git-send-email-tanxiaofei@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1616846904-25719-1-git-send-email-tanxiaofei@huawei.com> References: <1616846904-25719-1-git-send-email-tanxiaofei@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following coding style issue reported by checkpatch.pl ERROR: "foo * bar" should be "foo *bar" FILE: drivers/acpi/custom_method.c:22: +static ssize_t cm_write(struct file *file, const char __user * user_buf, Signed-off-by: Xiaofei Tan --- drivers/acpi/custom_method.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/custom_method.c b/drivers/acpi/custom_method.c index 7b54dc9..443fdf62 100644 --- a/drivers/acpi/custom_method.c +++ b/drivers/acpi/custom_method.c @@ -19,7 +19,7 @@ static struct dentry *cm_dentry; /* /sys/kernel/debug/acpi/custom_method */ -static ssize_t cm_write(struct file *file, const char __user * user_buf, +static ssize_t cm_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) { static char *buf; -- 2.8.1