Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2008857pxf; Fri, 26 Mar 2021 23:52:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRcM6ut9TxAGCF90WyU4+z2sD+hBNYuoKYYgsPus+2jFr4ifk2MuqytwoPOMbanJeGLsDd X-Received: by 2002:a05:6402:14cc:: with SMTP id f12mr19699997edx.19.1616827929929; Fri, 26 Mar 2021 23:52:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616827929; cv=none; d=google.com; s=arc-20160816; b=oUQwKP6MdWipT/UvAE9Ae50hkIkTGmQIkRsQ397/0sNJ027PFgeJ0VtPqMW3efuhNy pwAaEgQmDRp6utitgV/JY9qheSE5xptSdQr7HKnfZ/OSup8GpT4bNuN3MSkGpji0Bh3H wKQLYFCyK3NHHqfGuPW2D6eceBGtbnuKaS2AdShewgy0wcXQKRwypULCj9CA7XjlE/gx rZfh/+G0Wq+CAaIa3PaDe6SCCCoaz7FSKa5JTBmcyTsFQu3n010d6S6/jdjhFso7TT3Z b5oKCIf2M+vV2cJ+pFOX87NwdZimKbv73TDtGuN8W3phyhMhapFWyUYdJoM4psIFXSuR /IdQ== 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=zbtG21A9H0MKc9et2HI1h+46dKy1g1192fzVak/o1ee1qasDcKRo+OT5WQBOaGslxO VaNnFgQWihst4co3f0qasa8i3AIK9S5c5/V1bMHrZ9pf1k+/ItdLjqaUuI8Nt0giWXXi wNv5gIv4bhlCFqZMmSJ14B+AMyUZ7TN6wIfd7b3DHLQMWHHBj0ggF8dw/03xkinDVNZ7 4AAK8Jxfq3L4CO4HH4I1obsW3yk6TbXhWOPGEYU61yvHHcJlOdy3Dw/eWci79X4NOnay KziH3FX1lHC3tgE6o7jsN1ySntqHqXFx6muOxW2WQd4VtkG+/L8HRcMgdE0J0Iq9r8FQ NSQg== 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 i18si8537442ejk.685.2021.03.26.23.51.48; Fri, 26 Mar 2021 23:52: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 S231455AbhC0GoZ (ORCPT + 99 others); Sat, 27 Mar 2021 02:44:25 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:15329 "EHLO szxga07-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231220AbhC0Gn7 (ORCPT ); Sat, 27 Mar 2021 02:43:59 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4F6q4l4f3jz93nL; Sat, 27 Mar 2021 14:41:43 +0800 (CST) Received: from localhost.localdomain (10.67.165.24) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.498.0; Sat, 27 Mar 2021 14:43:38 +0800 From: Xiaofei Tan To: , , , CC: Xiaofei Tan , , , , Subject: [PATCH 12/15] ACPI: custom_method: fix a coding style issue Date: Sat, 27 Mar 2021 14:40:53 +0800 Message-ID: <1616827256-51840-13-git-send-email-tanxiaofei@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1616827256-51840-1-git-send-email-tanxiaofei@huawei.com> References: <1616827256-51840-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