drm/xe/query: Use kzalloc for drm_xe_query_engines
authorNirmoy Das <nirmoy.das@intel.com>
Wed, 31 Jan 2024 05:18:38 +0000 (06:18 +0100)
committerLucas De Marchi <lucas.demarchi@intel.com>
Sat, 3 Feb 2024 06:44:55 +0000 (22:44 -0800)
commit17ffcdb041a4bce4db8f96552cbcf7ec8897490c
treef833abe995bc62f87a3b05ab44da8eb73dddc405
parentdb0adab049120e2df92420139538a22c8ee6faa0
drm/xe/query: Use kzalloc for drm_xe_query_engines

Use kzalloc like other routines for better consistency.

v2: Improve the subject(Matt)

Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240131051838.24705-1-nirmoy.das@intel.com
drivers/gpu/drm/xe/xe_query.c