Re: [PATCH] Drivers: hv: vmbus: Return -EINVAL for the sys files for unopened channels

From: Stephen Hemminger
Date: Mon Dec 17 2018 - 15:35:37 EST


On Mon, 17 Dec 2018 18:44:12 +0000
Dexuan Cui <decui@xxxxxxxxxxxxx> wrote:

> > From: devel <driverdev-devel-bounces@xxxxxxxxxxxxxxxxxxxxxx> On Behalf Of
> > Dexuan Cui
> > Sent: Monday, December 17, 2018 10:31 AM
> > > From: Stephen Hemminger <stephen@xxxxxxxxxxxxxxxxxx>
> > >
> > > The old code was risky because it would silently return stack garbage.
> > > Having an error check in get_debuginfo would eliminate that.
> >
> > OK, then let me make another patch based on the latest char-misc-linus.
> >
> > -- Dexuan
>
> Hi Stephen, your patch can apply cleanly. Let me rebase your patch to
> char-misc-linus, do a test, and then post it with your Signed-off-by and mine:
> I assume you're Ok with this. Please let me know in case it's not. :-)
>
> Thanks,
> -- Dexuan

Sure.