LKML Archive on
help / color / mirror / Atom feed
From: Quentin Lambert <>
To: Lidza Louina <>,
	Mark Hounschell <>,
	Greg Kroah-Hartman <>
Subject: [PATCH 0/3] Introducing goto for error and lock handling
Date: Wed, 11 Mar 2015 15:02:47 +0100	[thread overview]
Message-ID: <20150311140247.GA17012@sloth> (raw)

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

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(-)


                 reply	other threads:[~2015-03-11 14:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150311140247.GA17012@sloth \ \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).