Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp2913411pxy; Sun, 25 Apr 2021 08:02:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3bzVJ0epxNKfmiCDprndnUyZwtZI95wAW8qcmm2Rw+X3itGxQOzRIyXHGI9BiDAnrAtla X-Received: by 2002:a17:906:32d1:: with SMTP id k17mr13989713ejk.94.1619362977983; Sun, 25 Apr 2021 08:02:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619362977; cv=none; d=google.com; s=arc-20160816; b=BaouzEzh8yjeBmkp1/7LQKj9xwZMSOLtf0RWfO7DggD+zh+VQeTzbwKix0sD/7jjDO ST4xXoGl29apQvcfCaEj5pcNX0XvsUH6ajP0nkxG1Fbq/JcDEhRhuK4Q8oKc+D97ypj8 4PcDciAEjYR9r0py3ITxHaxpKXnbesBx5ffc6MjDAPURRQ6QU56uvMFMTko+wKICxKQ7 Uo4a2fjHhKwTnvPqCqqDaUrINho2boiRo7vgAlcK5omCKsO3N1XDBYBo83JX0G/7VJ53 uUt2OsT1evC8EO31K4J+eCI8cCrzsH649sWTVwL16FOvAdaghdU02CygId4+SzI5qDpS 7dnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=wWrhfWBjNsTqnZoJI9zaYnwQYPCxZzlEnVDRSvU1+aA=; b=mZx7w3GQy4+a3YKU0AKbbUPenlJUohh4iFTLwMnd/AJGwn8b+FhAfS0uDjeh0wzKMi i6rgKIyXQvP93SwSVopMkFgwH9isPSdzjKi9kYkfSEEEL44DCU6LbeDtbhK39Pkh18Ir wGy6jRyoa4Y6H95/19rhFDmDfnjrrQXOl0A9xxhu0xb7fng254N7oYfclqHaGw1Z5cdc VKT1bNdZ+HoaV7PlLbK87vw8aOgBkR5G0qQmyP3TsmNeCHJB0ffK069vIKMlEpk1bnbD TuwtM/jLnzWxewFbzMfiklAvbMpTIrNkKSQ+4ZXXP9OAQYRlWL0Lp+NVuL4snJJPtE4F 5yTw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id zn8si4700449ejb.333.2021.04.25.08.02.07; Sun, 25 Apr 2021 08:02:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230388AbhDYO7f (ORCPT + 99 others); Sun, 25 Apr 2021 10:59:35 -0400 Received: from netrider.rowland.org ([192.131.102.5]:33791 "HELO netrider.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S230214AbhDYO7f (ORCPT ); Sun, 25 Apr 2021 10:59:35 -0400 Received: (qmail 337276 invoked by uid 1000); 25 Apr 2021 10:58:54 -0400 Date: Sun, 25 Apr 2021 10:58:54 -0400 From: Alan Stern To: Rajat Jain Cc: Greg Kroah-Hartman , "Rafael J. Wysocki" , Bjorn Helgaas , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-usb@vger.kernel.org, helgaas@kernel.org, rajatxjain@gmail.com, jsbarnes@google.com, dtor@google.com Subject: Re: [PATCH v2 1/2] driver core: Move the "removable" attribute from USB to core Message-ID: <20210425145854.GD336783@rowland.harvard.edu> References: <20210424021631.1972022-1-rajatja@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210424021631.1972022-1-rajatja@google.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 23, 2021 at 07:16:30PM -0700, Rajat Jain wrote: > Move the "removable" attribute from USB to core in order to allow > it to be supported by other subsystem / buses. Individual buses > that want to support this attribute can opt-in by setting the > supports_removable flag, and then populating the removable property > of the device while enumerating it. The ABI for the attribute remains > unchanged. > > Signed-off-by: Rajat Jain > --- > v2: Add documentation For the parts affecting the USB core: Acked-by: Alan Stern