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

Stephen Hemminger stephen at networkplumber.org
Mon Dec 17 20:35:31 UTC 2018


On Mon, 17 Dec 2018 18:44:12 +0000
Dexuan Cui <decui at microsoft.com> wrote:

> > From: devel <driverdev-devel-bounces at linuxdriverproject.org> On Behalf Of
> > Dexuan Cui
> > Sent: Monday, December 17, 2018 10:31 AM  
> > > From: Stephen Hemminger <stephen at networkplumber.org>
> > >
> > > 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.


More information about the devel mailing list