Received: by 10.213.65.68 with SMTP id h4csp652982imn; Fri, 6 Apr 2018 06:49:23 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+xPQOw2ptoKCUQRYkcWIm/soBW5H1kIeda8+fXakz/MGm16LdJNZhTGD/JYNw+5CjlmUgQ X-Received: by 2002:a17:902:a60d:: with SMTP id u13-v6mr27435343plq.305.1523022563330; Fri, 06 Apr 2018 06:49:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523022563; cv=none; d=google.com; s=arc-20160816; b=LrTcIVI4ZGAB/Ip7Uw+BOJO37pF/7j69I7zqZ0qmSN5HODL5yimPiI5CBbDMC3ih/x HCIy/SjWwZ3lQ9P62jZwvIMnkdECuu1kfYaHgDdi52cx75350pf7uNUxp1TaoQ+4DqOU e769KnObwc3q/MvH0bLJOidwi0N6YbPBJGts5aZrVnrkOhCj3StLrkfrYPn8GU+Hcgi1 s19HEKqWPQTQVuT1+cSrTWVXHq40G5BG834vGF+hLdYvviI7jOeGzmpdY4+U4qjjZghh s7AXCx3uGfh3HSQG0LA8uKOzRYOrWB+egJMNjIkYESCxQyCSkaAXIK6Iy3GHZiGddYnk ehlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=M3s/wJ8NI5pfuhbFhm5QwzMVAogIczvrh4B3WqOy4N0=; b=QzLOaYVF0TcGHkXxi2RPA6BaUyvqOssv7KdHXv11FrvKtxY/iwGwoMz6iFbATyr81T v6PQgOFc03ZjsPh+g1on6dLmF0x5LHUO9fWO1L0PbquzFe6+a76zwxaQ5XFjIbZMli2V s7SPs4958Zs7JXUSkSNujn/hEd3sOxwqh1yapUGDsW65TwWK622omR8f6F1sF69sHdiX ElLu7JsggaNqB9lnP0tRG79w7LJOnNUJF7051GJpEBQOxS07qjctHTP1e06kU5sDnfGZ 8B4mtKNa2RiSeNLALofEkXkn9Wyo8Gxu/o7kZUqP29VNFj/dC5c/iCdyCm9sv6xyCu5S dZQQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 s1-v6si8537226plq.431.2018.04.06.06.49.09; Fri, 06 Apr 2018 06:49:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933100AbeDFNqf (ORCPT + 99 others); Fri, 6 Apr 2018 09:46:35 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:38120 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933070AbeDFNp3 (ORCPT ); Fri, 6 Apr 2018 09:45:29 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 87799E23; Fri, 6 Apr 2018 13:45:28 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Colin Ian King Subject: [PATCH 4.16 06/31] mei: remove dev_err message on an unsupported ioctl Date: Fri, 6 Apr 2018 15:24:31 +0200 Message-Id: <20180406084341.906336344@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180406084340.999820380@linuxfoundation.org> References: <20180406084340.999820380@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.16-stable review patch. If anyone has any objections, please let me know. ------------------ From: Colin Ian King commit bb0829a741792b56c908d7745bc0b2b540293bcc upstream. Currently the driver spams the kernel log on unsupported ioctls which is unnecessary as the ioctl returns -ENOIOCTLCMD to indicate this anyway. I suspect this was originally for debugging purposes but it really is not required so remove it. Signed-off-by: Colin Ian King Cc: stable Signed-off-by: Greg Kroah-Hartman --- drivers/misc/mei/main.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/misc/mei/main.c +++ b/drivers/misc/mei/main.c @@ -507,7 +507,6 @@ static long mei_ioctl(struct file *file, break; default: - dev_err(dev->dev, ": unsupported ioctl %d.\n", cmd); rets = -ENOIOCTLCMD; }