From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AC5D8C64EC4 for ; Thu, 9 Mar 2023 14:17:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230011AbjCIORo (ORCPT ); Thu, 9 Mar 2023 09:17:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229963AbjCIORo (ORCPT ); Thu, 9 Mar 2023 09:17:44 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 870EF4215; Thu, 9 Mar 2023 06:17:43 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 430B2B81F05; Thu, 9 Mar 2023 14:17:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9BDA1C433D2; Thu, 9 Mar 2023 14:17:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1678371460; bh=U2L9Ekgd4hB+KhnyK9evmyvlEBztsljIX4EP4XtmtI4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Tz3/8prC2QiN0cxQCoIE8eyYK1NGSe5d4Sz+8W3evmNRca05Uh61v9XuGLF69Cq6Q sASZ5hzjL3xnfngJ5bKp5WpeJGA90jrYCylLDDh0aW6+yiTvcXA//w1lB7YMtRWEjE ePJmXIK0l89g8I3tYXhMYXmcqhsuPNoTHK4ZUx/8= Date: Thu, 9 Mar 2023 15:17:37 +0100 From: Greg Kroah-Hartman To: Bastien Nocera Cc: linux-usb@vger.kernel.org, linux-input@vger.kernel.org, Alan Stern , Benjamin Tissoires , Filipe =?iso-8859-1?Q?La=EDns?= , Nestor Lopez Casado Subject: Re: [PATCH v3 5/6] USB: core: Add API to change the wireless_status Message-ID: References: <20230302105555.51417-1-hadess@hadess.net> <20230302105555.51417-5-hadess@hadess.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230302105555.51417-5-hadess@hadess.net> Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org On Thu, Mar 02, 2023 at 11:55:54AM +0100, Bastien Nocera wrote: > This adds the API that allows device specific drivers to tell user-space > about whether the wireless device is connected to its receiver dongle. > > See "USB: core: Add wireless_status sysfs attribute" for a detailed > explanation of what this attribute should be used for. > > Signed-off-by: Bastien Nocera > --- > Fixed locking/use-after-free in v2, thanks to Alan Stern > > Fixed ordering of locking/put in v3, thanks to Alan Stern again > > drivers/usb/core/message.c | 40 ++++++++++++++++++++++++++++++++++++++ > include/linux/usb.h | 5 +++++ > 2 files changed, 45 insertions(+) Acked-by: Greg Kroah-Hartman