diff options
author | 2025-01-03 11:56:51 +0530 | |
---|---|---|
committer | 2025-01-09 13:43:16 +0100 | |
commit | 6f0572fa8fd6758f7a0ed2e96b429cb5b4323e12 (patch) | |
tree | a7f06185ed1ab07025fe227a54d331651094aec5 /scripts/lib/kdoc/kdoc_files.py | |
parent | drm/i915/gt: Prevent uninitialized pointer reads (diff) | |
download | linux-rng-6f0572fa8fd6758f7a0ed2e96b429cb5b4323e12.tar.xz linux-rng-6f0572fa8fd6758f7a0ed2e96b429cb5b4323e12.zip |
drm/i915/gt: Prefer IS_ENABLED() instead of defined() on config option
Use IS_ENABLED() instead of defined() for checking whether a kconfig
option is enabled.
Signed-off-by: Nitin Gote <nitin.r.gote@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250103062651.798249-2-nitin.r.gote@intel.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions