lkml.org 
[lkml]   [2015]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 00/14] parport: check success of attach call
Date
Currently we are not checking if attach has succeeded or not. Also
parport_register_driver() always return 0 even if attach fails.
But in many places where attach has been used, it can fail.
So, modified the parport code to check the return value of attach and
accordingly return either 0 or error code from parport_register_driver.


Sudip Mukherjee (14):
parport: return value of attach and parport_register_driver
ALSA: portman2x4: return proper error values from attach
ALSA: mts64: return proper error values from attach
staging: panel: return proper error values from attach
spi: lm70llp: return proper error values from attach
spi: butterfly: return proper error values from attach
[SCSI] ppa: return proper error values from attach
[SCSI] imm: return proper error values from attach
pps: return proper error values from attach
pps: return proper error values from attach
net: plip: return proper error values from attach
i2c-parport: return proper error values from attach
ppdev: return proper error values from attach
char: lp: return proper error values from attach

drivers/char/lp.c | 16 +++++++++++-----
drivers/char/ppdev.c | 10 +++++++---
drivers/i2c/busses/i2c-parport.c | 7 ++++---
drivers/net/plip/plip.c | 16 ++++++++++------
drivers/parport/share.c | 20 +++++++++++++++-----
drivers/pps/clients/pps_parport.c | 7 ++++---
drivers/pps/generators/pps_gen_parport.c | 9 +++++----
drivers/scsi/imm.c | 4 ++--
drivers/scsi/ppa.c | 4 ++--
drivers/spi/spi-butterfly.c | 7 ++++---
drivers/spi/spi-lm70llp.c | 7 ++++---
drivers/staging/panel/panel.c | 11 ++++++-----
include/linux/parport.h | 2 +-
sound/drivers/mts64.c | 13 ++++++++-----
sound/drivers/portman2x4.c | 15 ++++++++++-----
15 files changed, 93 insertions(+), 55 deletions(-)

--
1.8.1.2



\
 
 \ /
  Last update: 2015-04-08 14:01    [W:0.408 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site