Received: by 10.213.65.68 with SMTP id h4csp644458imn; Fri, 6 Apr 2018 06:40:41 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/Hb/e5DG0XdqmBhnxVYZp+P34EzX97UVIFpjXQa7LqaNkJT9pf9+Gb8gLqr4u27fnG2Gi5 X-Received: by 2002:a17:902:6b01:: with SMTP id o1-v6mr26866740plk.350.1523022041815; Fri, 06 Apr 2018 06:40:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523022041; cv=none; d=google.com; s=arc-20160816; b=NCBksWCkEEOCIvySF+QQCPiBPCELiP+6RVf0e9r6gXff7Q8bmYOvx2zfFeEbTqc7Tr hrJqc81Cp7JaRtZ8aCP6tF+OOu4Sa6rJREe+tOacn8TyN+OLa/8IDQSxaLfkuO0Jo1fC xl3y2k3SYiTjUdbnp6iQlsBHbvA93tJLXhoBiW+oNwPRWIeo/NrLllyBmRY5ZGpJaOWP Nlu3SFQetqyoZ1SnxwWka5C0wPz+tnlbLhiYAwabxwtV0uoPxxRlhVNFzqYzfw1sMaMG dFgcwHsYizM57JvtDfisbJ72joV716t7B0gxKfxw/BUbMQP1hkCySmf2nll6z49vBf00 YRrg== 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=ydX14m9p0/84dVPbDgd1pEcQeAFvnqnLy3yA/eOjlBI=; b=fJF9lg4PzRGymcAw7O1Z3u8cgT0LZrr5tm9Dt/E3togfo9DStePP5y/4HLE98tU9b6 g1rXW3Vc/0oLtcv7F6t1059sK6Um+27slsDu0vCikU7YVA/u0ZER9OX0kgXHlW3BH34T WN+HVNi5RyH64FCddD+6rb1ZXJXkQHp45HxDXIUJpbjI47xcFUUB6cvdmBSdXc4fDGMF RjbsWSljWVQz9+AgqcJPOHfNxoNvfRkYHm17qK2IGas/VrQhSdWmJW8OojO8Tp5mIdTv aqNWSk10aOiGNrWPqc47K2a3hCiMzSU5uROn/bHl+kNY2gcewk2HoeWMQ0Wez2/TMM9f S9sA== 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 b8-v6si10924720pla.272.2018.04.06.06.40.27; Fri, 06 Apr 2018 06:40:41 -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 S932571AbeDFNjL (ORCPT + 99 others); Fri, 6 Apr 2018 09:39:11 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:34158 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932552AbeDFNjG (ORCPT ); Fri, 6 Apr 2018 09:39:06 -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 B8F99D60; Fri, 6 Apr 2018 13:39:01 +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.14 42/67] mei: remove dev_err message on an unsupported ioctl Date: Fri, 6 Apr 2018 15:24:12 +0200 Message-Id: <20180406084347.079689948@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180406084341.225558262@linuxfoundation.org> References: <20180406084341.225558262@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.14-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; }