Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ae154077 authored by Sharat Masetty's avatar Sharat Masetty
Browse files

drm/msm: Fix the SNAPSHOT_HEADER macro



The "_header" field of the macro was being incorrectly expanded to just
"header". This was only working because all the functions which used this
macro already had "header" defined in scope.

Change-Id: I19e77ae78cfff471ddffd428cb3fd055c6340737
Signed-off-by: default avatarSharat Masetty <smasetty@codeaurora.org>
parent 96605f75
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -71,8 +71,8 @@ static inline bool _snapshot_header(struct msm_snapshot *snapshot,
 */
#define SNAPSHOT_HEADER(_snapshot, _header, _id, _dwords) \
	_snapshot_header((_snapshot), \
		(struct msm_snapshot_section_header *) &(header), \
		sizeof(header), (_dwords) << 2, (_id))
		(struct msm_snapshot_section_header *) &(_header), \
		sizeof(_header), (_dwords) << 2, (_id))

struct msm_gpu;