[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Stop calling intel_opregion unregister/register in suspend/resume (rev2)

Patchwork patchwork at emeril.freedesktop.org
Tue Oct 30 11:24:27 UTC 2018


== Series Details ==

Series: drm/i915: Stop calling intel_opregion unregister/register in suspend/resume (rev2)
URL   : https://patchwork.freedesktop.org/series/50630/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
4e7c4e2dac56 drm/i915: Stop calling intel_opregion unregister/register in suspend/resume
-:221: WARNING:NEEDLESS_IF: kfree(NULL) is safe and this check is probably not required
#221: FILE: drivers/gpu/drm/i915/intel_opregion.c:1138:
+	if (opregion->vbt_firmware) {
+		kfree(opregion->vbt_firmware);

total: 0 errors, 1 warnings, 0 checks, 226 lines checked



More information about the Intel-gfx mailing list