1. 14 Oct, 2009 1 commit
  2. 11 Nov, 2009 2 commits
  3. 10 Nov, 2009 1 commit
  4. 13 Oct, 2009 7 commits
  5. 11 Nov, 2009 1 commit
    • Joe Perches's avatar
      UUID/GUIDs are somewhat common in kernel source. · 33fe51c4
      Joe Perches authored
      Standardize the printed style of UUID/GUIDs by using
      another extension to %p.
      
      %pUb:   01020304-0506-0708-090a-0b0c0d0e0f10
      %pUB:   01020304-0506-0708-090A-0B0C0D0E0F10 (upper case)
      %pUl:   04030201-0605-0807-090a-0b0c0d0e0f10
      %pUL:   04030201-0605-0807-090A-0B0C0D0E0F10 (upper case)
      
      %pU defaults to %pUb
      Signed-off-by: default avatarJoe Perches <joe@perches.com>
      Cc: Jeff Garzik <jgarzik@redhat.com>
      Cc: Tejun Heo <tj@kernel.org>
      Cc: Alex Elder <aelder@sgi.com>
      Cc: Christoph Hellwig <hch@lst.de>
      Cc: Artem Bityutskiy <dedekind@infradead.org>
      Cc: Adrian Hunter <adrian.hunter@nokia.com>
      Cc: Steven Whitehouse <swhiteho@redhat.com>
      Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
      Cc: Matt Mackall <mpm@selenic.com>
      Cc: Neil Brown <neilb@suse.de>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      33fe51c4
  6. 30 Oct, 2009 1 commit
  7. 28 Oct, 2009 2 commits
    • Joe Perches's avatar
      Fix email matching without name --n and --git-blame · f9d6327f
      Joe Perches authored
         Using --non and --git-blame caused maintainer signature
         matching to fail.  Fixed that by adding 3rd argument to
         sub format_email to control show/hide name portion of address
      Slurp -f file instead of reading line-by-line for K: pattern matching.
         Suggested by Wolfram Sang as more efficient
      Refactor git command execution
         Break into 2 functions, execute/analyze
         Share code between --git and --git-blame
         Don't warn multiple times when git isn't installed
      Improve stats reporting
         --git-min-percent and -- rolestats now count the total number of commits
         for either the period of --git-since or if using --git-blame the commits
         used by the current file and calculate commit % as
            # of commits signed / total commits * 100
      Code style cleaning
         Use consistent sub foo { my (args...) = @_;
      Signed-off-by: default avatarJoe Perches <joe@perches.com>
      Cc: Ben Hutchings <ben@decadent.org.uk>
      Cc: Greg KH <greg@kroah.com>
      Cc: Pavel Machek <pavel@ucw.cz>
      Cc: Wolfram Sang <w.sang@pengutronix.de>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      f9d6327f
    • Joe Perches's avatar
      --roles shows the role of each email address, i.e. why it was selected. · b339f4c8
      Joe Perches authored
      --rolestats selects --roles and adds git log/blame signers #'s and %
      
      Multiple roles are possible (supporter, maintainer, git-signer...)
      
      --roles or --rolestats is meant to help identify appropriate maintainers
      to notify and should not be used with "git send-email --cc-cmd"
      
      Example output:
      
      Existing:
      
      $ ./scripts/get_maintainer.pl -f arch/x86/kernel/acpi/boot.c
      Corentin Chary <corentincj@iksaif.net>
      Karol Kozimor <sziwan@users.sourceforge.net>
      Len Brown <len.brown@intel.com>
      Pavel Machek <pavel@ucw.cz>
      Rafael J. Wysocki <rjw@sisk.pl>
      Thomas Gleixner <tglx@linutronix.de>
      Ingo Molnar <mingo@redhat.com>
      H. Peter Anvin <hpa@zytor.com>
      x86@kernel.org
      Yinghai Lu <yhlu.kernel@gmail.com>
      Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
      acpi4asus-user@lists.sourceforge.net
      linux-pm@lists.linux-foundation.org
      linux-kernel@vger.kernel.org
      
      With --roles
      
      $ ./scripts/get_maintainer.pl --roles -f arch/x86/kernel/acpi/boot.c
      Corentin Chary <corentincj@iksaif.net> (maintainer:ASUS ACPI EXTRAS...)
      Karol Kozimor <sziwan@users.sourceforge.net> (maintainer:ASUS ACPI EXTRAS...)
      Len Brown <len.brown@intel.com> (supporter:SUSPEND TO RAM,git-signer)
      Pavel Machek <pavel@ucw.cz> (supporter:SUSPEND TO RAM)
      Rafael J. Wysocki <rjw@sisk.pl> (supporter:SUSPEND TO RAM)
      Thomas Gleixner <tglx@linutronix.de> (maintainer:X86 ARCHITECTURE...)
      Ingo Molnar <mingo@redhat.com> (maintainer:X86 ARCHITECTURE...,git-signer)
      H. Peter Anvin <hpa@zytor.com> (maintainer:X86 ARCHITECTURE...)
      x86@kernel.org (maintainer:X86 ARCHITECTURE...)
      Yinghai Lu <yhlu.kernel@gmail.com> (git-signer)
      Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> (git-signer)
      acpi4asus-user@lists.sourceforge.net (open list:ASUS ACPI EXTRAS...)
      linux-pm@lists.linux-foundation.org (open list:SUSPEND TO RAM)
      linux-kernel@vger.kernel.org (open list)
      
      With --rolestats
      
      $ ./scripts/get_maintainer.pl --rolestats -f arch/x86/kernel/acpi/boot.c
      Corentin Chary <corentincj@iksaif.net> (maintainer:ASUS ACPI EXTRAS...)
      Karol Kozimor <sziwan@users.sourceforge.net> (maintainer:ASUS ACPI EXTRAS...)
      Len Brown <len.brown@intel.com> (supporter:SUSPEND TO RAM,git-signer:16/79=20%)
      Pavel Machek <pavel@ucw.cz> (supporter:SUSPEND TO RAM)
      Rafael J. Wysocki <rjw@sisk.pl> (supporter:SUSPEND TO RAM)
      Thomas Gleixner <tglx@linutronix.de> (maintainer:X86 ARCHITECTURE...)
      Ingo Molnar <mingo@redhat.com> (maintainer:X86 ARCHITECTURE...,git-signer:29/79=37%)
      H. Peter Anvin <hpa@zytor.com> (maintainer:X86 ARCHITECTURE...)
      x86@kernel.org (maintainer:X86 ARCHITECTURE...)
      Yinghai Lu <yhlu.kernel@gmail.com> (git-signer:12/79=15%)
      Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> (git-signer:6/79=8%)
      acpi4asus-user@lists.sourceforge.net (open list:ASUS ACPI EXTRAS...)
      linux-pm@lists.linux-foundation.org (open list:SUSPEND TO RAM)
      linux-kernel@vger.kernel.org (open list)
      
      With --rolestats and --git-blame
      
      $ ./scripts/get_maintainer.pl --rolestats --git-blame -f arch/x86/kernel/acpi/boot.c
      Corentin Chary <corentincj@iksaif.net> (maintainer:ASUS ACPI EXTRAS...)
      Karol Kozimor <sziwan@users.sourceforge.net> (maintainer:ASUS ACPI EXTRAS...)
      Len Brown <len.brown@intel.com> (supporter:SUSPEND TO RAM,git-signer:16/79=20%,commits:22/154=14%)
      Pavel Machek <pavel@ucw.cz> (supporter:SUSPEND TO RAM)
      Rafael J. Wysocki <rjw@sisk.pl> (supporter:SUSPEND TO RAM)
      Thomas Gleixner <tglx@linutronix.de> (maintainer:X86 ARCHITECTURE...)
      Ingo Molnar <mingo@redhat.com> (maintainer:X86 ARCHITECTURE...,git-signer:29/79=37%,commits:36/154=23%)
      H. Peter Anvin <hpa@zytor.com> (maintainer:X86 ARCHITECTURE...)
      x86@kernel.org (maintainer:X86 ARCHITECTURE...)
      Yinghai Lu <yhlu.kernel@gmail.com> (git-signer:12/79=15%,commits:9/154=6%)
      Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> (git-signer:6/79=8%)
      Andi Kleen <ak@suse.de> (commits:11/154=7%)
      Andrew Morton <akpm@osdl.org> (commits:10/154=6%)
      acpi4asus-user@lists.sourceforge.net (open list:ASUS ACPI EXTRAS...)
      linux-pm@lists.linux-foundation.org (open list:SUSPEND TO RAM)
      linux-kernel@vger.kernel.org (open list)
      
      Other changes:
      
      Format git-signers email addresses a bit to reduce bad signatures
      Command line bad arguments emitted a verbose usage(), just show --help
      Version number bumped to .22
      
      Ben Hutchings had the idea and created a good deal of this implementation.
      Signed-off-by: default avatarJoe Perches <joe@perches.com>
      Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
      Cc: Greg KH <greg@kroah.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      b339f4c8
  8. 12 Oct, 2009 1 commit
  9. 11 Nov, 2009 8 commits
  10. 18 Sep, 2009 1 commit
  11. 23 Sep, 2009 1 commit
  12. 12 Nov, 2009 3 commits
  13. 14 Oct, 2009 1 commit
  14. 29 Sep, 2009 1 commit
  15. 10 Nov, 2009 6 commits
    • Alexey Dobriyan's avatar
      It's easy to lose useful DEBUG_BUGVERBOSE by switching EMBEDDED left and right. · 201449ca
      Alexey Dobriyan authored
      Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Cc: Ingo Molnar <mingo@elte.hu>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      201449ca
    • Andrew Morton's avatar
      s/_rl/_ratelimited/g · 2a3f4011
      Andrew Morton authored
      Cc: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Joe Perches <joe@perches.com>
      Cc: Naohiro Ooiwa <nooiwa@miraclelinux.com>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      2a3f4011
    • Andrew Morton's avatar
      ERROR: code indent should use tabs where possible · 2abe484b
      Andrew Morton authored
      #42: FILE: include/linux/kernel.h:427:
      +        printk_ratelimited(KERN_EMERG pr_fmt(fmt), ##__VA_ARGS__)$
      
      ERROR: code indent should use tabs where possible
      #44: FILE: include/linux/kernel.h:429:
      +        printk_ratelimited(KERN_ALERT pr_fmt(fmt), ##__VA_ARGS__)$
      
      ERROR: code indent should use tabs where possible
      #46: FILE: include/linux/kernel.h:431:
      +        printk_ratelimited(KERN_CRIT pr_fmt(fmt), ##__VA_ARGS__)$
      
      ERROR: code indent should use tabs where possible
      #48: FILE: include/linux/kernel.h:433:
      +        printk_ratelimited(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)$
      
      ERROR: code indent should use tabs where possible
      #50: FILE: include/linux/kernel.h:435:
      +        printk_ratelimited(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__)$
      
      ERROR: code indent should use tabs where possible
      #52: FILE: include/linux/kernel.h:437:
      +        printk_ratelimited(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__)$
      
      ERROR: code indent should use tabs where possible
      #54: FILE: include/linux/kernel.h:439:
      +        printk_ratelimited(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)$
      
      total: 7 errors, 0 warnings, 50 lines checked
      
      ./patches/kernelh-add-printk_ratelimited-and-pr_level_rl.patch has style problems, please review.  If any of these errors
      are false positives report them to the maintainer, see
      CHECKPATCH in MAINTAINERS.
      
      Please run checkpatch prior to sending patches
      
      Cc: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Joe Perches <joe@perches.com>
      Cc: Naohiro Ooiwa <nooiwa@miraclelinux.com>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      2abe484b
    • Joe Perches's avatar
      Add a printk_ratelimited statement expression macro that uses a per-call · a9dfb9d7
      Joe Perches authored
      ratelimit_state so that multiple subsystems output messages are not
      suppressed by a global __ratelimit state.
      Signed-off-by: default avatarJoe Perches <joe@perches.com>
      Cc: Naohiro Ooiwa <nooiwa@miraclelinux.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      a9dfb9d7
    • Helge Deller's avatar
      The PR_GET_ENDIAN and PR_SET_ENDIAN prctl() calls have been implemented to · 5f8787b8
      Helge Deller authored
      allow to switch processes at runtime from big-endian to little-endian mode
      (and vice versa) on PowerPC processors.  Since the other architectures
      don't support this feature, they currently will just fail and return
      -EINVAL.
      
      This patch adds just minimal overhead and implements the PR_GET_ENDIAN
      call for all other architectures by returning the native endianess of the
      architecture.  Furthermore, calling prctl(PR_SET_ENDIAN) with the native
      endianess of the architecture will succeed, while trying to set another
      (not-supported) endianess, will fail.
      
      The patch can be tested with the following program:
      
      #include <stdio.h>
      #include <linux/prctl.h>
      
      int main(int argc, char **argv)
      {
      	int endian, ret;
      
      	ret = prctl(PR_GET_ENDIAN, &endian);
      	if (ret)
      		perror("prctl(PR_GET_ENDIAN) not implemented");
      	printf("current process/machine is running in %s endian mode (%d)\n",
      		endian == PR_ENDIAN_LITTLE ? "little":"big", endian);
      
      	/* setting native endianess should succeed */
      	ret = prctl(PR_SET_ENDIAN, endian);
      	printf("prctl(PR_SET_ENDIAN,%d) should succeed: %s\n",
      		endian, ret == 0 ? "OK":"FAIL");
      
      	/* setting foreign endianess should fail */
      	endian = (endian == PR_ENDIAN_LITTLE) ?
      		PR_ENDIAN_BIG : PR_ENDIAN_LITTLE;
      	ret = prctl(PR_SET_ENDIAN, endian);
      	printf("prctl(PR_SET_ENDIAN,%d) should fail: %s\n",
      		endian, ret == 0 ? "OK":"FAIL");
      }
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      Cc: Anton Blanchard <anton@samba.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      5f8787b8
    • Thadeu Lima de Souza Cascardo's avatar
      Commit 8c870933 has removed the · 051c6420
      Thadeu Lima de Souza Cascardo authored
      pmu_device_init call from misc_init, but unlike other similar commits,
      has not removed its declaration.
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      051c6420
  16. 03 Nov, 2009 1 commit
  17. 15 Oct, 2009 1 commit
  18. 16 Oct, 2009 1 commit
    • Andrew Morton's avatar
      simplify · 206df4df
      Andrew Morton authored
      Cc: Amerigo Wang <amwang@redhat.com>
      Cc: Ben Woodard <bwoodard@llnl.gov>
      Cc: Brian Behlendorf <behlendorf1@llnl.gov>
      Cc: David Howells <dhowells@redhat.com>
      Cc: WANG Cong <amwang@redhat.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      206df4df