[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140617192152.GA4319@kroah.com>
Date: Tue, 17 Jun 2014 12:21:52 -0700
From: Greg KH <gregkh@...uxfoundation.org>
To: James Bottomley <James.Bottomley@...senPartnership.com>
Cc: Christoph Lameter <cl@...two.org>, Jeff Liu <jeff.liu@...cle.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Pekka Enberg <penberg@...nel.org>,
Matt Mackall <mpm@...enic.com>, benh@...nel.crashing.org,
paulus@...ba.org, schwidefsky@...ibm.com,
heiko.carstens@...ibm.com, herbert@...dor.apana.org.au,
davem@...emloft.net, stefanr@...6.in-berlin.de, joro@...tes.org,
jejb@...isc-linux.org, deller@....de, bhelgaas@...gle.com,
clm@...com, Josef Bacik <jbacik@...com>, swhiteho@...hat.com,
bharrosh@...asas.com, bhalevy@...marydata.com, ccaulfie@...hat.com,
teigland@...hat.com, Theodore Ts'o <tytso@....edu>,
adilger.kernel@...ger.ca, jaegeuk@...nel.org,
cm224.lee@...sung.com, Mark Fasheh <mfasheh@...e.com>,
Joel Becker <jlbec@...lplan.org>, casey@...aufler-ca.com,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 01/24] kobject: return actual error on kset_create_and_add
On Tue, Jun 17, 2014 at 09:54:49AM -0700, James Bottomley wrote:
> On Tue, 2014-06-17 at 11:29 -0500, Christoph Lameter wrote:
> > On Tue, 17 Jun 2014, James Bottomley wrote:
> >
> > > What useful information does this supply? The current assumption on
> > > NULL return is -ENOMEM ... what's the interesting case where this
> > > assumption is wrong?
> >
> > No idea. Sysfs just ignored all error codes and returns NULL right now.
> > If it is indeed just ENOMEN then we have no issue.
>
> Well, I think when we have that justification, then we can decide on the
> merits of the patch set.
There is one error patch in this function that is not due to a -ENOMEM
error, but that will generate a huge message in the syslog describing
what happened (created with the same name, or some other reason), so it
would not make sense to duplicate another error message in the log by
the caller code.
So again, I don't see any use for this patch at all, except to cause
problems (mix of maintainers applying the follow-on patches and others
not).
Everyone, please do not apply any of these patches that were sent to
you in this series.
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists