From patchwork Fri Nov 24 06:59:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen \(ThunderTown\)" X-Patchwork-Id: 119551 Delivered-To: patch@linaro.org Received: by 10.80.225.132 with SMTP id k4csp1773979edl; Thu, 23 Nov 2017 23:02:19 -0800 (PST) X-Google-Smtp-Source: AGs4zMY6HT5Lmu/stJvDiKUYiIC2oNGqNLD8JwMoQNnie9fz+9mCnZ8gBCfG8nRpxXetx1eO9azY X-Received: by 10.101.65.200 with SMTP id b8mr26953354pgq.274.1511506939633; Thu, 23 Nov 2017 23:02:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511506939; cv=none; d=google.com; s=arc-20160816; b=foJD7ECZf4Io/K+9YrTgMffsaDMWz+ufONhesNLBo1aEKSFmAmQWTIQYE8J/ecpyZ1 fzht2vNw/D9swfIBwr4MHKGzeHW+/TEdNPhjNQ8YO3hTk0gF48CzLy1fntFOns24jCyn 2L5dvEg0ruIwPN5VLJI87HD56CN05j+8ETvXoBqPUvCvYvbcsi2eYmy43jCgspB4Nmj2 GQ3r5rtjX2NFAL2reCz3Yx8GhDnZfnofNepTlr9jp+5O3qcSEQEGrVZHE1KtXFkMYooF 8QXpMgw0lsdaK/1rcy53odB6gfiHr4HadHFYsIRnwfu4FTIEtSpFhx+5GDDniKkiIEsI Ud6w== 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=FbhmUPl/nTrJf9o7ZtLuGlSUpqY8nzuJQybb2BgD6a4=; b=QFkBSJyjrhAbQ7csrZCJSzcAir5iTSR8Vs08fntHTrnXIi/DB2Wro0cVxGdBlXzFaw 0C9PJ2DRnd2FCKZo/onsggIFlqDfGpdx4lGQaibVWEjVs52kkx4WoGUKQLJ6OfEfLa9B khxOxtAP/LL3ir6h139N+mh32swcg4HCfhk5DLqctte/e3fT0d1QLdicmq27u8jZrJNt RRSkjUMDXDFGzgJvnCg3cof1iF8BdE9TgS3P0WXvmIspqyfqzZAogrZGLbA7oOaJlKeb bMsJ88AE1rOf1zslC8/HKxXmKevtHU9Xqn+iKfWNSsahew2eOYo3HoQjyPsRslCMDldX 20mQ== 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 f66si19389280pfc.315.2017.11.23.23.02.19 for ; Thu, 23 Nov 2017 23:02:19 -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 S1751521AbdKXHCS (ORCPT ); Fri, 24 Nov 2017 02:02:18 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:43636 "EHLO huawei.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751136AbdKXHCS (ORCPT ); Fri, 24 Nov 2017 02:02:18 -0500 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 2D08D7A5AFB83; Fri, 24 Nov 2017 15:01:33 +0800 (CST) Received: from localhost (10.177.23.164) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.361.1; Fri, 24 Nov 2017 15:01:15 +0800 From: Zhen Lei To: Dmitry Torokhov , linux-input , linux-kernel CC: Hanjun Guo , Libin , "Kefeng Wang" , Zhen Lei Subject: [PATCH 1/1] Input: ims-pcu - fix typo in an error log Date: Fri, 24 Nov 2017 14:59:32 +0800 Message-ID: <1511506772-21412-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 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Tiny typo fixed in an error log. I found this when I backported the CVE-2017-16645 patch: ea04efee7635 ("Input: ims-psu - check if CDC union descriptor is sane") Signed-off-by: Zhen Lei --- 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; }