Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751506AbbG3XmA (ORCPT ); Thu, 30 Jul 2015 19:42:00 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34988 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751255AbbG3Xl6 (ORCPT ); Thu, 30 Jul 2015 19:41:58 -0400 Date: Thu, 30 Jul 2015 19:41:57 -0400 From: Mike Snitzer To: Greg Kroah-Hartman Cc: Alasdair Kergon , Neil Brown , Alessandro Zummo , Alexandre Belloni , Oleg Drokin , Andreas Dilger , "Michael S. Tsirkin" , Wim Van Sebroeck , Christine Caulfield , David Teigland , Mark Fasheh , Joel Becker , linux-kernel@vger.kernel.org Subject: Re: char: make misc_deregister a void function Message-ID: <20150730234157.GA10250@redhat.com> References: <20150730225957.GA6760@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150730225957.GA6760@kroah.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1790 Lines: 43 On Thu, Jul 30 2015 at 6:59pm -0400, Greg Kroah-Hartman wrote: > From: Greg Kroah-Hartman > > With well over 200+ users of this api, there are a mere 12 users that > actually cheked the return value of this function. And all of them > really didn't do anything with that information as the system or module > was shutting down no matter what. > > So stop pretending like it matters, and just return void from > misc_deregister(). If something goes wrong in the call, you will get a > WARNING splat in the syslog so you know how to fix up your driver. > Other than that, there's nothing that can go wrong. > > Cc: Alasdair Kergon > Cc: Mike Snitzer > Cc: Neil Brown > Cc: Alessandro Zummo > Cc: Alexandre Belloni > Cc: Oleg Drokin > Cc: Andreas Dilger > Cc: "Michael S. Tsirkin" > Cc: Wim Van Sebroeck > Cc: Christine Caulfield > Cc: David Teigland > Cc: Mark Fasheh > Cc: Joel Becker > Signed-off-by: Greg Kroah-Hartman > > --- > > If the different subsystem maintainers want to give me an ack for this, > I'd appreciate it. I'd like to just take the single patch in through > the char-misc tree in one piece. For DM: Acked-by: Mike Snitzer -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/