1. 24 5月, 2011 2 次提交
    • J
      export_report: sort SECTION 2 output · bdabc7a3
      Jim Cromie 提交于
      Sort SECTION 2 modules by name.  Within those module listings, sort
      the symbol providers by name, and remove the count, as it is
      misleading; its the kernel-wide count of uses of that symbol, not the
      count pertaining to the module being outlined.  (this can be seen by
      grepping the output for a single symbol).  The count is still used to
      sort the symbols.
      Signed-off-by: NJim Cromie <jim.cromie@gmail.com>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      bdabc7a3
    • J
      export_report: do collectcfiles work in perl itself · de7b0b41
      Jim Cromie 提交于
      Avoid spawning a shell pipeline doing cat, grep, sed, and do it all
      inside perl.  The <*.c> globbing construct works at least as far back
      as 5.8.9
      
      Note that this is not just an optimization; the sed command
      in the pipeline was unterminated, due to lack of escape on the
      end-of-line (\$) in the regex, resulting in this:
      
          $ perl ../linux-2.6/scripts/export_report.pl  > /dev/null
          sed: -e expression #1, char 5: unterminated `s' command
          sh: .mod.c/: not found
      
      Comments on an earlier patch sought an all-perl implementation.
      Signed-off-by: NJim Cromie <jim.cromie@gmail.com>
      cc: Michal Marek <mmarek@suse.cz>,
      cc: linux-kbuild@vger.kernel.org
      cc: Arnaud Lacombe lacombar@gmail.com
      cc: Stephen Hemminger shemminger@vyatta.com
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      de7b0b41
  2. 12 5月, 2011 4 次提交
  3. 29 4月, 2011 1 次提交
  4. 04 4月, 2011 1 次提交
    • A
      eradicate bashisms in scripts/patch-kernel · 177525d2
      Andreas Mohr 提交于
      Silence a remaining annoying (or worse, irritating - "is my entire patched tree
      broken now!?") bashism-related message that occurs when /bin/sh is configured
      to instead deploy dash, a POSIX-compliant shell, as is the pretty much
      standard case on e.g. Debian.
      
      Current kernel version is 2.6.38 ( Flesh-Eating Bats with Fangs)
      ===>  linux-2.6.38.patch-kernel_test/scripts/patch-kernel: line 253: [: =: unary operator expected  <===
      cannot find patch file: patch-2.6.39
      Signed-off-by: NAndreas Mohr <andi@lisas.de>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      177525d2
  5. 30 3月, 2011 9 次提交
  6. 29 3月, 2011 23 次提交