projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fcdb1c
)
i965: Add parentheses around usage of macro arguments
author
Matt Turner
<mattst88@gmail.com>
Fri, 1 Sep 2017 22:34:54 +0000
(15:34 -0700)
committer
Matt Turner
<mattst88@gmail.com>
Wed, 4 Oct 2017 21:08:54 +0000
(14:08 -0700)
Otherwise I cannot use this macro in test_eu_validate.cpp
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/intel/common/gen_device_info.h
patch
|
blob
|
history
diff --git
a/src/intel/common/gen_device_info.h
b/src/intel/common/gen_device_info.h
index ede4915e28742834af891e90adcc00dfd5ef8b0c..59b345e949ca7a204fea10f0e948495f675bfc82 100644
(file)
--- a/
src/intel/common/gen_device_info.h
+++ b/
src/intel/common/gen_device_info.h
@@
-193,7
+193,7
@@
struct gen_device_info
};
#define gen_device_info_is_9lp(devinfo) \
- (
devinfo->is_broxton || devinfo
->is_geminilake)
+ (
(devinfo)->is_broxton || (devinfo)
->is_geminilake)
bool gen_get_device_info(int devid, struct gen_device_info *devinfo);
const char *gen_get_device_name(int devid);