linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Documentation: fix spelling mistake, EACCESS -> EACCES
@ 2018-10-26 17:25 Colin King
  2018-10-26 18:20 ` Miguel Ojeda
  2018-11-07 22:31 ` Jonathan Corbet
  0 siblings, 2 replies; 9+ messages in thread
From: Colin King @ 2018-10-26 17:25 UTC (permalink / raw)
  To: Jeremy Kerr, Jonathan Corbet, David Airlie, Maarten Lankhorst,
	Maxime Ripard, Sean Paul, linuxppc-dev, linux-doc
  Cc: kernel-janitors, linux-kernel

From: Colin Ian King <colin.king@canonical.com>

Trivial fix to a spelling mistake of the error access name EACCESS,
rename to EACCES

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 Documentation/filesystems/spufs.txt | 2 +-
 Documentation/gpu/drm-uapi.rst      | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/filesystems/spufs.txt b/Documentation/filesystems/spufs.txt
index 1343d118a9b2..eb9e3aa63026 100644
--- a/Documentation/filesystems/spufs.txt
+++ b/Documentation/filesystems/spufs.txt
@@ -452,7 +452,7 @@ RETURN VALUE
 
 
 ERRORS
-       EACCESS
+       EACCES
               The  current  user does not have write access on the spufs mount
               point.
 
diff --git a/Documentation/gpu/drm-uapi.rst b/Documentation/gpu/drm-uapi.rst
index a2214cc1f821..f2f079e91b4c 100644
--- a/Documentation/gpu/drm-uapi.rst
+++ b/Documentation/gpu/drm-uapi.rst
@@ -190,11 +190,11 @@ ENOSPC:
 
         Simply running out of kernel/system memory is signalled through ENOMEM.
 
-EPERM/EACCESS:
+EPERM/EACCES:
         Returned for an operation that is valid, but needs more privileges.
         E.g. root-only or much more common, DRM master-only operations return
         this when when called by unpriviledged clients. There's no clear
-        difference between EACCESS and EPERM.
+        difference between EACCES and EPERM.
 
 ENODEV:
         Feature (like PRIME, modesetting, GEM) is not supported by the driver.
-- 
2.19.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PATCH] Documentation: fix spelling mistake, EACCESS -> EACCES
  2018-10-26 17:25 [PATCH] Documentation: fix spelling mistake, EACCESS -> EACCES Colin King
@ 2018-10-26 18:20 ` Miguel Ojeda
  2018-10-26 18:40   ` Matthew Wilcox
  2018-11-07 22:31 ` Jonathan Corbet
  1 sibling, 1 reply; 9+ messages in thread
From: Miguel Ojeda @ 2018-10-26 18:20 UTC (permalink / raw)
  To: colin.king
  Cc: jk, Jonathan Corbet, Dave Airlie, maarten.lankhorst,
	maxime.ripard, sean, linuxppc-dev, Linux Doc Mailing List,
	kernel-janitors, linux-kernel

On Fri, Oct 26, 2018 at 7:27 PM Colin King <colin.king@canonical.com> wrote:
>
> From: Colin Ian King <colin.king@canonical.com>
>
> Trivial fix to a spelling mistake of the error access name EACCESS,
> rename to EACCES

? It is not a typo, it is the name of the error (POSIX). Same thing
for the rest of the patches.

Cheers,
Miguel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] Documentation: fix spelling mistake, EACCESS -> EACCES
  2018-10-26 18:20 ` Miguel Ojeda
@ 2018-10-26 18:40   ` Matthew Wilcox
  2018-10-26 18:53     ` Miguel Ojeda
  0 siblings, 1 reply; 9+ messages in thread
From: Matthew Wilcox @ 2018-10-26 18:40 UTC (permalink / raw)
  To: Miguel Ojeda
  Cc: colin.king, jk, Jonathan Corbet, Dave Airlie, maarten.lankhorst,
	maxime.ripard, sean, linuxppc-dev, Linux Doc Mailing List,
	kernel-janitors, linux-kernel

