[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <BL2PR03MB1908C6ACA740D30D502942F0A06B0@BL2PR03MB1908.namprd03.prod.outlook.com>
Date: Mon, 18 Apr 2016 19:42:41 +0000
From: KY Srinivasan <kys@...rosoft.com>
To: Joe Perches <joe@...ches.com>,
Alexander Duyck <alexander.duyck@...il.com>
CC: David Miller <davem@...emloft.net>,
Netdev <netdev@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"devel@...uxdriverproject.org" <devel@...uxdriverproject.org>,
"olaf@...fle.de" <olaf@...fle.de>, Robo Bot <apw@...onical.com>,
Jason Wang <jasowang@...hat.com>,
"eli@...lanox.com" <eli@...lanox.com>,
"jackm@...lanox.com" <jackm@...lanox.com>,
"yevgenyp@...lanox.com" <yevgenyp@...lanox.com>,
John Ronciak <john.ronciak@...el.com>,
intel-wired-lan <intel-wired-lan@...ts.osuosl.org>
Subject: RE: [Intel-wired-lan] [PATCH net-next V2 2/2] intel: ixgbevf: Support
Windows hosts (Hyper-V)
> -----Original Message-----
> From: Joe Perches [mailto:joe@...ches.com]
> Sent: Monday, April 18, 2016 10:00 AM
> To: KY Srinivasan <kys@...rosoft.com>; Alexander Duyck
> <alexander.duyck@...il.com>
> Cc: David Miller <davem@...emloft.net>; Netdev
> <netdev@...r.kernel.org>; linux-kernel@...r.kernel.org;
> devel@...uxdriverproject.org; olaf@...fle.de; Robo Bot
> <apw@...onical.com>; Jason Wang <jasowang@...hat.com>;
> eli@...lanox.com; jackm@...lanox.com; yevgenyp@...lanox.com; John
> Ronciak <john.ronciak@...el.com>; intel-wired-lan <intel-wired-
> lan@...ts.osuosl.org>
> Subject: Re: [Intel-wired-lan] [PATCH net-next V2 2/2] intel: ixgbevf: Support
> Windows hosts (Hyper-V)
>
> On Mon, 2016-04-18 at 16:52 +0000, KY Srinivasan wrote:
> []
> > > > +bool ixgbevf_on_hyperv(struct ixgbe_hw *hw)
> > > > +{
> > > > + if (hw->mbx.ops.check_for_msg == NULL)
> > > > + return true;
> > > > + else
> > > > + return false;
> > > > +}
>
> trivia:
>
> bool func(...)
> {
> if (<bar>)
> return true;
> else
> return false;
> }
>
> can generally be written as:
>
> bool func(...)
> {
> return <bar>;
> }
Thanks Joe; will update.
K. Y
Powered by blists - more mailing lists