1. 21 Jan, 2013 1 commit
    • Lan Tianyu's avatar
      usb: fix compilation error and warning of driver/usb/core/port.c on arm and blackfin · 9f7344fb
      Lan Tianyu authored
      This patch is to fix compilation error and warning on the arm and blackfin.
      Add linux/slab.h head file to driver/usb/core/port.c. These are reported
      from 0-DAY kernel build testing backend.
      
      head:   6e30d7cb
      commit: 6e30d7cb [26/26] usb: Add driver/usb/core/(port.c,hub.h) files
      config: make ARCH=arm at91_dt_defconfig
      
      All error/warnings:
      
         drivers/usb/core/port.c: In function 'usb_port_device_release':
      >> drivers/usb/core/port.c:25:2: error: implicit declaration of function 'kfree' [-Werror=implicit-function-declaration]
         drivers/usb/core/port.c: In function 'usb_hub_create_port_device':
      >> drivers/usb/core/port.c:38:2: error: implicit declaration of function 'kzalloc' [-Werror=implicit-function-declaration]
      >> drivers/usb/core/port.c:38:40: error: 'GFP_KERNEL' undeclared (first use in this function)
         drivers/usb/core/port.c:38:40: note: each undeclared identifier is reported only once for each function it appears in
         cc1: some warnings being treated as errors
      
      head:   6e30d7cb
      commit: 6e30d7cb [26/26] usb: Add driver/usb/core/(port.c,hub.h) files
      config: make ARCH=blackfin BF526-EZBRD_defconfig
      
      All warnings:
      
         drivers/usb/core/port.c: In function 'usb_port_device_release':
         drivers/usb/core/port.c:25:2: error: implicit declaration of function 'kfree' [-Werror=implicit-function-declaration]
         drivers/usb/core/port.c: In function 'usb_hub_create_port_device':
         drivers/usb/core/port.c:38:2: error: implicit declaration of function 'kzalloc' [-Werror=implicit-function-declaration]
      >> drivers/usb/core/port.c:38:11: warning: assignment makes pointer from integer without a cast [enabled by default]
         cc1: some warnings being treated as errors
      Reported-by: default avatarFengguang Wu <wfg@linux.intel.com>
      Signed-off-by: default avatarLan Tianyu <tianyu.lan@intel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      9f7344fb
  2. 18 Jan, 2013 9 commits
  3. 17 Jan, 2013 4 commits
  4. 16 Jan, 2013 24 commits
  5. 15 Jan, 2013 2 commits
    • Will Deacon's avatar
      arm64: compat: add syscall table entries for new syscalls · 72d0ac04
      Will Deacon authored
      There have been a number of new syscalls introduced to arch/arm/ since
      the compat layer was implemented for arm64, so add pointers to the
      relevant functions to the compat syscall table.
      Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
      Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
      72d0ac04
    • Takashi Iwai's avatar
      ALSA: hda/hdmi - Work around "alsactl restore" errors · 6f54c361
      Takashi Iwai authored
      When "alsactl restore" is performed on HDMI codecs, it tries to
      restore the channel map value since the channel map controls are
      writable.  But hdmi_chmap_ctl_put() returns -EBADFD when no PCM stream
      is assigned yet, and this results in an error message from alsactl.
      Although the error is harmless, it's certainly ugly and can be
      regarded as a regression.
      
      As a workaround, this patch changes the return code in such a case to
      be zero for making others happy.  (A slight excuse is: when the chmap
      is changed through the proper alsa-lib API, the PCM status is checked
      there anyway, so we don't have to be too strict in the kernel side.)
      
      Cc: <stable@vger.kernel.org> [v3.7+]
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      6f54c361