From 944579c5a474e5faffd3ff2ee0e45eb7c53c3fd3 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Wed, 28 Jan 2015 09:43:35 +0300 Subject: [PATCH] drm: Check the right variable when setting formats When setting the video bus supported formats for a display device using drm_display_info_set_bus_formats(), check for the proper variable after duplicating memory. Signed-off-by: Dan Carpenter Reviewed-by: Daniel Kurtz Signed-off-by: Thierry Reding --- Reading git-format-patch failed