All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Introducing goto for error and lock handling
@ 2015-03-11 14:02 ` Quentin Lambert
  0 siblings, 0 replies; 2+ messages in thread
From: Quentin Lambert @ 2015-03-11 14:02 UTC (permalink / raw)
  To: Lidza Louina, Mark Hounschell, Greg Kroah-Hartman
  Cc: kernel-janitors, driverdev-devel, devel, linux-kernel

The first patch fix a missing call to dgnc_tty_uninit.

The other two patches focus on the TODO item:
use goto statements for error handling when appropriate

The second patch resolves cases where the improvement seems
clear.

The third patch deals with cases where the added value did
not seem as important or the changes felt more complex.

Quentin Lambert (3):
  Staging: dgnc: dgnc_driver: Add a missing call to dgnc_tty_uninit
  Staging: dgnc: Use goto for error handling
  Staging: dgnc: Use goto for spinlock release before return

 drivers/staging/dgnc/dgnc_cls.c    | 19 ++++++---------
 drivers/staging/dgnc/dgnc_driver.c | 13 +++--------
 drivers/staging/dgnc/dgnc_neo.c    | 30 ++++++++++--------------
 drivers/staging/dgnc/dgnc_tty.c    | 48 ++++++++++++++++++--------------------
 4 files changed, 45 insertions(+), 65 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 0/3] Introducing goto for error and lock handling
@ 2015-03-11 14:02 ` Quentin Lambert
  0 siblings, 0 replies; 2+ messages in thread
From: Quentin Lambert @ 2015-03-11 14:02 UTC (permalink / raw)
  To: Lidza Louina, Mark Hounschell, Greg Kroah-Hartman
  Cc: kernel-janitors, driverdev-devel, devel, linux-kernel

The first patch fix a missing call to dgnc_tty_uninit.

The other two patches focus on the TODO item:
use goto statements for error handling when appropriate

The second patch resolves cases where the improvement seems
clear.

The third patch deals with cases where the added value did
not seem as important or the changes felt more complex.

Quentin Lambert (3):
  Staging: dgnc: dgnc_driver: Add a missing call to dgnc_tty_uninit
  Staging: dgnc: Use goto for error handling
  Staging: dgnc: Use goto for spinlock release before return

 drivers/staging/dgnc/dgnc_cls.c    | 19 ++++++---------
 drivers/staging/dgnc/dgnc_driver.c | 13 +++--------
 drivers/staging/dgnc/dgnc_neo.c    | 30 ++++++++++--------------
 drivers/staging/dgnc/dgnc_tty.c    | 48 ++++++++++++++++++--------------------
 4 files changed, 45 insertions(+), 65 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-11 14:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-11 14:02 [PATCH 0/3] Introducing goto for error and lock handling Quentin Lambert
2015-03-11 14:02 ` Quentin Lambert

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.