diff options
author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-07-03 09:50:15 +0200 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-07-07 07:51:19 +0200 |
commit | b82c1f8f78b4d273d1bcefe3e805eff61e879a68 (patch) | |
tree | d20bc6cab499daa98b5f59b1a755073f6ed2ffaa /fs/nfsd/trace.c | |
parent | 73915b2b1f2581cbce5a511550c2cac2e2b42595 (diff) |
drm/atomic: Avoid connector to writeback_connector casts
Use container_of() instead of type casting so that it keeps working
even if base is moved inside the drm_writeback_connector struct.
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20180703075022.15138-2-boris.brezillon@bootlin.com
Diffstat (limited to 'fs/nfsd/trace.c')
0 files changed, 0 insertions, 0 deletions