From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754574AbcIVG1c (ORCPT ); Thu, 22 Sep 2016 02:27:32 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:55284 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751750AbcIVG1a (ORCPT ); Thu, 22 Sep 2016 02:27:30 -0400 Date: Thu, 22 Sep 2016 02:18:56 -0400 (EDT) Message-Id: <20160922.021856.219321683253472628.davem@davemloft.net> To: nicolas.pitre@linaro.org Cc: richardcochran@gmail.com, john.stultz@linaro.org, tglx@linutronix.de, josh@joshtriplett.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ptp_clock: future-proofing drivers against PTP subsystem becoming optional From: David Miller In-Reply-To: References: X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 21 Sep 2016 23:18:59 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Nicolas Pitre Date: Tue, 20 Sep 2016 19:25:58 -0400 (EDT) > > 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. Applied to net-next, thanks.