1. 24 1月, 2013 4 次提交
  2. 23 1月, 2013 1 次提交
    • M
      [media] mb86a20s: don't use state before initializing it · f167e302
      Mauro Carvalho Chehab 提交于
      As reported by Feng's kbuild test:
      	From: kbuild test robot <fengguang.wu@intel.com>
      	Subject: drivers/media/dvb-frontends/mb86a20s.c:706 mb86a20s_attach() error: potential null dereference 'state'.  (kzalloc returns null)
      	Date: Wed, 23 Jan 2013 19:30:43 +0800
      
      	commit: f66d81b5 [media] mb86a20s: convert it to use dev_info/dev_err/dev_dbg
      
      	drivers/media/dvb-frontends/mb86a20s.c:706 mb86a20s_attach() error: potential null dereference 'state'.  (kzalloc returns null)
      	drivers/media/dvb-frontends/mb86a20s.c:706 mb86a20s_attach() error: we previously assumed 'state' could be null (see line 705)
      
      As, at mb86a20s_attach(), we have an i2c pointer, use it for all printk
      messages there, instead of state->i2c.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      f167e302
  3. 22 1月, 2013 7 次提交
  4. 11 1月, 2013 2 次提交
    • S
      [media] media: remove __dev* annotations · 3151d14a
      Stephen Rothwell 提交于
      Hi Mauro,
      After merging the v4l-dvb tree, today's linux-next build (x86_64
      allmodconfig) failed like this:
      drivers/media/platform/sh_veu.c:1146:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sh_veu_probe'
      drivers/media/platform/sh_veu.c:1228:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sh_veu_remove'
      drivers/media/platform/sh_veu.c:1244:2: error: implicit declaration of function '__devexit_p' [-Werror=implicit-function-declaration]
      drivers/media/platform/sh_veu.c:1244:25: error: 'sh_veu_remove' undeclared here (not in a function)
      drivers/media/platform/sh_veu.c: In function 'sh_veu_init':
      drivers/media/platform/sh_veu.c:1253:45: error: 'sh_veu_probe' undeclared (first use in this function)
      drivers/media/platform/sh_veu.c:1253:45: note: each undeclared identifier is reported only once for each function it appears in
      drivers/media/platform/sh_veu.c: At top level:
      drivers/media/platform/sh_veu.c:1095:20: warning: 'sh_veu_bh' defined but not used [-Wunused-function]
      drivers/media/platform/sh_veu.c:1109:20: warning: 'sh_veu_isr' defined but not used [-Wunused-function]
      drivers/media/platform/sh_veu.c: In function 'sh_veu_init':
      drivers/media/platform/sh_veu.c:1254:1: warning: control reaches end of non-void function [-Wreturn-type]
      Caused by commit 05efa71b ("[media] media: add a VEU MEM2MEM format
      conversion and scaling driver") interacting with commit 54b956b9
      ("Remove __dev* markings from init.h") from the driver-core.current tree.
      I have applied the following merge fix patch which could be applied
      directly to the v4l-dvb tree (please):
      CONFIG_HOTPLUG is always true now and the __dev* macros have meen removed.
      
      Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
      Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      3151d14a
    • M
      [media] extract_xc3028.pl: fix permissions · 978ae224
      Mauro Carvalho Chehab 提交于
      This is an executable file. Change permissions to reflect it.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      978ae224
  5. 06 1月, 2013 26 次提交