summaryrefslogtreecommitdiff
path: root/fs/ntfs/bitmap.c
diff options
context:
space:
mode:
authorLuca Coelho <luciano.coelho@intel.com>2019-11-25 14:21:58 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-02-15 00:32:06 +0300
commit7a63a59b6644f8b04d05e81096ddf90297c847a8 (patch)
treed0bd524c1d55deba88c64d1d8fac7b925807e205 /fs/ntfs/bitmap.c
parent57da5bc425bd787c2806cdf84f3921527a5c57ad (diff)
downloadlinux-7a63a59b6644f8b04d05e81096ddf90297c847a8.tar.xz
iwlwifi: mvm: fix NVM check for 3168 devices
[ Upstream commit b3f20e098293892388d6a0491d6bbb2efb46fbff ] We had a check on !NVM_EXT and then a check for NVM_SDP in the else block of this if. The else block, obviously, could only be reached if using NVM_EXT, so it would never be NVM_SDP. Fix that by checking whether the nvm_type is IWL_NVM instead of checking for !IWL_NVM_EXT to solve this issue. Reported-by: Stefan Sperling <stsp@stsp.name> Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/ntfs/bitmap.c')
0 files changed, 0 insertions, 0 deletions