Skip to content
  1. Feb 04, 2011
    • John Stultz's avatar
      RTC: Fix minor compile warning · d8ce1481
      John Stultz authored
      
      
      Two rtc drivers return values from void functions. This patch
      fixes that.
      
      CC: Thomas Gleixner <tglx@linutronix.de>
      CC: Alessandro Zummo <a.zummo@towertech.it>
      CC: Marcelo Roberto Jimenez <mroberto@cpti.cetuc.puc-rio.br>
      Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>
      d8ce1481
    • John Stultz's avatar
      RTC: Convert rtc drivers to use the alarm_irq_enable method · 16380c15
      John Stultz authored
      
      
      Some rtc drivers use the ioctl method instead of the alarm_irq_enable
      method for enabling alarm interupts. With the new virtualized RTC
      rework, its important for drivers to use the alarm_irq_enable instead.
      
      This patch converts the drivers that use the AIE ioctl method to
      use the alarm_irq_enable method. Other ioctl cmds are left untouched.
      
      I have not been able to test or even compile most of these drivers.
      Any help to make sure this change is correct would be appreciated!
      
      CC: Alessandro Zummo <a.zummo@towertech.it>
      CC: Thomas Gleixner <tglx@linutronix.de>
      CC: Marcelo Roberto Jimenez <mroberto@cpti.cetuc.puc-rio.br>
      Reported-by: default avatarMarcelo Roberto Jimenez <mroberto@cpti.cetuc.puc-rio.br>
      Tested-by: default avatarMarcelo Roberto Jimenez <mroberto@cpti.cetuc.puc-rio.br>
      Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>
      16380c15
    • John Stultz's avatar
      RTC: Fix rtc driver ioctl specific shortcutting · ac54cd2b
      John Stultz authored
      
      
      Some RTC drivers enable functionality directly via their ioctl method
      instead of using the generic ioctl handling code. With the recent
      virtualization of the RTC layer, its now important that the generic
      layer always be used.
      
      This patch moved the rtc driver ioctl method call to after the generic
      ioctl processing is done. This allows hardware specific features or
      ioctls to still function, while relying on the generic code for handling
      everything else.
      
      This patch on its own may more obviously break rtc drivers that
      implement the alarm irq enablement via their ioctl method instead of
      implementing the alarm_irq_eanble method. Those drivers will be fixed
      in a following patch. Additionaly, those drivers are already likely to
      not be functioning reliably without this patch.
      
      CC: Alessandro Zummo <a.zummo@towertech.it>
      CC: Marcelo Roberto Jimenez <mroberto@cpti.cetuc.puc-rio.br>
      CC: Thomas Gleixner <tglx@linutronix.de>
      Reported-by: default avatarMarcelo Roberto Jimenez <mroberto@cpti.cetuc.puc-rio.br>
      Tested-by: default avatarMarcelo Roberto Jimenez <mroberto@cpti.cetuc.puc-rio.br>
      Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>
      ac54cd2b
    • Marcelo Roberto Jimenez's avatar
      RTC: Prevents a division by zero in kernel code. · 83a06bf5
      Marcelo Roberto Jimenez authored
      
      
      This patch prevents a user space program from calling the RTC_IRQP_SET
      ioctl with a negative value of frequency. Also, if this call is make
      with a zero value of frequency, there would be a division by zero in the
      kernel code.
      
      [jstultz: Also initialize irq_freq to 1 to catch other divbyzero issues]
      
      CC: Alessandro Zummo <a.zummo@towertech.it>
      CC: Thomas Gleixner <tglx@linutronix.de>
      Signed-off-by: default avatarMarcelo Roberto Jimenez <mroberto@cpti.cetuc.puc-rio.br>
      Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>
      83a06bf5
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband · 9118626a
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband:
        RDMA: Update missed conversion of flush_scheduled_work()
        RDMA/ucma: Copy iWARP route information on queries
        RDMA/amso1100: Fix compile warnings
        RDMA/cxgb4: Set the correct device physical function for iWARP connections
        RDMA/cxgb4: Limit MAXBURST EQ context field to 256B
        IB/qib: Hold link for TX SERDES settings
        mlx4_core: Add ConnectX-3 device IDs
      9118626a
    • Linus Torvalds's avatar
      Merge branch 'irq-fixes-for-linus' of... · aba99437
      Linus Torvalds authored
      Merge branch 'irq-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
      
      * 'irq-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
        genirq: Prevent irq storm on migration
      aba99437
    • Linus Torvalds's avatar
      Merge branch 'sched-fixes-for-linus' of... · 49abda98
      Linus Torvalds authored
      Merge branch 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
      
      * 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
        sched: Fix update_curr_rt()
        sched, docs: Update schedstats documentation to version 15
      49abda98
    • Linus Torvalds's avatar
      Merge branch 'perf-fixes-for-linus' of... · eb487ab4
      Linus Torvalds authored
      Merge branch 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
      
      * 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
        perf: Fix reading in perf_event_read()
        watchdog: Don't change watchdog state on read of sysctl
        watchdog: Fix sysctl consistency
        watchdog: Fix broken nowatchdog logic
        perf: Fix Pentium4 raw event validation
        perf: Fix alloc_callchain_buffers()
      eb487ab4
  2. Feb 03, 2011
  3. Feb 02, 2011
  4. Feb 01, 2011
    • Javi Merino's avatar
      sched, docs: Update schedstats documentation to version 15 · 1e1dbb25
      Javi Merino authored
      Version 15 of schedstats was introduced in:
      
         67aa0f76
      
      : sched: remove unused fields from struct rq
      
      and removed three unused counters in sched_yield(). Update
      the documentation.
      
      Signed-off-by: default avatarJavi Merino <cibervicho@gmail.com>
      Cc: henrix@sapo.pt
      Cc: rdunlap@xenotime.net
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: Mike Galbraith <efault@gmx.de>
      LKML-Reference: <1296515496-8229-1-git-send-email-cibervicho@gmail.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      1e1dbb25
    • Linus Torvalds's avatar
      Linux 2.6.38-rc3 · ebf53826
      Linus Torvalds authored
      v2.6.38-rc3
      ebf53826
    • Linus Torvalds's avatar
      Merge branch 'bugfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6 · 0fd08c55
      Linus Torvalds authored
      * 'bugfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6:
        NFS: NFSv4 readdir loses entries
        NFS: Micro-optimize nfs4_decode_dirent()
        NFS: Fix an NFS client lockdep issue
        NFS construct consistent co_ownerid for v4.1
        NFS: nfs_wcc_update_inode() should set nfsi->attr_gencount
        NFS improve pnfs_put_deviceid_cache debug print
        NFS fix cb_sequence error processing
        NFS do not find client in NFSv4 pg_authenticate
        NLM: Fix "kernel BUG at fs/lockd/host.c:417!" or ".../host.c:283!"
        NFS: Prevent memory allocation failure in nfsacl_encode()
        NFS: nfsacl_{encode,decode} should return signed integer
        NFS: Fix "kernel BUG at fs/nfs/nfs3xdr.c:1338!"
        NFS: Fix "kernel BUG at fs/aio.c:554!"
        NFS4: Avoid potential NULL pointer dereference in decode_and_add_ds().
        NFS: fix handling of malloc failure during nfs_flush_multi()
      0fd08c55
    • Jeff Layton's avatar
      cifs: fix length checks in checkSMB · 6284644e
      Jeff Layton authored
      
      
      The cERROR message in checkSMB when the calculated length doesn't match
      the RFC1001 length is incorrect in many cases. It always says that the
      RFC1001 length is bigger than the SMB, even when it's actually the
      reverse.
      
      Fix the error message to say the reverse of what it does now when the
      SMB length goes beyond the end of the received data. Also, clarify the
      error message when the RFC length is too big. Finally, clarify the
      comments to show that the 512 byte limit on extra data at the end of
      the packet is arbitrary.
      
      Signed-off-by: default avatarJeff Layton <jlayton@redhat.com>
      Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
      6284644e