From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: [PATCH v1 net] net: dsa: microchip: initialize mutex before use Date: Thu, 1 Nov 2018 14:47:45 +0100 Message-ID: <20181101134745.GB11465@amd> References: <1541040548-13465-1-git-send-email-Tristram.Ha@microchip.com> <20181101121719.GA7652@lunn.ch> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="s/l3CgOIzMHHjg/5" Cc: Tristram.Ha@microchip.com, "David S. Miller" , Florian Fainelli , UNGLinuxDriver@microchip.com, netdev@vger.kernel.org To: Andrew Lunn Return-path: Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:38832 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728449AbeKAWut (ORCPT ); Thu, 1 Nov 2018 18:50:49 -0400 Content-Disposition: inline In-Reply-To: <20181101121719.GA7652@lunn.ch> Sender: netdev-owner@vger.kernel.org List-ID: --s/l3CgOIzMHHjg/5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu 2018-11-01 13:17:19, Andrew Lunn wrote: > On Wed, Oct 31, 2018 at 07:49:08PM -0700, 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 KSZ9= 477") > > Signed-off-by: Tristram Ha Reviewed-by: Pavel Machek Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --s/l3CgOIzMHHjg/5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlvbBAAACgkQMOfwapXb+vKN+QCfTBzrAlq3ZeNf9g9HG6HzLG9g 9NYAoIxHNwjgmAGdPKlyDgaSrHGeLkT2 =OC4i -----END PGP SIGNATURE----- --s/l3CgOIzMHHjg/5--