Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751591AbdI1GDm (ORCPT ); Thu, 28 Sep 2017 02:03:42 -0400 Received: from mail-oi0-f49.google.com ([209.85.218.49]:50957 "EHLO mail-oi0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750932AbdI1GDk (ORCPT ); Thu, 28 Sep 2017 02:03:40 -0400 X-Google-Smtp-Source: AOwi7QDJK2KC2n/ByB6lMzwNY0a7i8mLnKDgHVivVH0ZWjqBHuUYgRO9R4tuNmswAdY9HxmsSUwNhDSPQq/iHwB11lQ= MIME-Version: 1.0 In-Reply-To: <1506544822-2632-3-git-send-email-jonathan.derrick@intel.com> References: <1506544822-2632-1-git-send-email-jonathan.derrick@intel.com> <1506544822-2632-3-git-send-email-jonathan.derrick@intel.com> From: Dan Williams Date: Wed, 27 Sep 2017 23:03:39 -0700 Message-ID: Subject: Re: [RFC 2/3] module: Ignore delete_id parameter To: Jon Derrick Cc: Greg Kroah-Hartman , Bjorn Helgaas , linux-pci@vger.kernel.org, "linux-kernel@vger.kernel.org" , Arjan van de Ven , Alan Cox Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 885 Lines: 28 On Wed, Sep 27, 2017 at 1:40 PM, Jon Derrick wrote: > The PCI driver delete_id parameter is handled in each individual driver > registration callback. > > Signed-off-by: Jon Derrick > --- > kernel/module.c | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/kernel/module.c b/kernel/module.c > index de66ec8..2b2dccf 100644 > --- a/kernel/module.c > +++ b/kernel/module.c > @@ -3620,6 +3620,13 @@ static int unknown_module_param_cb(char *param, char *val, const char *modname, > return 0; > } > > + /* > + * Ignore driver delete list arguments. They are handled by driver > + * registration callbacks > + */ > + if (strcmp(param, "delete_id") == 0) > + return 0; > + Does this preclude something like: modprobe ahci delete_id=1234:5678?