summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/bug.h
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2012-11-12 18:31:36 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-11-22 14:10:19 +0100
commit4b745b1e54efa5154a06ed606ad82660773602b3 (patch)
treeb7a932e3a40e294650107d94df0c6116895396c4 /arch/arm/include/asm/bug.h
parent662595df9fcba6e8d6f9ac905c960425cca38697 (diff)
drm/i915/sdvo: kfree the intel_sdvo_connector, not drm_connector, on destroy
Since the base fields in both struct intel_connector and struct intel_sdvo_connector are at the beginning of the enclosing struct, the pointers are essentially the same, but there is no requirement or guarantee that this is always the case. Kfree the enclosing intel_sdvo_connector pointer that was originally allocated, not the enclosed drm_connector, in case someone ever rearranges the structs. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'arch/arm/include/asm/bug.h')
0 files changed, 0 insertions, 0 deletions