summaryrefslogtreecommitdiffstats
path: root/drivers/net/wwan/iosm/iosm_ipc_mux_codec.h
diff options
context:
space:
mode:
authorM Chetan Kumar <m.chetan.kumar@linux.intel.com>2021-08-04 21:39:50 +0530
committerDavid S. Miller <davem@davemloft.net>2021-08-05 11:28:55 +0100
commitb46c5795d641b759eb0f001ab21852fe5df5ef92 (patch)
treed48490c9aace69c8e93ad8514ec8f128fa0abd17 /drivers/net/wwan/iosm/iosm_ipc_mux_codec.h
parent5a7c1b2a5bb4461967b15f3484a0ff75d3199719 (diff)
downloadlinux-b46c5795d641b759eb0f001ab21852fe5df5ef92.tar.bz2
net: wwan: iosm: endianness type correction
Endianness type correction for nr_of_bytes. This field is exchanged as part of host-device protocol communication. Signed-off-by: M Chetan Kumar <m.chetan.kumar@linux.intel.com> Reviewed-by: Loic Poulain <loic.poulain@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wwan/iosm/iosm_ipc_mux_codec.h')
-rw-r--r--drivers/net/wwan/iosm/iosm_ipc_mux_codec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wwan/iosm/iosm_ipc_mux_codec.h b/drivers/net/wwan/iosm/iosm_ipc_mux_codec.h
index 4a74e3c9457f..aae83db5cbb8 100644
--- a/drivers/net/wwan/iosm/iosm_ipc_mux_codec.h
+++ b/drivers/net/wwan/iosm/iosm_ipc_mux_codec.h
@@ -106,7 +106,7 @@ struct mux_lite_cmdh {
* @nr_of_bytes: Number of bytes available to transmit in the queue.
*/
struct mux_lite_vfl {
- u32 nr_of_bytes;
+ __le32 nr_of_bytes;
};
/**