lkml.org 
[lkml]   [2018]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v2] soc: qcom: cmd-db: Make endian-agnostic
Date
Quoting Stephen Boyd (2018-04-19 11:29:24)
> +
> +static inline void *
> +rsc_offset(struct rsc_hdr *hdr, struct entry_header *ent)
> +{
> + u16 offset = le16_to_cpu(hdr->header_offset);

This should be hdr->data_offset instead of header_offset.

\
 
 \ /
  Last update: 2018-04-23 17:40    [W:0.032 / U:0.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site