crypto: qce50: fix llvm compilation warnings

Compiling kernel with upstream LLVM tool chain
gives warning related to bool operator.

Change-Id: I0291d7ca7df9141df68305746242cb7c9384d3c7
Signed-off-by: Vijayakumar Badiger <vbadig@codeaurora.org>
tirimbino
Vijayakumar Badiger 5 years ago committed by Gerrit - the friendly Code Review server
parent 61b4173928
commit ea5c8de99f
  1. 4
      drivers/crypto/msm/qce50.c

@ -1,7 +1,7 @@
/*
* QTI Crypto Engine driver.
*
* Copyright (c) 2012-2019, The Linux Foundation. All rights reserved.
* Copyright (c) 2012-2020, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@ -4676,7 +4676,7 @@ again:
pce_dev->intr_cadence = 0;
atomic_set(&pce_dev->bunch_cmd_seq, 0);
atomic_set(&pce_dev->last_intr_seq, 0);
pce_dev->cadence_flag = ~pce_dev->cadence_flag;
pce_dev->cadence_flag = !pce_dev->cadence_flag;
}
}

Loading…
Cancel
Save