projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84a1caf
)
PM / QoS: Use NULL pointer instead of plain integer in pm_qos.h
author
Sachin Kamat
<sachin.kamat@linaro.org>
Tue, 17 Jul 2012 20:38:18 +0000
(22:38 +0200)
committer
Rafael J. Wysocki
<rjw@sisk.pl>
Wed, 18 Jul 2012 22:02:30 +0000
(
00:02
+0200)
Fix the following sparse warning:
include/linux/pm_qos.h:69:28: warning: Using plain integer as NULL pointer
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
include/linux/pm_qos.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/pm_qos.h
b/include/linux/pm_qos.h
index 233149cb19f4ae8af9ad35b7f6d2d5ab5929e288..9924ea1f22e07306f39607e08df8b36244832ab9 100644
(file)
--- a/
include/linux/pm_qos.h
+++ b/
include/linux/pm_qos.h
@@
-66,7
+66,7
@@
enum pm_qos_req_action {
static inline int dev_pm_qos_request_active(struct dev_pm_qos_request *req)
{
- return req->dev !=
0
;
+ return req->dev !=
NULL
;
}
int pm_qos_update_target(struct pm_qos_constraints *c, struct plist_node *node,