diff options
| author | Tomer Tayar <[email protected]> | 2019-04-10 15:18:46 +0300 |
|---|---|---|
| committer | Oded Gabbay <[email protected]> | 2019-04-10 15:18:46 +0300 |
| commit | e00dac3daaa75fc91ec67f656ca56859075059c8 (patch) | |
| tree | ba3a4db07127b38484573e63a2fe2cd4acedfcaa /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | 78e6427b4e7b017951785982f7f97cf64e2d624b (diff) | |
habanalabs: Cancel pr_fmt() definition dependency on includes order
pr_fmt() should be defined before including linux/printk.h, either
directly or indirectly, in order to avoid redefinition of the macro.
Currently the macro definition is in habanalabs.h, which is included in
many files, and that makes the addition/reorder of includes to be prone
to compilation errors.
This patch cancels this dependency by defining the macro only in the few
source files that use it.
Signed-off-by: Tomer Tayar <[email protected]>
Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions