linux/drivers/staging/cxt1e1
Ying Xue bdffbb8e26 Drivers: Staging: cxt1e1: use __dev_get_name instead of dev_get_name to find interfaces
The following call chain denotes that both do_reset() and do_del_chan()
are protected under rtnl_lock. If we use __dev_get_by_name() instead of
dev_get_by_name() to find interface handlers in them, this would help
us avoid to change interface reference counter.

dev_ioctl()
  rtnl_lock()
  dev_ifsioc()
    c4_ioctl()
      do_reset()
      do_del_chan()
  rtnl_unlock()

Signed-off-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-01-14 18:50:46 -08:00
..
comet_tables.c
comet_tables.h
comet.c Staging: cxt1e1: moving { to the previous line 2013-10-14 09:27:14 -07:00
comet.h Staging: cxt1e1: remove space between function name and '(' 2013-10-14 09:27:14 -07:00
functions.c staging: cxt1e1: Remove #define SBE_INCLUDE_SYMBOLS 2013-08-12 15:20:25 -07:00
hwprobe.c staging: cxt1e1: hwprobe.c: Return negative error codes 2013-09-30 18:48:41 -07:00
Kconfig
libsbew.h Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging 2012-01-09 12:18:17 -08:00
linux.c Drivers: Staging: cxt1e1: use __dev_get_name instead of dev_get_name to find interfaces 2014-01-14 18:50:46 -08:00
Makefile staging: cxt1e1: Remove #define SBE_INCLUDE_SYMBOLS 2013-08-12 15:20:25 -07:00
musycc.c staging: cxt1e1: musycc.c: Return negative error codes 2013-09-30 18:48:40 -07:00
musycc.h staging: cxt1e1: musycc.h: fixes brace placement 2012-11-21 14:20:39 -08:00
ossiRelease.c
pmc93x6_eeprom.c staging: cxt1e1: Remove #define SBE_INCLUDE_SYMBOLS 2013-08-12 15:20:25 -07:00
pmc93x6_eeprom.h
pmcc4_cpld.h
pmcc4_defs.h
pmcc4_drv.c staging: cxt1e1: pmcc4_drv.c: Use NULL instead of 0 2013-09-30 18:48:40 -07:00
pmcc4_ioctls.h
pmcc4_private.h
pmcc4_sysdep.h
pmcc4.h Staging/cxt1e1:Fixing foo * bar should be foo *bar 2013-05-22 15:28:30 -07:00
sbe_bid.h
sbe_promformat.h
sbecom_inline_linux.h staging: cxt1e1: sbecom_inline_linux.h: Return NULL instead of 0 2013-09-30 18:48:40 -07:00
sbecrc.c staging: cxt1e1: sbecrc.c: Use NULL instead of 0 2013-09-30 18:48:40 -07:00
sbeid.c staging: cxt1e1: sbeid.c: Use NULL instead of 0 2013-09-30 18:48:40 -07:00
sbeproc.c staging: cxt1e1: sbeproc.c: Use NULL instead of 0 2013-09-30 18:48:40 -07:00
sbeproc.h Staging/cxt1e1:Fixing foo * bar should be foo *bar 2013-05-22 15:28:30 -07:00
sbew_ioc.h Staging:cxt1e1: Fixes whitespace around commas in sbew_ioc.h 2013-10-11 13:09:57 -07:00