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-soc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux