From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755903AbcIUIpt (ORCPT ); Wed, 21 Sep 2016 04:45:49 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:34998 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751266AbcIUIpr (ORCPT ); Wed, 21 Sep 2016 04:45:47 -0400 Date: Wed, 21 Sep 2016 10:45:42 +0200 From: Richard Cochran To: Nicolas Pitre Cc: "David S. Miller" , John Stultz , Thomas Gleixner , Josh Triplett , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ptp_clock: future-proofing drivers against PTP subsystem becoming optional Message-ID: <20160921084542.GB27145@localhost.localdomain> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 20, 2016 at 07:25:58PM -0400, Nicolas Pitre wrote: > > Drivers must be ready to accept NULL from ptp_clock_register() if the > PTP clock subsystem is configured out. > > This patch documents that and ensures that all drivers cope well > with a NULL return. > > Signed-off-by: Nicolas Pitre > Reviewed-by: Eugenia Emantayev > > --- > > Let's have the basics merged now and work out the actual Kconfig issue > separately. Richard, if you agree with this patch, I think this could go > via the netdev tree. It looks ok to me. Acked-by: Richard Cochran