diff options
author | Shijie Qin <shijie.qin@nxp.com> | 2020-08-13 12:01:28 +0800 |
---|---|---|
committer | Shijie Qin <shijie.qin@nxp.com> | 2020-08-13 17:20:32 +0800 |
commit | 2f7a8e07a32800030813484f6fd899d1201c89c6 (patch) | |
tree | f25af3f90157d357d6766b945ef15ca84252be1f /drivers/mxc | |
parent | 66905b708e7dc627009c8eb4efe9d0af5e68f96a (diff) |
LF-2138: mxc: vpu_malone: change typedef of 'valid_ts_received' to unsigned int
Bit field of 'valid_ts_received' is 1, change its typedef to
unsigned int. (coverity ID 9000734)
Signed-off-by: Shijie Qin <shijie.qin@nxp.com>
Reviewed-by: ming_qian <ming.qian@nxp.com>
Diffstat (limited to 'drivers/mxc')
-rw-r--r-- | drivers/mxc/vpu_malone/vpu_ts.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mxc/vpu_malone/vpu_ts.h b/drivers/mxc/vpu_malone/vpu_ts.h index 7f52af7279ca..956310f4919f 100644 --- a/drivers/mxc/vpu_malone/vpu_ts.h +++ b/drivers/mxc/vpu_malone/vpu_ts.h @@ -153,7 +153,7 @@ typedef struct _TSManager { int tx_cnt; int rx_cnt; int cnt; - int valid_ts_received:1; + unsigned int valid_ts_received:1; int big_cnt; TSMRecivedCtl rctl; |