Received: by 10.213.65.68 with SMTP id h4csp666042imn; Fri, 6 Apr 2018 07:01:37 -0700 (PDT) X-Google-Smtp-Source: AIpwx48krTm7WfFqPh2/57LMNeY6ml/m5kZaIbXFhHEHlBU0qTp9NKLGXZOV2hnRNmZ4VljJhqzt X-Received: by 10.99.121.131 with SMTP id u125mr18209115pgc.48.1523023297910; Fri, 06 Apr 2018 07:01:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523023297; cv=none; d=google.com; s=arc-20160816; b=iWJslHpgrKfcaSg8WVCkcsvHcs28qs6SaamvSsmBXXif3k6cgQZ0LiU1BjY0ShJzKl LcZzyx6wfeRRDLZqoByPNGYQdbA0Tes5TbE8HDxsJsHRc6LtRaLZNwXqlrK6NvCR791C YPQPMERE4gVbkb6X+uINZvJuiWmmoTBy1yVjABw2iPszyEsqEAMB2P4D54+/FmiG4Sb7 kkX2Iae1R0j3bWCed1kFqaMkYVOrfDD8+2l2Yy76fAFWh5+GGIAgJonOjxOcQlLOklXS CkXlwBS/ja8O6LXkFOAGccV5ccHhrs34aVMbq3JgTS5Aa3ZkwGv0SHXAEyT+5VMn1RXp mdAw== 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=LLb/3uOLtx9ddPwcJfApz5excuX/k2hhXSNwZnbUivs=; b=qrhD3DtM9cFVufo9+KoKe1kVJ9k60RW6r2U/rc2XSPEdZLuPbGdG8kPaK2Pl30t8FF OJz51Ul8aMHKW1jCKm+A+PyWuZG3gc4Va6//+WCmjXtWXn6S+wDjnf+/EFCNiHyH9wxF 5wnr3KYAv+XWS+bAc6bCquPbKySVw8iR7ILm14zlHdkedAMSRVrC97mJn43ToKhLu8Lw TYgC5M4L70Ypbt9dJWr4MIqtZV+46/pQ8NKiX93wpZmFUjQqdzDSgOWAYUj8okLLFdP3 s+U/gsZs31aY7MKIr8xfbTIvkYjU/s3ai/W+M6irGwzFR/79awmd5yEesA18V36a7/bH SM+w== 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 135si7991192pfc.21.2018.04.06.07.01.22; Fri, 06 Apr 2018 07:01:36 -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 S1756606AbeDFNmf (ORCPT + 99 others); Fri, 6 Apr 2018 09:42:35 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:37032 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756594AbeDFNmd (ORCPT ); Fri, 6 Apr 2018 09:42:33 -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 A7821DB5; Fri, 6 Apr 2018 13:42:32 +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.15 45/72] mei: remove dev_err message on an unsupported ioctl Date: Fri, 6 Apr 2018 15:24:20 +0200 Message-Id: <20180406084352.750538432@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180406084349.367583460@linuxfoundation.org> References: <20180406084349.367583460@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.15-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; }