Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1381918

Re: [Intel-wired-lan] [PATCH net-next V2 2/2] intel: ixgbevf: Support Windows hosts (Hyper-V)

From Joe Perches <joe@perches.com>
Newsgroups linux.kernel
Subject Re: [Intel-wired-lan] [PATCH net-next V2 2/2] intel: ixgbevf: Support Windows hosts (Hyper-V)
Date 2016-04-18 19:10 +0200
Message-ID <rpkQq-Ms-19@gated-at.bofh.it> (permalink)
References <rp8me-7cT-23@gated-at.bofh.it> <rp8me-7cT-25@gated-at.bofh.it> <rp8me-7cT-21@gated-at.bofh.it> <rpk42-5g-33@gated-at.bofh.it> <rpkGK-q2-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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>;
}

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH net-next V2 2/2] intel: ixgbevf: Support Windows hosts (Hyper-V) "K. Y. Srinivasan" <kys@microsoft.com> - 2016-04-18 05:50 +0200
  Re: [Intel-wired-lan] [PATCH net-next V2 2/2] intel: ixgbevf: Support  Windows hosts (Hyper-V) Alexander Duyck <alexander.duyck@gmail.com> - 2016-04-18 18:20 +0200
    RE: [Intel-wired-lan] [PATCH net-next V2 2/2] intel: ixgbevf: Support  Windows hosts (Hyper-V) KY Srinivasan <kys@microsoft.com> - 2016-04-18 19:00 +0200
      Re: [Intel-wired-lan] [PATCH net-next V2 2/2] intel: ixgbevf:  Support Windows hosts (Hyper-V) Joe Perches <joe@perches.com> - 2016-04-18 19:10 +0200
        RE: [Intel-wired-lan] [PATCH net-next V2 2/2] intel: ixgbevf: Support  Windows hosts (Hyper-V) KY Srinivasan <kys@microsoft.com> - 2016-04-18 21:50 +0200

csiph-web