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


Groups > linux.kernel > #1390492

Re: [PATCH] net: dsa: mv88e6xxx: fix uninitialized error return

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH] net: dsa: mv88e6xxx: fix uninitialized error return
Date 2016-04-28 22:30 +0200
Message-ID <rt0Jt-1LZ-27@gated-at.bofh.it> (permalink)
References <rrX1g-4VT-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Colin King <colin.king@canonical.com>
Date: Mon, 25 Apr 2016 23:11:22 +0100

> From: Colin Ian King <colin.king@canonical.com>
> 
> The error return err is not initialized and there is a possibility
> that err is not assigned causing mv88e6xxx_port_bridge_join to
> return a garbage error return status. Fix this by initializing err
> to 0.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Applied.

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


Thread

[PATCH] net: dsa: mv88e6xxx: fix uninitialized error return Colin King <colin.king@canonical.com> - 2016-04-26 00:20 +0200
  Re: [PATCH] net: dsa: mv88e6xxx: fix uninitialized error return Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-04-26 03:30 +0200
  Re: [PATCH] net: dsa: mv88e6xxx: fix uninitialized error return David Miller <davem@davemloft.net> - 2016-04-28 22:30 +0200

csiph-web