On Fri, Oct 26, 2018 at 08:20:12PM +0200, Miguel Ojeda wrote:
> On Fri, Oct 26, 2018 at 7:27 PM Colin King <colin.king@canonical.com> wrote:
> >
> > From: Colin Ian King <colin.king@canonical.com>
> >
> > Trivial fix to a spelling mistake of the error access name EACCESS,
> > rename to EACCES
> 
> ? It is not a typo, it is the name of the error (POSIX). Same thing
> for the rest of the patches.

Are you sure?  From open(2):

       EACCES The  requested access to the file is not allowed, or search per‐
              mission is denied for one of the directories in the path  prefix
              of  pathname,  or the file did not exist yet and write access to
              the parent directory is not  allowed.   (See  also  path_resolu‐
              tion(7).)

include/uapi/asm-generic/errno-base.h:#define   EACCES          13      /* Permission denied */


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] Documentation: fix spelling mistake, EACCESS -> EACCES
  2018-10-26 18:40   ` Matthew Wilcox
@ 2018-10-26 18:53     ` Miguel Ojeda
  2018-10-26 18:54       ` Miguel Ojeda
  0 siblings, 1 reply; 9+ messages in thread
From: Miguel Ojeda @ 2018-10-26 18:53 UTC (permalink / raw)
  To: Matthew Wilcox
  Cc: colin.king, jk, Jonathan Corbet, Dave Airlie, maarten.lankhorst,
	maxime.ripard, sean, linuxppc-dev, Linux Doc Mailing List,
	kernel-janitors, linux-kernel

On Fri, Oct 26, 2018 at 8:40 PM Matthew Wilcox <willy@infradead.org> wrote:
>
> On Fri, Oct 26, 2018 at 08:20:12PM +0200, Miguel Ojeda wrote:
> > On Fri, Oct 26, 2018 at 7:27 PM Colin King <colin.king@canonical.com> wrote:
> > >
> > > From: Colin Ian King <colin.king@canonical.com>
> > >
> > > Trivial fix to a spelling mistake of the error access name EACCESS,
> > > rename to EACCES
> >
> > ? It is not a typo, it is the name of the error (POSIX). Same thing
> > for the rest of the patches.
>
> Are you sure?  From open(2):
>
>        EACCES The  requested access to the file is not allowed, or search per‐
>               mission is denied for one of the directories in the path  prefix
>               of  pathname,  or the file did not exist yet and write access to
>               the parent directory is not  allowed.   (See  also  path_resolu‐
>               tion(7).)
>
> include/uapi/asm-generic/errno-base.h:#define   EACCES          13      /* Permission denied */

I thought you were doing the reverse change. Never mind! :-)

(Btw, the POSIX reference is
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/errno.h.html#tag_13_09,
in case you want to include it or are curious)

Cheers,
Miguel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] Documentation: fix spelling mistake, EACCESS -> EACCES
  2018-10-26 18:53     ` Miguel Ojeda
