summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-add.c
diff options
context:
space:
mode:
authorHao Chen <chenhao288@hisilicon.com>2021-12-03 17:20:52 +0800
committerDavid S. Miller <davem@davemloft.net>2021-12-03 11:00:59 +0000
commit0cc25c6a14efd709f2cfcde345e3d5c6aa20f80e (patch)
tree13a5337c079805f6aebae8b2a8fd23c3ac98be47 /lib/mpi/mpi-add.c
parent114967adbc3dce9c537e85eba2d605233d64f54f (diff)
net: hns3: Align type of some variables with their print type
The c language has a set of implicit type conversions, when two variables perform bitwise or arithmetic operations. For example, variable A (type u16/u8) -1, its output is int type variable. u16/u8 will convert to int type implicitly before it does arithmetic operations. So, change 1 to unsigned type. Signed-off-by: Hao Chen <chenhao288@hisilicon.com> Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions