From patchwork Fri Nov 24 08:29:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen \(ThunderTown\)" X-Patchwork-Id: 119552 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp1893957qgn; Fri, 24 Nov 2017 00:31:00 -0800 (PST) X-Google-Smtp-Source: AGs4zMaiHaMraFlCE4qQg0qTzZBm6Rj1Di8dS7MaoKTJAaUlSxQ6+kfRNiwIqW1j4LI9o/QyQ3Cp X-Received: by 10.99.124.85 with SMTP id l21mr27045860pgn.85.1511512260433; Fri, 24 Nov 2017 00:31:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511512260; cv=none; d=google.com; s=arc-20160816; b=ZyLUPJb9R0YvD6vbTQljbczHW+YGdxi/xOMbSbGem0rxNSpj+im1mFrROfYBzdyzTw zL+cvthCpFD8lpJ8d92qrzozyCoItCnE6ILT4U3GC61bq7ef8BaAJfeeLdn8scGpXYtY XG+Z55Ur/FprUdyvkOmFnQ7QNRBXM5yaBu6uODLhfFdcpIr7sZn5pX0aDp9lAN9ixAwH qzz4ZIbH3LkZ+x0pk9s8yQi15Na5lZReHIT56Gm47Uv7kgnRJQcTR/B6M5h31BfuAAj5 7/SvqgjmN1JccysPcGyyYT3dGfw5uGSj8iRSASncSuKXgbCwS86lNObqB4kezMTHCQku /Qog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=DIYSjJucAQTutrJusBNa4AJpq7IuVMbeupotxy5iLzQ=; b=P3gHYkdclBzyBSay5ED3o5qeDNaEpGADtbl12QReuVokSjWw4UdQQ1Njpq+/BI/S/y y2PFYmtBqLLyXH+YCelFmOEqVQVnuxR0i5c7DQC++axv+dD9HnyIaai8cccR0VlnimmL YxY15Y13NNkLLdk5zX6Vnd7/Wb5iAft/JnECqCRs4HmP2OsvXoern0tcvE22dehrXMqw Sa+yarj0RozbaM4G3DuKMEfKhul+AWOuEB5ijpjzdnxG1nZZpHT37NeOy6b8M+OaifOQ 8e6fZw5sUmHmq6G/jWYdM2TZ8FuMcGVRxIWO6hX8f0vdxVtN2p/L+xqV/iSReT4sJhSa wkrQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-input-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-input-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u73si2992001pfi.245.2017.11.24.00.31.00 for ; Fri, 24 Nov 2017 00:31:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-input-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-input-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-input-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752299AbdKXIa7 (ORCPT ); Fri, 24 Nov 2017 03:30:59 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:11416 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752113AbdKXIa6 (ORCPT ); Fri, 24 Nov 2017 03:30:58 -0500 Received: from 172.30.72.58 (EHLO DGGEMS406-HUB.china.huawei.com) ([172.30.72.58]) by dggrg04-dlp.huawei.com (MOS 4.4.6-GA FastPath queued) with ESMTP id DLK18337; Fri, 24 Nov 2017 16:30:55 +0800 (CST) Received: from localhost (10.177.23.164) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.361.1; Fri, 24 Nov 2017 16:30:11 +0800 From: Zhen Lei To: Dmitry Torokhov , Joe Perches , linux-input , linux-kernel CC: Hanjun Guo , Libin , "Kefeng Wang" , Zhen Lei Subject: [PATCH v2 1/1] Input: ims-pcu - fix typo in an error log Date: Fri, 24 Nov 2017 16:29:57 +0800 Message-ID: <1511512197-14996-1-git-send-email-thunder.leizhen@huawei.com> X-Mailer: git-send-email 1.9.5.msysgit.0 MIME-Version: 1.0 X-Originating-IP: [10.177.23.164] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020202.5A17D8C0.0080, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: d6765b41fbb5ea49bba8d7e1b8beb23f Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org 1. change "to" to "too". 2. move ")" to the front of "\n", which discovered by Joe Perches. Signed-off-by: Zhen Lei Reviewed-by: Joe Perches --- drivers/input/misc/ims-pcu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.8.3 -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/input/misc/ims-pcu.c b/drivers/input/misc/ims-pcu.c index ae47312..253ae8e 100644 --- a/drivers/input/misc/ims-pcu.c +++ b/drivers/input/misc/ims-pcu.c @@ -1651,7 +1651,7 @@ static void ims_pcu_buffers_free(struct ims_pcu *pcu) return union_desc; dev_err(&intf->dev, - "Union descriptor to short (%d vs %zd\n)", + "Union descriptor too short (%d vs %zd)\n", union_desc->bLength, sizeof(*union_desc)); return NULL; }