@ 2018-10-26 18:54       ` Miguel Ojeda
  0 siblings, 0 replies; 9+ messages in thread
From: Miguel Ojeda @ 2018-10-26 18:54 UTC (permalink / raw)
  To: Matthew Wilcox
  Cc: colin.king, jk, Jonathan Corbet, Dave Airlie, maarten.lankhorst,
	maxime.ripard, sean, linuxppc-dev, Linux Doc Mailing List,
	kernel-janitors, linux-kernel

On Fri, Oct 26, 2018 at 8:53 PM Miguel Ojeda
<miguel.ojeda.sandonis@gmail.com> wrote:
>
> On Fri, Oct 26, 2018 at 8:40 PM Matthew Wilcox <willy@infradead.org> wrote:
> >
> > On Fri, Oct 26, 2018 at 08:20:12PM +0200, Miguel Ojeda wrote:
> > > On Fri, Oct 26, 2018 at 7:27 PM Colin King <colin.king@canonical.com> wrote:
> > > >
> > > > From: Colin Ian King <colin.king@canonical.com>
> > > >
> > > > Trivial fix to a spelling mistake of the error access name EACCESS,
> > > > rename to EACCES
> > >
> > > ? It is not a typo, it is the name of the error (POSIX). Same thing
> > > for the rest of the patches.
> >
> > Are you sure?  From open(2):
> >
> >        EACCES The  requested access to the file is not allowed, or search per‐
> >               mission is denied for one of the directories in the path  prefix
> >               of  pathname,  or the file did not exist yet and write access to
> >               the parent directory is not  allowed.   (See  also  path_resolu‐
> >               tion(7).)
> >
> > include/uapi/asm-generic/errno-base.h:#define   EACCES          13      /* Permission denied */
>
> I thought you were doing the reverse change. Never mind! :-)
>
> (Btw, the POSIX reference is
> http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/errno.h.html#tag_13_09,
> in case you want to include it or are curious)

Sorry Matthew, thought I was answering to Colin. I should go to rest.

Cheers,
Miguel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] Documentation: fix spelling mistake, EACCESS -> EACCES
  2018-10-26 17:25 [PATCH] Documentation: fix spelling mistake, EACCESS -> EACCES Colin King
  2018-10-26 18:20 ` Miguel Ojeda
@ 2018-11-07 22:31 ` Jonathan Corbet
  2018-11-08  0:38   ` Jeremy Kerr
  1 sibling, 1 reply; 9+ messages in thread
From: Jonathan Corbet @ 2018-11-07 22:31 UTC (permalink / raw)
  To: Colin King
  Cc: Jeremy Kerr, David Airlie, Maarten Lankhorst, Maxime Ripard,
	Sean Paul, linuxppc-dev, linux-doc, kernel-janitors,
	linux-kernel

On Fri, 26 Oct 2018 18:25:49 +0100
Colin King <colin.king@canonical.com> wrote:

> Trivial fix to a spelling mistake of the error access name EACCESS,
> rename to EACCES
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  Documentation/filesystems/spufs.txt | 2 +-
>  Documentation/gpu/drm-uapi.rst      | 4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)

Applied, thanks.  

This is the first patch to spufs.txt since 2006...I wonder if that stuff
is being used by anybody...

jon

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] Documentation: fix spelling mistake, EACCESS -> EACCES
  2018-11-07 22:31 ` Jonathan Corbet
@ 2018-11-08  0:38   ` Jeremy Kerr
  2018-11-12 12:57     ` Michael Ellerman
  0 siblings, 1 reply; 9+ messages in thread
From: Jeremy Kerr @ 2018-11-08  0:38 UTC (permalink / raw)
  To: Jonathan Corbet, Colin King
  Cc: David Airlie, Maarten Lankhorst, Maxime Ripard, Sean Paul,
	linuxppc-dev, linux-doc, kernel-janitors, linux-kernel,
	Michael Ellerman, linuxppc-dev

Hi Jon,

>> Signed-off-by: Colin Ian King <colin.king@canonical.com>
>> ---
>>   Documentation/filesystems/spufs.txt | 2 +-
>>   Documentation/gpu/drm-uapi.rst      | 4 ++--
>>   2 files changed, 3 insertions(+), 3 deletions(-)
> 
> Applied, thanks.
> 
> This is the first patch to spufs.txt since 2006...I wonder if that stuff
> is being used by anybody...

Anyone who is using the vector processors on the Cell BE processors will
be using it. However, that hardware is becoming pretty rare now.

We'll want to remove the spufs bits if/when we drop support for the cell
platforms (IBM QSxx, PS3, celleb). mpe: any ides on that? Do you have a 
policy for dropping platform support?

Cheers,


Jeremy

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] Documentation: fix spelling mistake, EACCESS -> EACCES
  2018-11-08  0:38   ` Jeremy Kerr
@ 2018-11-12 12:57     ` Michael Ellerman
  2018-11-12 20:15       ` Geoff Levand
  0 siblings, 1 reply; 9+ messages in thread
