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

Commit 29041b4b authored by Harvey Harrison's avatar Harvey Harrison Committed by Linus Torvalds
Browse files

ibmpex: add endian annotation to extract_data() helper



Signed-off-by: default avatarHarvey Harrison <harvey.harrison@gmail.com>
Cc: "Darrick J. Wong" <djwong@us.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 85e0e5ad
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@

static inline u16 extract_value(const char *data, int offset)
{
	return be16_to_cpup((u16 *)&data[offset]);
	return be16_to_cpup((__be16 *)&data[offset]);
}

#define TEMP_SENSOR		1