Re: [PATCH v2] soc: qcom: cmd-db: Make endian-agnostic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux