From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: [PATCH net] net: dsa: microchip: initialize mutex before use Date: Wed, 31 Oct 2018 08:42:21 +0100 Message-ID: <20181031074221.GA10505@amd> References: <1540943149-26832-1-git-send-email-Tristram.Ha@microchip.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZPt4rx8FFjLCG7dd" Cc: "David S. Miller" , Andrew Lunn , Florian Fainelli , UNGLinuxDriver@microchip.com, netdev@vger.kernel.org To: Tristram.Ha@microchip.com Return-path: Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:44177 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726388AbeJaQjW (ORCPT ); Wed, 31 Oct 2018 12:39:22 -0400 Content-Disposition: inline In-Reply-To: <1540943149-26832-1-git-send-email-Tristram.Ha@microchip.com> Sender: netdev-owner@vger.kernel.org List-ID: --ZPt4rx8FFjLCG7dd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue 2018-10-30 16:45:49, Tristram.Ha@microchip.com wrote: > From: Tristram Ha >=20 > Initialize mutex before use. Avoid kernel complaint when > CONFIG_DEBUG_LOCK_ALLOC is enabled. >=20 > Fixes: b987e98e50ab90e5 ("dsa: add DSA switch driver for Microchip KSZ947= 7") > Signed-off-by: Tristram Ha Acked-by: Pavel Machek --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --ZPt4rx8FFjLCG7dd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlvZXN0ACgkQMOfwapXb+vJKAgCfZmsW+Ve6Bztl3oZuJluWmsxD tUsAn08gpcRyuA1texl3Lt1H54CHBRz/ =TjFW -----END PGP SIGNATURE----- --ZPt4rx8FFjLCG7dd--