Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757454AbeAHMxp (ORCPT + 1 other); Mon, 8 Jan 2018 07:53:45 -0500 Received: from mail-ot0-f174.google.com ([74.125.82.174]:35634 "EHLO mail-ot0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755598AbeAHMxm (ORCPT ); Mon, 8 Jan 2018 07:53:42 -0500 X-Google-Smtp-Source: ACJfBov4eKb09T3695bqjVzefBmfw5FyYby/LdCyZ+LTAu+OE+VSdnOwNeU+B1n3V9wIDTBR203AOB94V8e4Z2E64PU= MIME-Version: 1.0 In-Reply-To: <20180108101311.23581-1-yangbo.lu@nxp.com> References: <20180108101311.23581-1-yangbo.lu@nxp.com> From: Fabio Estevam Date: Mon, 8 Jan 2018 10:53:40 -0200 Message-ID: Subject: Re: [PATCH] net: gianfar_ptp: move set_fipers() to spinlock protecting area To: Yangbo Lu Cc: Claudiu Manoil , Richard Cochran , netdev@vger.kernel.org, linux-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Mon, Jan 8, 2018 at 8:13 AM, Yangbo Lu wrote: > set_fipers() calling should be protected by spinlock. > This patch is to move set_fipers() to spinlock protecting > area in ptp_gianfar_adjtime() function. It would be nice to explay why. Thanks