PM / Domains: Fix a warning message
Subsystems (5)
PATCH 1/1 PM / Domains: Fix a warning message
The first argument of WARN() is the condition, followed by the message.
Signed-off-by Dan Carpenter <[email protected]>
drivers/base/power/domain.c +1 -1
@@ -1297,7 +1297,7 @@ static int genpd_add_subdomain(struct generic_pm_domain *genpd,* powered on/off in that context. */ if (!genpd_is_irq_safe (genpd) &&genpd_is_irq_safe (subdomain)) { -WARN ("Parent %s of subdomain %s must be IRQ safe\n" , +WARN (1 ,"Parent %s of subdomain %s must be IRQ safe\n" , genpd->name, subdomain->name);return -EINVAL ; }
Quoted 3 lines · Dan Carpenter
The first argument of
WARN()is the condition, followed by the message.Signed-off-by Dan Carpenter <[email protected]>
Acked-by Pavel Machek <[email protected]>
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Quoted 3 lines · Dan Carpenter
The first argument of
WARN()is the condition, followed by the message.Signed-off-by Dan Carpenter <[email protected]>
Acked-by Ulf Hansson <[email protected]>
Kind regards
Uffe
Quoted 14 lines
drivers/base/power/domain.c +1
-1@@ -1297,7 +1297,7 @@ static int genpd_add_subdomain(struct generic_pm_domain *genpd,* powered on/off in that context. */ if (!genpd_is_irq_safe (genpd) &&genpd_is_irq_safe (subdomain)) { -WARN ("Parent %s of subdomain %s must be IRQ safe\n" , +WARN (1 ,"Parent %s of subdomain %s must be IRQ safe\n" , genpd->name, subdomain->name);return -EINVAL ; }
Rafael J. Wysocki
AppliedQuoted 6 lines · Ulf Hansson
Quoted 3 lines · Dan Carpenter
The first argument of
WARN()is the condition, followed by the message.Signed-off-by Dan Carpenter <[email protected]>Acked-by Ulf Hansson <[email protected]>
Applied.
Thanks,
Rafael