Skip to content
Snippets Groups Projects
  1. Jan 24, 2014
    • Paul Bolle's avatar
      headers_check: special case seqbuf_dump() · a7e1d98f
      Paul Bolle authored
      "make headers_check" warns about soundcard.h for (at least) five years
      now:
          [...]/usr/include/linux/soundcard.h:1054: userspace cannot reference function or variable defined in the kernel
      
      We're apparently stuck with providing OSSlib-3.8 compatibility, so let's
      special case this declaration just to silence it.
      
      Notes:
      
      0) Support for OSSlib post 3.8 was already removed in commit 43a99076
         ("sound: Remove OSSlib stuff from linux/soundcard.h").  Five years have
         passed since that commit: do people still care about OSSlib-3.8?  If
         not, quite a bit of code could be remove from soundcard.h (and probably
         ultrasound.h).
      
      2) By the way, what is actually meant by:
          It is no longer possible to actually link against OSSlib with this
          header, but we still provide these macros for programs using them.
      
      Doesn't that mean compatibility to OSSlib isn't even useful?
      
      3) Anyhow, a previous discussion soundcard.h, which led to that commit,
         starts at https://lkml.org/lkml/2009/1/20/349
      
       .
      
      4) And, yes, I sneaked in a whitespace fix.
      
      Signed-off-by: default avatarPaul Bolle <pebolle@tiscali.nl>
      Cc: Takashi Iwai <tiwai@suse.de>
      Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
      Cc: Michal Marek <mmarek@suse.cz>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      a7e1d98f
  2. Mar 26, 2012
  3. Dec 14, 2010
  4. Mar 07, 2010
  5. Jun 09, 2009
  6. Jan 31, 2009
  7. Jan 02, 2009
  8. Oct 29, 2008
  9. Jul 25, 2008
    • Sam Ravnborg's avatar
      kbuild: optimize headers_* targets · 7712401a
      Sam Ravnborg authored
      
      Move the core functionality of headers_install
      and headers_check to two small perl scripts.
      The makefile is adapted to use the perl scrip and
      changed to operate on all files in a directory.
      So if one file is changed then all files in the
      directory is processed.
      
      perl were chosen for the helper scripts because this
      is pure text processing which perl is good at and
      especially the headers_check.pl script are expected to
      see changes / new checks implmented.
      
      The speed is ~300% faster on this box.
      And the output generated to the screen is now down to
      two lines per directory (one for install, one for check)
      so it is easier to scroll back after a kernel build.
      
      The perl scripts has been brought to sanity by patient
      feedback from: Vegard Nossum <vegard.nossum@gmail.com>
      
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      7712401a
Loading