[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAO3upoZQ0QXc5OjvhJbwN42QE71m6ABvLb2WM_iFVWd64iGgSg@mail.gmail.com>
Date: Mon, 16 Jul 2018 14:14:27 -0700
From: Todd Poynor <toddpoynor@...il.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Rob Springer <rspringer@...gle.com>,
John Joseph <jnjoseph@...gle.com>,
Ben Chan <benchan@...omium.org>, devel@...verdev.osuosl.org,
Zhongze Hu <frankhu@...omium.org>,
lkml <linux-kernel@...r.kernel.org>,
Simon Que <sque@...omium.org>,
Guenter Roeck <groeck@...omium.org>,
Todd Poynor <toddpoynor@...gle.com>,
Dmitry Torokhov <dtor@...omium.org>
Subject: Re: [PATCH 05/18] staging: gasket: sysfs mapping creation fixups
On Fri, Jul 13, 2018 at 11:32 PM, Greg Kroah-Hartman
<gregkh@...uxfoundation.org> wrote:
> On Fri, Jul 13, 2018 at 10:58:03PM -0700, Todd Poynor wrote:
>> From: Todd Poynor <toddpoynor@...gle.com>
>>
>> Return EBUSY for attempt to create a mapping already in use.
>
> Why?
The existing code returns EINVAL which often means something bogus was
requested, whereas EBUSY is sometimes used for requesting something
already in use. If that's not an error typically returned in this
situation I'm happy to drop it.
>
>> Remove stale pointers on error allocating attr array.
>
> This should be a different patch.
Will do.
>
> thanks,
>
> greg k-h
--
Todd
Powered by blists - more mailing lists