diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2025-09-12 15:05:34 -0700 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2025-09-15 07:50:53 -0700 |
commit | 19baa830fbb60d712137dfbdf97a538f7057d100 (patch) | |
tree | 149895b22350f32f08652cd598ca7bb4de243ac7 /rust/helpers | |
parent | 75cc23ffe5b422bc3cbd5cf0956b8b86e4b0e162 (diff) |
drm/xe: Use ARRAY_SIZE in guc_waklv_init()
Prefer using ARRAY_SIZE where needed and just passing 1 instead of
calculating the size of one element.
Cc: Jonathan Cavitt <jonathan.cavitt@intel.com>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202508130158.eogeBZQT-lkp@intel.com/
Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Link: https://lore.kernel.org/r/20250912-guc-ads-array-size-v1-1-a6555392a1f8@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions