login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
September
»
27
Re: [RFC] QoS params patch update.
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Paul Mundt <lethal@...>
To: Mark Gross <mgross@...>
Cc: Randy Dunlap <randy.dunlap@...>, linux-pm <linux-pm@...>, lkml <linux-kernel@...>
Subject:
Re: [RFC] QoS params patch update.
Date: Thursday, September 27, 2007 - 8:08 pm
On Thu, Sep 27, 2007 at 01:17:39PM -0700, Mark Gross wrote:
quoted text
> Updated qos PM parameter patch: > Note: the replacing of latency.c with this is a separate patch. > > this patch attempts to address the issues raised so far. >
[snip]
quoted text
> +static int register_new_qos_misc(struct qos_object *qos) > +{ > + int ret; > + > + qos->qos_power_miscdev.minor = MISC_DYNAMIC_MINOR; > + qos->qos_power_miscdev.name = qos->name; > + qos->qos_power_miscdev.fops = &qos_power_fops; > + > + ret = misc_register(&qos->qos_power_miscdev); > + > + return ret; > +} > +
Minor nit, ret is a pointless variable here, you can just return misc_register directly. Other than that, this looks much better! -
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:
[RFC] QoS power Management enabling patch set
, Mark Gross
, (Wed Sep 26, 6:37 pm)
Re: [RFC] QoS power example / hack
, Mark Gross
, (Wed Sep 26, 6:45 pm)
Re: [RFC] QoS power Management enabling patch set
, Mark Gross
, (Wed Sep 26, 6:42 pm)
Re: [RFC] QoS params patch
, Mark Gross
, (Wed Sep 26, 6:40 pm)
Re: [RFC] QoS params patch
, Andrew Morton
, (Fri Sep 28, 2:25 am)
Re: [RFC] QoS params patch
, Mark Gross
, (Fri Sep 28, 1:19 pm)
Re: [RFC] QoS params patch
, Andrew Morton
, (Fri Sep 28, 2:51 pm)
Re: [RFC] QoS params patch
, Mark Gross
, (Mon Oct 1, 12:11 pm)
Re: [RFC] QoS params patch
, Paul Mundt
, (Fri Sep 28, 2:41 am)
Re: [RFC] QoS params patch
, Mark Gross
, (Fri Sep 28, 1:22 pm)
Re: [RFC] QoS params patch
, Paul Mundt
, (Wed Sep 26, 10:24 pm)
Re: [RFC] QoS params patch
, Mark Gross
, (Thu Sep 27, 12:21 pm)
Re: [RFC] QoS params patch
, Randy Dunlap
, (Thu Sep 27, 12:05 am)
Re: [RFC] QoS params patch update.
, Mark Gross
, (Thu Sep 27, 4:17 pm)
Re: [RFC] QoS params patch update.
, Paul Mundt
, (Thu Sep 27, 8:08 pm)
Re: [RFC] QoS params patch
, Mark Gross
, (Thu Sep 27, 11:37 am)
Re: [RFC] QoS params patch
, Randy Dunlap
, (Wed Sep 26, 7:41 pm)
Re: [RFC] QoS params patch
, Mark Gross
, (Wed Sep 26, 8:40 pm)
Re: [RFC] QoS params patch
, roel
, (Thu Sep 27, 9:00 am)
Re: [RFC] QoS params patch
,
, (Wed Sep 26, 10:53 pm)
Re: [RFC] QoS params patch
, Mark Gross
, (Thu Sep 27, 11:36 am)
Re: [RFC] QoS params patch
, Paul Mundt
, (Wed Sep 26, 11:18 pm)
Re: [RFC] QoS params patch
, Mark Gross
, (Thu Sep 27, 11:17 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Justin Piszcz
exception Emask 0x0 SAct 0x1 / SErr 0x0 action 0x2 frozen
Heiko Carstens
Re: -mm merge plans for 2.6.23 -- sys_fallocate
git
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
Radu Rendec
htb parallelism on multi-core platforms
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
4 users
and
908 guests
online.
Online users
zeekec
letsgotouring
pavan6754
puntmuts
Syndicate