== Series Details == Series: DGFX OpRegion URL : https://patchwork.freedesktop.org/series/99738/ State : warning == Summary == $ dim checkpatch origin/drm-tip f2cee5f27f9b drm/i915/opregion: Abstract opregion function 7b611238fd8b drm/i915/opregion: Register opreg func only for disp parts 00e2ab253c8f drm/i915/dgfx: OPROM OpRegion Setup -:225: CHECK:ALLOC_SIZEOF_STRUCT: Prefer kzalloc(sizeof(*exprom_hdr)...) over kzalloc(sizeof(struct expansion_rom_header)...) #225: FILE: drivers/gpu/drm/i915/display/intel_opregion.c:1012: + exprom_hdr = kzalloc(sizeof(struct expansion_rom_header), GFP_KERNEL); -:226: CHECK:ALLOC_SIZEOF_STRUCT: Prefer kzalloc(sizeof(*exprom_pci_data)...) over kzalloc(sizeof(struct pci_data_structure)...) #226: FILE: drivers/gpu/drm/i915/display/intel_opregion.c:1013: + exprom_pci_data = kzalloc(sizeof(struct pci_data_structure), GFP_KERNEL); total: 0 errors, 0 warnings, 2 checks, 402 lines checked 40697cd393f3 drm/i915/dgfx: Get VBT from rvda