1. 24 Apr, 2012 8 commits
    • Emil Goode's avatar
      staging: android: binder: fix sparse warnings · 78aee0fc
      Emil Goode authored
      Fix sparse warnings by adding __user annotation to stucts.
      
      This patch fixes the the following sparse warnings:
      
      drivers/staging/android/binder.c:1343:76: warning:
      	incorrect type in argument 2 (different address spaces)
      	drivers/staging/android/binder.c:1343:76:
      	expected void [noderef] <asn:1>*ptr
      	drivers/staging/android/binder.c:1343:76: got void *binder
      drivers/staging/android/binder.c:1567:57: warning:
      	incorrect type in argument 2 (different address spaces)
      	drivers/staging/android/binder.c:1567:57:
      	expected void const [noderef] <asn:1>*from
      	drivers/staging/android/binder.c:1567:57:
      	got void const *buffer
      drivers/staging/android/binder.c:1573:46: warning:
      	incorrect type in argument 2 (different address spaces)
      	drivers/staging/android/binder.c:1573:46:
      	expected void const [noderef] <asn:1>*from
      	drivers/staging/android/binder.c:1573:46:
      	got void const *offsets
      drivers/staging/android/binder.c:1603:76: warning:
      	incorrect type in argument 2 (different address spaces)
      	drivers/staging/android/binder.c:1603:76:
      	expected void [noderef] <asn:1>*ptr
      	drivers/staging/android/binder.c:1603:76: got void *binder
      drivers/staging/android/binder.c:1605:64: warning:
      	incorrect type in argument 2 (different address spaces)
      	drivers/staging/android/binder.c:1605:64:
      	expected void [noderef] <asn:1>*ptr
      	drivers/staging/android/binder.c:1605:64: got void *binder
      drivers/staging/android/binder.c:1605:76: warning:
      	incorrect type in argument 3 (different address spaces)
      	drivers/staging/android/binder.c:1605:76:
      	expected void [noderef] <asn:1>*cookie
      	drivers/staging/android/binder.c:1605:76: got void *cookie
      drivers/staging/android/binder.c:1613:40: error:
      	incompatible types in comparison
      Signed-off-by: default avatarEmil Goode <emilgoode@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      78aee0fc
    • John Stultz's avatar
      staging: android-alarm: Switch from wakelocks to wakeup sources · a180c0d6
      John Stultz authored
      In their current AOSP tree, the Android in-kernel wakelock
      infrastructure has been reimplemented in terms of wakeup
      sources:
      http://git.linaro.org/gitweb?p=people/jstultz/android.git;a=commitdiff;h=e9911f4efdc55af703b8b3bb8c839e6f5dd173bb
      
      The Android alarm driver currently has stubbed out calls
      to wakelock functionality. So this patch simply converts
      the stubbed out wakelock calls to wakeup source calls, and
      removes the empty wakelock macros
      
      Greg, would you mind queuing this in staging-next?
      
      CC: Colin Cross <ccross@android.com>
      CC: Arve Hjønnevåg <arve@android.com>
      CC: Greg KH <gregkh@linuxfoundation.org>
      CC: Android Kernel Team <kernel-team@android.com>
      Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      a180c0d6
    • Greg Kroah-Hartman's avatar
      Staging: serqt_usb2: remove err() usage · 22fa2fe0
      Greg Kroah-Hartman authored
      err() was a very old USB-specific macro that I thought had
      gone away.  This patch removes it from being used in the
      driver and uses dev_err() instead.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Rusty Russell <rusty@rustcorp.com.au>
      Cc: Alan Stern <stern@rowland.harvard.edu>
      Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      22fa2fe0
    • Greg Kroah-Hartman's avatar
      Staging: quatech_usb3: remove err() usage · c471bf65
      Greg Kroah-Hartman authored
      err() was a very old USB-specific macro that I thought had
      gone away.  This patch removes it from being used in the
      driver and uses dev_err() instead
      
      Cc: Rusty Russell <rusty@rustcorp.com.au>
      Cc: Alan Stern <stern@rowland.harvard.edu>
      Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
      Cc: Kautuk Consul <consul.kautuk@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      c471bf65
    • Greg Kroah-Hartman's avatar
      Staging: media: lirc: lirc_ttusbir: remove err() usage · 9b33da16
      Greg Kroah-Hartman authored
      err() was a very old USB-specific macro that I thought had
      gone away.  This patch removes it from being used in the
      driver and uses dev_err() instead
      
      Cc: Jarod Wilson <jarod@wilsonet.com>
      Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
      Cc: Jesper Juhl <jj@chaosbits.net>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      9b33da16
    • Greg Kroah-Hartman's avatar
      Staging: media: lirc: lirc_sasem: remove err() usage · 437c06cb
      Greg Kroah-Hartman authored
      err() was a very old USB-specific macro that I thought had
      gone away.  This patch removes it from being used in the
      driver and uses dev_err() instead
      
      Cc: Jarod Wilson <jarod@wilsonet.com>
      Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
      Cc: Andrew Miller <amiller@amilx.com>
      Cc: Alexey Khoroshilov <khoroshilov@ispras.ru>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      437c06cb
    • Greg Kroah-Hartman's avatar
      Staging: media: lirc: lirc_imon: remove err() usage · e0ebe945
      Greg Kroah-Hartman authored
      err() was a very old USB-specific macro that I thought had
      gone away.  This patch removes it from being used in the
      driver and uses dev_err() instead.
      
      Cc: Jarod Wilson <jarod@wilsonet.com>
      Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
      Cc: Dan Carpenter <dan.carpenter@oracle.com>
      Cc: Alexey Khoroshilov <khoroshilov@ispras.ru>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      e0ebe945
    • Greg Kroah-Hartman's avatar
      Staging: media: easycap: remove err() usage · dfcf931a
      Greg Kroah-Hartman authored
      err() was a very old USB-specific macro that I thought had
      gone away.  This patch removes it from being used in the
      driver and uses dev_err() instead.
      
      Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
      Cc: Tomas Winkler <tomas.winkler@intel.com>
      Cc: Jesper Juhl <jj@chaosbits.net>
      Cc: Ezequiel Garcia <elezegarcia@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      dfcf931a
  2. 23 Apr, 2012 11 commits
  3. 20 Apr, 2012 11 commits
  4. 18 Apr, 2012 10 commits