From: Michael Ellerman @ 2018-11-12 12:57 UTC (permalink / raw)
  To: Jeremy Kerr, Jonathan Corbet, Colin King, Geoff Levand
  Cc: David Airlie, Maarten Lankhorst, Maxime Ripard, Sean Paul,
	linuxppc-dev, linux-doc, kernel-janitors, linux-kernel,
	linuxppc-dev

Jeremy Kerr <jk@ozlabs.org> writes:
> Hi Jon,
>
>>> Signed-off-by: Colin Ian King <colin.king@canonical.com>
>>> ---
>>>   Documentation/filesystems/spufs.txt | 2 +-
>>>   Documentation/gpu/drm-uapi.rst      | 4 ++--
>>>   2 files changed, 3 insertions(+), 3 deletions(-)
>> 
>> Applied, thanks.
>> 
>> This is the first patch to spufs.txt since 2006...I wonder if that stuff
>> is being used by anybody...
>
> Anyone who is using the vector processors on the Cell BE processors will
> be using it. However, that hardware is becoming pretty rare now.
>
> We'll want to remove the spufs bits if/when we drop support for the cell
> platforms (IBM QSxx, PS3, celleb). mpe: any ides on that? Do you have a 
> policy for dropping platform support?

I don't have a policy. We discussed it a bit at maintainer summit, that
basically boiled down to stuff should get removed when it is not used
much and/or is causing undue maintenance burden - both of which are
fairly arbitrary criteria.

My feeling is spufs is not causing anyone much work, it does get hit by
some VFS updates but it's just one of many many filesystems, so the
incremental overhead is pretty small I think - though VFS people may
disagree :)

I still have a working IBM QS22, and Geoff is still maintaining PS3,
celleb is gone.

Basically we're keeping it around in case people are still using it on
their PS3s. I don't know how we gauge how many people that is without
removing support and seeing who is annoyed. But even if we did that a
lot of folks will probably not notice for months to years, and when they
do notice they'll just bin their PS3s rather than telling us.

But maybe Geoff has a better feel for how many people (other than him)
are still running upstream on PS3s.

cheers

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] Documentation: fix spelling mistake, EACCESS -> EACCES
  2018-11-12 12:57     ` Michael Ellerman
@ 2018-11-12 20:15       ` Geoff Levand
  0 siblings, 0 replies; 9+ messages in thread
From: Geoff Levand @ 2018-11-12 20:15 UTC (permalink / raw)
  To: Michael Ellerman, Jeremy Kerr, Jonathan Corbet, Colin King
  Cc: David Airlie, Maarten Lankhorst, Maxime Ripard, Sean Paul,
	linuxppc-dev, linux-doc, kernel-janitors, linux-kernel

Hi Everyone,

On 11/12/2018 04:57 AM, Michael Ellerman wrote:
> But maybe Geoff has a better feel for how many people (other than him)
> are still running upstream on PS3s.

There are still PS3 users out there.  They are hobbyists who
generally don't post to Linux kernel mailing lists.  I usually
get one or two mail or IRC inquiries every month, many asking
how to get a recent kernel running.

I try keep my dev repo at k.org up to the latest -rc release
and tested on the retail PS3.  For more info see:

  https://git.kernel.org/pub/scm/linux/kernel/git/geoff/ps3-linux.git
  https://www.kernel.org/pub/linux/kernel/people/geoff/cell/README

-Geoff

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-11-12 20:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-26 17:25 [PATCH] Documentation: fix spelling mistake, EACCESS -> EACCES Colin King
2018-10-26 18:20 ` Miguel Ojeda
2018-10-26 18:40   ` Matthew Wilcox
2018-10-26 18:53     ` Miguel Ojeda
2018-10-26 18:54       ` Miguel Ojeda
2018-11-07 22:31 ` Jonathan Corbet
2018-11-08  0:38   ` Jeremy Kerr
2018-11-12 12:57     ` Michael Ellerman
2018-11-12 20:15       ` Geoff Levand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).