1. 23 Feb, 2018 10 commits
  2. 20 Feb, 2018 2 commits
    • Jonathan Corbet's avatar
      Merge branch 'kerneldoc2' into docs-next · fcdf1df2
      Jonathan Corbet authored
      So once upon a time I set out to fix the problem reported by Tobin wherein
      a literal block within a kerneldoc comment would be corrupted in
      processing.  On the way, though, I got annoyed at the way I have to learn
      how kernel-doc works from the beginning every time I tear into it.
      
      As a result, seven of the following eight patches just get rid of some dead
      code and reorganize the rest - mostly turning the 500-line process_file()
      function into something a bit more rational.  Sphinx output is unchanged
      after these are applied.  Then, at the end, there's a tweak to stop messing
      with literal blocks.
      
      If anybody was unaware that I've not done any serious Perl since the
      1990's, they will certainly understand that fact now.
      fcdf1df2
    • Jonathan Corbet's avatar
      docs: Add an SPDX header to kernel-doc · 38476378
      Jonathan Corbet authored
      Add the SPDX header while I'm in the neighborhood.  The source itself just
      says "GNU General Public License", but it also refers people to the COPYING
      file for further information.  Since COPYING says 2.0-only, that is what I
      have put into the header.
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      38476378
  3. 19 Feb, 2018 2 commits
  4. 18 Feb, 2018 7 commits
  5. 16 Feb, 2018 1 commit
  6. 15 Feb, 2018 8 commits
  7. 13 Feb, 2018 7 commits
  8. 11 Feb, 2018 3 commits
    • Linus Torvalds's avatar
      Linux 4.16-rc1 · 7928b2cb
      Linus Torvalds authored
      7928b2cb
    • Al Viro's avatar
      unify {de,}mangle_poll(), get rid of kernel-side POLL... · 7a163b21
      Al Viro authored
      except, again, POLLFREE and POLL_BUSY_LOOP.
      
      With this, we finally get to the promised end result:
      
       - POLL{IN,OUT,...} are plain integers and *not* in __poll_t, so any
         stray instances of ->poll() still using those will be caught by
         sparse.
      
       - eventpoll.c and select.c warning-free wrt __poll_t
      
       - no more kernel-side definitions of POLL... - userland ones are
         visible through the entire kernel (and used pretty much only for
         mangle/demangle)
      
       - same behavior as after the first series (i.e. sparc et.al. epoll(2)
         working correctly).
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      7a163b21
    • Linus Torvalds's avatar
      vfs: do bulk POLL* -> EPOLL* replacement · a9a08845
      Linus Torvalds authored
      This is the mindless scripted replacement of kernel use of POLL*
      variables as described by Al, done by this script:
      
          for V in IN OUT PRI ERR RDNORM RDBAND WRNORM WRBAND HUP RDHUP NVAL MSG; do
              L=`git grep -l -w POLL$V | grep -v '^t' | grep -v /um/ | grep -v '^sa' | grep -v '/poll.h$'|grep -v '^D'`
              for f in $L; do sed -i "-es/^\([^\"]*\)\(\<POLL$V\>\)/\\1E\\2/" $f; done
          done
      
      with de-mangling cleanups yet to come.
      
      NOTE! On almost all architectures, the EPOLL* constants have the same
      values as the POLL* constants do.  But they keyword here is "almost".
      For various bad reasons they aren't the same, and epoll() doesn't
      actually work quite correctly in some cases due to this on Sparc et al.
      
      The next patch from Al will sort out the final differences, and we
      should be all done.
      Scripted-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      a9a08845