From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Perches Subject: Re: [Intel-wired-lan] [PATCH net-next V2 2/2] intel: ixgbevf: Support Windows hosts (Hyper-V) Date: Mon, 18 Apr 2016 10:00:19 -0700 Message-ID: <1460998819.1917.10.camel@perches.com> References: <1460956943-17560-1-git-send-email-kys@microsoft.com> <1460956969-17601-1-git-send-email-kys@microsoft.com> <1460956969-17601-3-git-send-email-kys@microsoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: "olaf@aepfle.de" , Netdev , Jason Wang , "linux-kernel@vger.kernel.org" , "jackm@mellanox.com" , "yevgenyp@mellanox.com" , John Ronciak , intel-wired-lan , "eli@mellanox.com" , Robo Bot , "devel@linuxdriverproject.org" , David Miller To: KY Srinivasan , Alexander Duyck Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" List-Id: netdev.vger.kernel.org On Mon, 2016-04-18 at 16:52 +0000, KY Srinivasan wrote: [] > > > +bool ixgbevf_on_hyperv(struct ixgbe_hw *hw) > > > +{ > > > +=A0=A0=A0=A0=A0=A0=A0if (hw->mbx.ops.check_for_msg =3D=3D NULL) > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0return true; > > > +=A0=A0=A0=A0=A0=A0=A0else > > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0return false; > > > +} trivia: bool func(...) { if () return true; else return false; } can generally be written as: bool func(...) { return ; }