On Fri, Apr 03, 2020 at 03:58:15PM +0200, Daniel Vetter wrote:
Upcasting using a container_of macro is more typesafe, faster and easier for the compiler to optimize.
Signed-off-by: Daniel Vetter daniel.vetter@intel.com Cc: Dave Airlie airlied@redhat.com Cc: Gerd Hoffmann kraxel@redhat.com Cc: virtualization@lists.linux-foundation.org Cc: spice-devel@lists.freedesktop.org
Acked-by: Gerd Hoffmann kraxel@redhat.com