projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f2dc5a
)
drm/i915: add braces around KHz/MHz macro parameters
author
Jani Nikula
<jani.nikula@intel.com>
Fri, 10 Jan 2014 15:10:20 +0000
(17:10 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Fri, 10 Jan 2014 17:03:59 +0000
(18:03 +0100)
It's an accident waiting to happen.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_drv.h
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_drv.h
b/drivers/gpu/drm/i915/intel_drv.h
index 0299741d975b74418b30ce8120240d056b48258b..4cbf49051b9c9db4ea3068f552386d4d84988d8d 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_drv.h
+++ b/
drivers/gpu/drm/i915/intel_drv.h
@@
-65,8
+65,8
@@
#define wait_for_atomic_us(COND, US) _wait_for((COND), \
DIV_ROUND_UP((US), 1000), 0)
-#define KHz(x) (1000
*x
)
-#define MHz(x) KHz(1000
*x
)
+#define KHz(x) (1000
* (x)
)
+#define MHz(x) KHz(1000
* (x)
)
/*
* Display related stuff