diff options
author | Ivan Bornyakov <brnkv.i1@gmail.com> | 2018-05-23 17:56:11 +0300 |
---|---|---|
committer | Keith Busch <keith.busch@intel.com> | 2018-05-23 09:11:37 -0600 |
commit | e9a9853c23c13a37546397b61b270999fd0fb759 (patch) | |
tree | 33668f06abdbcdbf6238017be6034d160aab3f71 /drivers/nvme/host/pci.c | |
parent | 978628ec795b18179e74ef12cfcd35bae569d13e (diff) | |
download | lwn-e9a9853c23c13a37546397b61b270999fd0fb759.tar.gz lwn-e9a9853c23c13a37546397b61b270999fd0fb759.zip |
nvme: host: core: fix precedence of ternary operator
Ternary operator have lower precedence then bitwise or, so 'cdw10' was
calculated wrong.
Signed-off-by: Ivan Bornyakov <brnkv.i1@gmail.com>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Diffstat (limited to 'drivers/nvme/host/pci.c')
0 files changed, 0 insertions, 0 deletions