diff options
| author | Daniele Ceraolo Spurio <[email protected]> | 2020-02-18 14:33:22 -0800 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2020-02-20 17:48:05 +0000 |
| commit | 4c467d5dcd614330fe22dac5be5cc0957356f2d8 (patch) | |
| tree | aed1d3491bef6c518d5e9a8cf471c7e1d6dc706c /lib/test_fortify/write_overflow-strcpy.c | |
| parent | 7a8c9b73147ff382c509394d67a78970e24c23f8 (diff) | |
drm/i915/uc: autogenerate uC checker functions
We want to map uC-level checks to GuC/HuC-level ones. The mapping from
the uC state to the GuC/HuC one follows the same pattern for all the
functions:
uc_xxx_guc() -> guc_is_yyy()
So we can easily use a macro to autogenerate the functions via macros by
passing in the 2 mapped states.
v2: Split this change to its own patch (Michal)
Signed-off-by: Daniele Ceraolo Spurio <[email protected]>
Cc: Michal Wajdeczko <[email protected]>
Reviewed-by: Andi Shyti <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strcpy.c')
0 files changed, 0 insertions, 0 deletions