From dffe677a5c99fb6e87d8b9097f557cd846e4cee5 Mon Sep 17 00:00:00 2001 From: Michael Benedict Date: Mon, 3 Jun 2019 18:51:33 +1000 Subject: [PATCH] drivers: modem_v1: silence logical-not-parentheses warning Signed-off-by: Michael Benedict --- drivers/misc/modem_v1/modem_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/modem_v1/modem_utils.c b/drivers/misc/modem_v1/modem_utils.c index 9823289df1ac..cc4c8513caaf 100644 --- a/drivers/misc/modem_v1/modem_utils.c +++ b/drivers/misc/modem_v1/modem_utils.c @@ -522,7 +522,7 @@ void stop_net_ifaces(struct link_device *ld) unsigned long flags; spin_lock_irqsave(&ld->netif_lock, flags); - if (!atomic_read(&ld->netif_stopped) > 0) { + if (!(atomic_read(&ld->netif_stopped) > 0)) { if (ld->msd) netif_tx_flowctl(ld->msd, true); -- 2.20.1