[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <152449797393.46528.17202964805765258675@swboyd.mtv.corp.google.com>
Date: Mon, 23 Apr 2018 08:39:33 -0700
From: Stephen Boyd <swboyd@...omium.org>
To: Andy Gross <andy.gross@...aro.org>
Cc: linux-arm-msm@...r.kernel.org, linux-soc@...r.kernel.org,
linux-kernel@...r.kernel.org,
Mahesh Sivasubramanian <msivasub@...eaurora.org>,
Lina Iyer <ilina@...eaurora.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Evan Green <evgreen@...omium.org>
Subject: Re: [PATCH v2] soc: qcom: cmd-db: Make endian-agnostic
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.
Powered by blists - more mailing lists