Skip to content
Snippets Groups Projects
Commit e9a9853c authored by Ivan Bornyakov's avatar Ivan Bornyakov Committed by Keith Busch
Browse files

nvme: host: core: fix precedence of ternary operator


Ternary operator have lower precedence then bitwise or, so 'cdw10' was
calculated wrong.

Signed-off-by: default avatarIvan Bornyakov <brnkv.i1@gmail.com>
Reviewed-by: default avatarMax Gurtovoy <maxg@mellanox.com>
Signed-off-by: default avatarKeith Busch <keith.busch@intel.com>
parent 978628ec
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment