1. 17 Nov, 2009 1 commit
    • Ben Hutchings's avatar
      Some people run general-purpose distribution kernels on netbooks with · 5caa5915
      Ben Hutchings authored
      a card that is physically non-removable or logically non-removable
      (e.g. used for /home) and cannot be cleanly unmounted during suspend.
      Add a module parameter to set whether cards are assumed removable or
      non-removable, with the default set by CONFIG_MMC_UNSAFE_RESUME.
      
      In general, it is not possible to tell whether a card present in an MMC
      slot after resume is the same that was there before suspend.  So there are
      two possible behaviours, each of which will cause data loss in some cases:
      
      CONFIG_MMC_UNSAFE_RESUME=n (default): Cards are assumed to be removed
      during suspend.  Any filesystem on them must be unmounted before suspend;
      otherwise, buffered writes will be lost.
      
      CONFIG_MMC_UNSAFE_RESUME=y: Cards are assumed to remain present during
      suspend.  They must not be swapped during suspend; otherwise, buffered
      writes will be flushed to the wrong card.
      
      Currently the choice is made at compile time and this allows that to be
      overridden at module load time.
      Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
      Cc: <linux-mmc@vger.kernel.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      5caa5915
  2. 12 Nov, 2009 1 commit
  3. 11 Nov, 2009 1 commit
  4. 10 Nov, 2009 1 commit
  5. 15 Oct, 2009 1 commit
  6. 09 Oct, 2009 1 commit
  7. 04 Nov, 2009 2 commits
    • Andrew Morton's avatar
      ERROR: code indent should use tabs where possible · 9923e22a
      Andrew Morton authored
      #28: FILE: arch/arm/mach-msm/include/mach/mmc.h:12:
      +        struct sdio_cis cis;$
      
      ERROR: code indent should use tabs where possible
      #29: FILE: arch/arm/mach-msm/include/mach/mmc.h:13:
      +        struct sdio_cccr cccr;$
      
      ERROR: code indent should use tabs where possible
      #30: FILE: arch/arm/mach-msm/include/mach/mmc.h:14:
      +        struct sdio_embedded_func *funcs;$
      
      ERROR: code indent should use tabs where possible
      #31: FILE: arch/arm/mach-msm/include/mach/mmc.h:15:
      +        int num_funcs;$
      
      WARNING: line over 80 characters
      #39: FILE: arch/arm/mach-msm/include/mach/mmc.h:23:
      +	int (*register_status_notify)(void (*callback)(int card_present, void *dev_id), void *dev_id);
      
      total: 4 errors, 1 warnings, 50 lines checked
      
      ./patches/msm_sdccc-add-missing-include-fix-compilation.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: Pavel Machek <pavel@ucw.cz>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      9923e22a
    • Pavel Machek's avatar
      Add missing include for msm_sdcc compilation, and remove pwrsink · a8659dd2
      Pavel Machek authored
      support that is not mainline, yet.
      Signed-off-by: default avatarPavel Machek <pavel@ucw.cz>
      Cc <linux-mmc@vger.kernel.org>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      a8659dd2
  8. 03 Nov, 2009 1 commit
  9. 16 Oct, 2009 1 commit
  10. 14 Oct, 2009 1 commit
  11. 29 Sep, 2009 2 commits
  12. 14 Oct, 2009 1 commit
  13. 11 Nov, 2009 2 commits
  14. 10 Nov, 2009 1 commit
  15. 13 Oct, 2009 7 commits
  16. 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
  17. 30 Oct, 2009 1 commit
  18. 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
  19. 12 Oct, 2009 1 commit
  20. 11 Nov, 2009 8 commits
  21. 18 Sep, 2009 1 commit
  22. 23 Sep, 2009 1 commit
  23. 12 Nov, 2009 1 commit
    • Thadeu Lima de Souza Cascardo's avatar
      The current dynamic allocation of minor number for misc devices has some · cb145cdf
      Thadeu Lima de Souza Cascardo authored
      drawbacks.
      
      First of all, the range for dynamic numbers include some statically
      allocated numbers.  It goes from 63 to 0, and we have numbers in the range
      from 1 to 15 already allocated.  Although, it gives priority to the higher
      and not allocated numbers, we may end up in a situation where we must
      reject registering a driver which got a static number because a driver got
      its number with dynamic allocation.  Considering fs/dlm/user.c allocates
      as many misc devices as lockspaces are created, and that we have more than
      50 users around, it's not unreasonable to reach that situation.
      
      The proposed solution uses the not yet reserved range from 64 to 127.  If
      more devices are needed, we may push 64 to 16.
      Signed-off-by: default avatarThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
      Cc: "H. Peter Anvin" <hpa@zytor.com>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      cb145cdf