From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758165Ab3FTRad (ORCPT ); Thu, 20 Jun 2013 13:30:33 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:49990 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758098Ab3FTRac (ORCPT ); Thu, 20 Jun 2013 13:30:32 -0400 Date: Thu, 20 Jun 2013 10:31:12 -0700 From: Greg Kroah-Hartman To: Jiang Liu Cc: Bjorn Helgaas , Konrad Rzeszutek Wilk , Jeremy Fitzhardinge , Jiang Liu , Yijing Wang , xen-devel@lists.xensource.com, virtualization@lists.linux-foundation.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Chris Metcalf , Thierry Reding Subject: Re: [PATCH 3/3] PCI: mark pci_scan_bus_parented() as __deprecated Message-ID: <20130620173112.GA22085@kroah.com> References: <1371747665-12768-1-git-send-email-liuj97@gmail.com> <1371747665-12768-4-git-send-email-liuj97@gmail.com> <20130620170855.GA21465@kroah.com> <51C3386F.5050009@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51C3386F.5050009@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 21, 2013 at 01:14:23AM +0800, Jiang Liu wrote: > On 06/21/2013 01:08 AM, Greg Kroah-Hartman wrote: > > On Fri, Jun 21, 2013 at 01:01:05AM +0800, Jiang Liu wrote: > >> From: Jiang Liu > >> > >> Mark pci_scan_bus_parented() as __deprecated and clean up outdated > >> comments. > > > > Why not just delete the function, if no in-kernel users are calling it, > > it's no longer needed at all. > Hi Greg, > I thought that may break out of tree drivers, so give a warning first > for smooth transitions. Any guidelines here? I have some other similar > cases to keep some exported symbols just for out of tree drivers. Don't care about out-of-tree drivers, as they obviously don't care about you, or the in-kernel code. You are doing no one any favors by keeping these functions around for a while, only delaying the time that these out-of-tree drivers will have to be updated, they will not be updated by a mere __depreciated warning. So just delete them, that's what the rest of the kernel does, it's the price that out-of-tree drivers pay, and the authors of them know this quite well. thanks, greg k-h