diff options
author | Stefan Wahren <stefan.wahren@i2se.com> | 2017-05-29 13:57:10 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-30 13:57:27 -0400 |
commit | e75977b4b88c3b226c7d3964a048fa8c75659b02 (patch) | |
tree | d3f152c520371ecc51b9360750b2b6a7b4d84672 /drivers/net/ethernet/qualcomm | |
parent | ce68349a356d60d942ce5758d835e9cb00dcf61d (diff) |
net: qca_framing: use u16 for frame offset
It doesn't make sense to use a signed variable for offset here, so
fix it up.
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qualcomm')
-rw-r--r-- | drivers/net/ethernet/qualcomm/qca_framing.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qualcomm/qca_framing.h b/drivers/net/ethernet/qualcomm/qca_framing.h index d5e795dcdf47..8b385e6f22c9 100644 --- a/drivers/net/ethernet/qualcomm/qca_framing.h +++ b/drivers/net/ethernet/qualcomm/qca_framing.h @@ -103,7 +103,7 @@ struct qcafrm_handle { enum qcafrm_state state; /* Offset in buffer (borrowed for length too) */ - s16 offset; + u16 offset; /* Frame length as kept by this module */ u16 len; |