Skip to content
Commit 2115f2a1 authored by Stefan Weil's avatar Stefan Weil Committed by Stefan Hajnoczi
Browse files

nvme: Fix unintentional integer overflow (OVERFLOW_BEFORE_WIDEN)



The shift operation on nlb gives a 32 bit result if no type cast is
applied. This bug was reported by Coverity.

Signed-off-by: default avatarStefan Weil <sw@weilnetz.de>
Message-id: 1426348844-8793-1-git-send-email-sw@weilnetz.de
Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
parent 4ad9e2b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment