login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
30
Re: [PATCH 1/2] usb_gigaset: suspend support [v2]
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Andrew Morton <akpm@...>
To: Tilman Schmidt <tilman@...>
Cc: <linux-kernel@...>, <gregkh@...>, <linux-usb-devel@...>, <hjlipp@...>, <kkeil@...>, <i4ldeveloper@...>
Subject:
Re: [PATCH 1/2] usb_gigaset: suspend support [v2]
Date: Tuesday, October 30, 2007 - 5:01 pm
On Mon, 29 Oct 2007 22:41:30 +0100 (CET) Tilman Schmidt <tilman@imap.cc> wrote:
quoted text
> From: Tilman Schmidt <tilman@imap.cc> > > Add basic suspend/resume support to the usb_gigaset driver. > (Corrected version.) >
You're not a big fan of checkpatch, I see.
quoted text
> +static int gigaset_suspend(struct usb_interface *intf, pm_message_t message) > +{ > + struct cardstate *cs; > + struct usb_cardstate *ucs; > + > + if ((cs = usb_get_intfdata(intf)) == NULL || > + (ucs = cs->hw.usb) == NULL) { > + err("%s: no cardstate", __func__); > + return -EFAULT; > + }
Is the above reeeeeely needed? I bet it never happens.
quoted text
> +static int gigaset_resume(struct usb_interface *intf) > +{ > + struct cardstate *cs; > + struct usb_cardstate *ucs; > + int rc; > + > + if ((cs = usb_get_intfdata(intf)) == NULL || > + (ucs = cs->hw.usb) == NULL) { > + err("%s: no cardstate", __func__); > + return -EFAULT; > + }
ditto. -
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:
Re: [PATCH 1/2] usb_gigaset: suspend support [v2]
, Andrew Morton
, (Tue Oct 30, 5:01 pm)
Re: [PATCH 1/2] usb_gigaset: suspend support [v2]
, Tilman Schmidt
, (Thu Nov 1, 2:20 pm)
Re: [linux-usb-devel] [PATCH 1/2] usb_gigaset: suspend suppo...
, Alan Stern
, (Thu Nov 1, 3:47 pm)
Re: [PATCH 1/2] usb_gigaset: suspend support [v2]
, Andrew Morton
, (Thu Nov 1, 2:45 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Linus Torvalds
Linux 2.6.27-rc5
Jared Hulbert
[PATCH 00/10] AXFS: Advanced XIP filesystem
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Linus Torvalds
Linux 2.6.27-rc8
git
:
linux-netdev
:
David Miller
[GIT]: Networking
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Mark McLoughlin
[PATCH] bridge: make bridge-nf-call-*tables default configurable
Gerrit Renker
[PATCH 03/37] dccp: List management for new feature negotiation
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
4 users
and
929 guests
online.
Online users
zeekec
strcmp
plussizelingeri
honeyairtuz
Syndicate