From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Fainelli Subject: Re: [PATCH v2 net] net: dsa: microchip: initialize mutex before use Date: Thu, 1 Nov 2018 15:10:07 -0700 Message-ID: References: <1541110133-15717-1-git-send-email-Tristram.Ha@microchip.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Andrew Lunn , Pavel Machek , UNGLinuxDriver@microchip.com, netdev@vger.kernel.org To: Tristram.Ha@microchip.com, "David S. Miller" Return-path: Received: from mail-yb1-f193.google.com ([209.85.219.193]:33074 "EHLO mail-yb1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727115AbeKBHPI (ORCPT ); Fri, 2 Nov 2018 03:15:08 -0400 Received: by mail-yb1-f193.google.com with SMTP id i78-v6so19101ybg.0 for ; Thu, 01 Nov 2018 15:10:16 -0700 (PDT) In-Reply-To: <1541110133-15717-1-git-send-email-Tristram.Ha@microchip.com> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 11/1/18 3:08 PM, Tristram.Ha@microchip.com wrote: > From: Tristram Ha > > Initialize mutex before use. Avoid kernel complaint when > CONFIG_DEBUG_LOCK_ALLOC is enabled. > > Fixes: b987e98e50ab90e5 ("dsa: add DSA switch driver for Microchip KSZ9477") > Signed-off-by: Tristram Ha > Reviewed-by: Pavel Machek > Reviewed-by: Andrew Lunn Reviewed-by: Florian Fainelli > --- > v2 > - Add endorsements FWIW, David uses patchwork which automatically collects those tags into the patch whenver we reply with one of the recognized/supported tag. Thanks! -- Florian