提交 29041b4b 编写于 作者: H Harvey Harrison 提交者: Linus Torvalds

ibmpex: add endian annotation to extract_data() helper

Signed-off-by: NHarvey Harrison <harvey.harrison@gmail.com>
Cc: "Darrick J. Wong" <djwong@us.ibm.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 85e0e5ad
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册