1. 13 Nov, 2008 1 commit
  2. 12 Nov, 2008 1 commit
  3. 10 Nov, 2008 2 commits
  4. 07 Nov, 2008 1 commit
  5. 06 Nov, 2008 1 commit
  6. 05 Nov, 2008 3 commits
  7. 04 Nov, 2008 3 commits
  8. 31 Oct, 2008 8 commits
  9. 30 Oct, 2008 12 commits
  10. 28 Oct, 2008 1 commit
  11. 27 Oct, 2008 2 commits
  12. 26 Oct, 2008 5 commits
    • Linus Torvalds's avatar
      Linux 2.6.28-rc2 · 0173a326
      Linus Torvalds authored
      .. fix all the worst problems in -rc1
      0173a326
    • Geert Uytterhoeven's avatar
      m68k: Disable Amiga serial console support if modular · d1a35e4d
      Geert Uytterhoeven authored
      If CONFIG_AMIGA_BUILTIN_SERIAL=m, I get the following warnings:
      
      | drivers/char/amiserial.c: At top level:
      | drivers/char/amiserial.c:2138: warning: data definition has no type or storage class
      | drivers/char/amiserial.c:2138: warning: type defaults to 'int' in declaration of 'console_initcall'
      | drivers/char/amiserial.c:2138: warning: parameter names (without types) in function declaration
      | drivers/char/amiserial.c:2134: warning: 'amiserial_console_init' defined but not used
      
      because console_initcall() is not defined (nor really sensible) in the
      modular case.
      
      So disable serial console support if the driver is modular.
      Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      d1a35e4d
    • Davide Libenzi's avatar
      epoll: avoid double-inserts in case of EFAULT · 9ce209d6
      Davide Libenzi authored
      In commit f337b9c5 ("epoll: drop
      unnecessary test") Thomas found that there is an unnecessary (always
      true) test in ep_send_events().  The callback never inserts into
      ->rdllink while the send loop is performed, and also does the
      ~EP_PRIVATE_BITS test.  Given we're holding the mutex during this time,
      the conditions tested inside the loop are always true.
      
      HOWEVER.
      
      The test "!ep_is_linked(&epi->rdllink)" wasn't there because we insert
      into ->rdllink, but because the send-events loop might terminate before
      the whole list is scanned (-EFAULT).
      
      In such cases, when the loop terminates early, and when a (leftover)
      file received an event while we're performing the lockless loop, we need
      such test to avoid to double insert the epoll items.  The list_splice()
      done a few steps below, will correctly re-insert the ones that were left
      on "txlist".
      
      This should fix the kenrel.org bugzilla entry 11831.
      Signed-off-by: default avatarDavide Libenzi <davidel@xmailserver.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      9ce209d6
    • Arjan van de Ven's avatar
      select: deal with math overflow from borderline valid userland data · 4d36a9e6
      Arjan van de Ven authored
      Some userland apps seem to pass in a "0" for the seconds, and several
      seconds worth of usecs to select().  The old kernels accepted this just
      fine, so the new kernels must too.
      
      However, due to the upscaling of the microseconds to nanoseconds we had
      some cases where we got math overflow, and depending on the GCC version
      (due to inlining decisions) that actually resulted in an -EINVAL return.
      
      This patch fixes this by adding the excess microseconds to the seconds
      field.
      
      Also with thanks to Marcin Slusarz for spotting some implementation bugs
      in the diagnostics patches.
      Reported-by: default avatarCarlos R. Mafra <crmafra2@gmail.com>
      Signed-off-by: default avatarArjan van de Ven <arjan@linux.intel.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      4d36a9e6
    • Arjan van de Ven's avatar
      wireless: fix regression caused by regulatory config option · 44a504c4
      Arjan van de Ven authored
      The default for the regulatory compatibility option is wrong;
      if you picked the default you ended up with a non-functional wifi
      system (at least I did on Fedora 9 with iwl4965).
      I don't think even the October 2008 releases of the various distros
      has the new userland so clearly the default is wrong, and also
      we can't just go about deleting this in 2.6.29...
      
      Change the default to "y" and also adjust the config text a little to
      reflect this.
      
      This patch fixes regression #11859
      
      With thanks to Johannes Berg for the diagnostics
      Signed-off-by: default avatarArjan van de Ven <arjan@linux.intel.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      44a504c4