Received: by 10.213.65.68 with SMTP id h4csp706944imn; Fri, 6 Apr 2018 07:36:04 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+O44KCtIRT8CypPL3EYlLo/KmOtyxPNpgWHP6+OOEM5dpVZClxgX0pc5QKnuZC8eCyGIwX X-Received: by 2002:a17:902:a608:: with SMTP id u8-v6mr27842236plq.25.1523025363966; Fri, 06 Apr 2018 07:36:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523025363; cv=none; d=google.com; s=arc-20160816; b=gpDIUirLkc8jPbqhTiLJ/rDDdW007Us7qgbdioKqhZUbDFIVSnaqulxGi+3U/Ydum6 +2la491VXpDLv1gbhR5pfGuaz/KaSPT4FCOiUsYqH8z2ZpZVLYApoYRbdrHsMaO4W+TS gHENKZc3SsdT9bdq8ofXBLxVIDmKqOlAR2YLpTN5bMA0jqNogwciWCWo6EbWcYUvoRKF WTf0Ql+/s9KCFsYeRDLgN8YyJumLSKs9aKlmNktssfsEcOB5fdyB+6O1sI5Fatl6XQb9 lyQadcrwHhtCbWUVMab0eWajPHhslu+1apam+2Pbv0AOwjsnTAJJwFxUXDbzxyfY9v4q d5YQ== 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=2PvrT6SXtZ4oFEwUW1yGRV1/2ViYuzyEv7rktaNe5RY=; b=J10ba1lWzJeHz9NBTh80wmWtAX/FJdyW7IXtEu8aqEtdWfvMBCE0eW+eLRRxKUZFxj 6qPzMduLd81zBfrGNB1ZRflZt+RUYAOL7ieph5jDLNYKrAZiu+l9zsheajZhvqUl+DH9 /LlSPPv+XsjnNn/GIONlkh7R33/AlYSL9UXRku37ELxa6E7ZW4S7ZuCmLVDWqHTe2XIy xdbkvBxvTjnDguhfbC3IFJ2ItpTU1Bbvq79JSZLS0cOCeydtjYGwk+gf9fmqkeklpWbL /UFq4i3M9Fft9PkB60g/+g2r9uy33bwIicDl424QhVQLd2t1T5IIGFg7UD9GUSSnuJBH eM8w== 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 h1-v6si6195635plh.375.2018.04.06.07.35.49; Fri, 06 Apr 2018 07:36:03 -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 S1753046AbeDFOet (ORCPT + 99 others); Fri, 6 Apr 2018 10:34:49 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:59004 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756121AbeDFNfz (ORCPT ); Fri, 6 Apr 2018 09:35:55 -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 26D74DC0; Fri, 6 Apr 2018 13:35:55 +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.9 080/102] mei: remove dev_err message on an unsupported ioctl Date: Fri, 6 Apr 2018 15:24:01 +0200 Message-Id: <20180406084342.741589643@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180406084331.507038179@linuxfoundation.org> References: <20180406084331.507038179@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.9-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 @@ -551,7 +551,6 @@ static long mei_ioctl(struct file *file, break; default: - dev_err(dev->dev, ": unsupported ioctl %d.\n", cmd); rets = -ENOIOCTLCMD; }