Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1022886imu; Thu, 20 Dec 2018 08:55:11 -0800 (PST) X-Google-Smtp-Source: AFSGD/XoBuQBL5UH+OdHNmIwz1FOb+5f05vajve8Reo20CE2CtaKUUzcqmhXgWri8sNA7ODkDdjF X-Received: by 2002:a65:560e:: with SMTP id l14mr20470277pgs.168.1545324911514; Thu, 20 Dec 2018 08:55:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545324911; cv=none; d=google.com; s=arc-20160816; b=1ICYV0mjAbTUVF4PLo2jSIvJn7a8kGI8SS0dDqvNlCuQtYU6hwUCWPplm01nJZL+Lf yh4orIxvmoMExH3VzhFTBinxjsKB3ArxmU1trGfGiILoVZ7iQ2/EE/sBS92ikGokiaYy E0vzglJc2OUvM+0jOaUDYkFQpKAi2UO30gtJel98BMwPmnaj/30XvLw+2gVU6PktJAEW fjmOQV6qDuDSzahccKtm885ECDEbBUQ4sYgc4Hg7j+PApCj7wkRVaY6rkqpxZxIT0gDG fiUoOdw1/2ULlBjFZM4/DDYGZm0PKzdO0O/5sTvlHFTl4L/QKqVsVuz0ssgY4eIcNClt zZNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=1hEv6y2UxrtsTWpwNi6rvpcvi/yRd4Kogr2xgQTuN34=; b=R2TMya+1cwFb0UynezLC9FpRPgU8YbxXPhWFptk2xTojTy1n4S/Afn8VqakGLJ/JBi PWcHcmEDxXNOrV4uZi9cYdWV220k3t6pLug2EWR5nWtl15fbU+wrd2LOGAj09vfBcCxT tS7rxLBjTvngGP+wpxDv287XAXbn7916SdnjkkSZXbjLnRhw5zHc8gJIrBQXjsWdMbEU fBudeTP2iN/oEmJRC7BxcaK6kLlzKQYB3pHGHWnOWliQgmZToGABA099VaimXAYtqeSQ Pqt7RN9Ki+qwoCo6j2jHB74oZmGonhcjfh2kvIRt3/7H8IHwIMvXOfBp93NNVGsG9VKF FbqQ== 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 p127si19775168pfp.119.2018.12.20.08.54.51; Thu, 20 Dec 2018 08:55:11 -0800 (PST) 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 S1732943AbeLTQSe (ORCPT + 99 others); Thu, 20 Dec 2018 11:18:34 -0500 Received: from verein.lst.de ([213.95.11.211]:54003 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732881AbeLTQSe (ORCPT ); Thu, 20 Dec 2018 11:18:34 -0500 Received: by newverein.lst.de (Postfix, from userid 2407) id DF2A568AA6; Thu, 20 Dec 2018 17:18:32 +0100 (CET) Date: Thu, 20 Dec 2018 17:18:32 +0100 From: Christoph Hellwig To: Jens Axboe Cc: Linus Torvalds , kernel test robot , Christoph Hellwig , David Miller , LKML , lkp@01.org, linux-ide@vger.kernel.org Subject: Re: [ide] ec7d9c9ce8: WARNING:at_fs/proc/generic.c:#remove_proc_entry Message-ID: <20181220161832.GA19486@lst.de> References: <20181220091931.zcibvplow3oxzacs@inn2.lkp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 20, 2018 at 09:14:50AM -0700, Jens Axboe wrote: > Maybe the the tiny subset of IDE users don't actually have the proc > stuff enabled? A few months ago I did plenty of IDE testing with the > MQ conversion, but I never saw anything like this. I'm guessing that > I, too, did not have IDE_PROC_FS enabled. Or the tiny subset of ide users basically doesn't exist and the few platforms that use ide are basically bitrotting? > Christoph, do you want to post the one-liner fix for this one? See below: -- From c3550c617ffc48079fe6364a4fa3c7f75a09028b Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Thu, 20 Dec 2018 17:16:53 +0100 Subject: ide: fix a typo in the settings proc file name Fixes: ec7d9c9ce8 ("ide: replace ->proc_fops with ->proc_show") Reported-by: kernel test robot Signed-off-by: Christoph Hellwig --- drivers/ide/ide-proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ide/ide-proc.c b/drivers/ide/ide-proc.c index 45c997430332..0e51803de0e7 100644 --- a/drivers/ide/ide-proc.c +++ b/drivers/ide/ide-proc.c @@ -544,7 +544,7 @@ void ide_proc_port_register_devices(ide_hwif_t *hwif) drive->proc = proc_mkdir(drive->name, parent); if (drive->proc) { ide_add_proc_entries(drive->proc, generic_drive_entries, drive); - proc_create_data("setting", S_IFREG|S_IRUSR|S_IWUSR, + proc_create_data("settings", S_IFREG|S_IRUSR|S_IWUSR, drive->proc, &ide_settings_proc_fops, drive); } -- 2.19.2