drm/xe/guc: Fix sizeof(32) typo
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Tue, 21 Jan 2025 09:48:32 +0000 (10:48 +0100)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Tue, 21 Jan 2025 21:01:28 +0000 (22:01 +0100)
commit5994018ecffc9e70e192bede2270819d8c93b2d4
treea482e88843b33831c9fccaba746ade62d452ba34
parent9ebb5846e1a3b1705f8a7cbc528888a1aa0b163e
drm/xe/guc: Fix sizeof(32) typo

A small typo leads to the following static code checker warning:

drivers/gpu/drm/xe/xe_guc_buf.c:81 xe_guc_buf_reserve()
warn: sizeof(NUMBER)?

Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/intel-xe/0d5bcbf1-79f9-4a10-a221-ddbaec9f6122@stanley.mountain/
Fixes: 696bfdf273ea ("drm/xe/guc: Introduce the GuC Buffer Cache")
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Dan Carpenter <dan.carpenter@linaro.org>
Cc: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Stuart Summers <stuart.summers@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250121094832.588-1-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_guc_buf.c