Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753959AbbKBPK4 (ORCPT ); Mon, 2 Nov 2015 10:10:56 -0500 Received: from mail.savoirfairelinux.com ([208.88.110.44]:33794 "EHLO mail.savoirfairelinux.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753631AbbKBPKz (ORCPT ); Mon, 2 Nov 2015 10:10:55 -0500 Date: Mon, 2 Nov 2015 10:10:50 -0500 From: Vivien Didelot To: Andrew Lunn Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@savoirfairelinux.com, "David S. Miller" , Florian Fainelli , Guenter Roeck , Neil Armstrong Subject: Re: [PATCH v2 net-next] net: dsa: mv88e6xxx: assert SMI lock Message-ID: <20151102151050.GA3036@ketchup.mtl.sfl> References: <1446245805-24128-1-git-send-email-vivien.didelot@savoirfairelinux.com> <20151102150218.GC7963@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151102150218.GC7963@lunn.ch> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 920 Lines: 26 Hi Andrew, On Nov. Monday 02 (45) 04:02 PM, Andrew Lunn wrote: > On Fri, Oct 30, 2015 at 06:56:45PM -0400, Vivien Didelot wrote: > > It's easy to forget to lock the smi_mutex before calling the low-level > > _mv88e6xxx_reg_{read,write}, so add a assert_smi_lock function in them. > > > > Signed-off-by: Vivien Didelot > > Acked-by: Andrew Lunn > > > Since there is no followup fixes patch, i assume we actually have it > correct at the moment? Yes, this v2 contains the 2 fixups you mentioned (removing the inline keyword and keep the dsa_host_dev_to_mii_bus call as is). Thus this version is correct. Thanks, -v -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/