[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3132701.EBRqRlvTI9@lx-vladimir>
Date: Mon, 10 Feb 2014 12:54:13 +0200
From: Vladimir Kondratiev <qca_vkondrat@....qualcomm.com>
To: Alexander Gordeev <agordeev@...hat.com>
CC: <linux-kernel@...r.kernel.org>, <linux-wireless@...r.kernel.org>,
<wil6210@....qualcomm.com>, <linux-pci@...r.kernel.org>
Subject: Re: [PATCH] wil6210: Fix switch operator "missing break?" warning
On Friday, February 07, 2014 03:46:40 PM Alexander Gordeev wrote:
> This update fixes a warning introduced with commit bc977ba1
> ("wil6210: Use pci_enable_msi_range() instead of pci_enable_msi_block()")
>
> drivers/net/wireless/ath/wil6210/pcie_bus.c:65 wil_if_pcie_enable()
> warn: missing break? reassigning 'use_msi'
>
I can't reproduce this warning. What tools used to get it?
Neither gcc (I have 4.8.1) nor sparse report it.
Anyway, I am fine with both 'switch' and 'if'.
Thanks, Vladimir.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists