login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
July
»
16
Re: [PATCH] drivers/usb/class/usblp.c: adjust error handling code
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Oliver Neukum <oliver@...>
To: Julia Lawall <julia@...>
Cc: <zaitcev@...>, <linux-usb@...>, <linux-kernel@...>, <kernel-janitors@...>
Subject:
Re: [PATCH] drivers/usb/class/usblp.c: adjust error handling code
Date: Wednesday, July 16, 2008 - 11:44 am
Am Mittwoch 16 Juli 2008 17:17:42 schrieb Julia Lawall:
quoted text
> From: Julia Lawall <julia@diku.dk> > > In this code, it is possible to tell statically whether usblp will be NULL > in the error handling code. > > Another option would have been to put a label directly on the return.
That would be better. It means less chance to overlook an error case if locking needs to be added in the future. Regards Oliver --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] drivers/usb/class/usblp.c: adjust error handling code
, Julia Lawall
, (Wed Jul 16, 11:17 am)
Re: [PATCH] drivers/usb/class/usblp.c: adjust error handling...
, Pete Zaitcev
, (Wed Jul 16, 12:44 pm)
Re: [PATCH] drivers/usb/class/usblp.c: adjust error handling...
, Oliver Neukum
, (Wed Jul 16, 11:44 am)
[PATCH retry] drivers/usb/class/usblp.c: adjust error handli...
, Julia Lawall
, (Wed Jul 16, 12:00 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 002/196] Chinese: rephrase English introduction in HOWTO
David Brown
Re: Linux 2.6.21-rc2
James Bottomley
Re: Integration of SCST in the mainstream Linux kernel
Justin C. Sherrill
Re: dragonflybsd.org website link?
git
:
linux-netdev
:
Ben Hutchings
Re: [GIT]: Networking
Gerrit Renker
[PATCH 15/37] dccp: Set per-connection CCIDs via socket options
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
3 users
and
562 guests
online.
Online users
cristalyoung72
morelmushroom
juegosiles
Syndicate