Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp2607964pxv; Sat, 24 Jul 2021 23:41:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzusyoRs1KYXMCMKfY99+up7IlzVe/L64zsBxlQ367y33qk9Y40fNYfz28OX0eHuHl8VH3l X-Received: by 2002:a02:a999:: with SMTP id q25mr11317976jam.16.1627195297289; Sat, 24 Jul 2021 23:41:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627195297; cv=none; d=google.com; s=arc-20160816; b=Wt8M4tUWnjSgQApNizjYjD04KDchfEe7KdWXQNSDRj8FLpnpE43E5IVwBMipPNi5nJ mVRnl8qev4e9qAnrjxa0rjYff1V420WK9qF/pmCoo9790ZOCQY2DYAxrKoPQzbqROaVM E2JTYaGRPPYhRoRRmZkCEIJBEBUCezL2lPUz64LandH6AN8QZBoQxYqhzL1uibS51F5K G1//cDsINBwbZC/GVF7SefM1xCpR4Vq+zQ3ZEwaXh0EWZEMWlIi53DcLs+93/iqSzL0+ r8zj7iaazr75zM7yz57o+UkUJwcf+V10X1IOWX2yR0yl4hV3LSktQjX2hZLNadEnFnsN awig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=VXgaFXFy38GhSc0p1Vo65tW32HjGWyvHj4oMZjNOvZI=; b=D5iaWW3tkK4PJjwgJDUoYqsPL911i/qG4w4szYKE4jFwzE4y2x5KLhxK+RGzKdxzLp dkCXUg6iXU3nXhfhEQAuQOz0YexTtD3T4NQnAcL43axebnehb7XtfQtTo2zrWxluLgsn FkrEHudaDbTW4y542DSRBWHX4go9cEnPjo8nqHnc7QXEjm7d735tFrX6mdToXnyEx05Z aOm4tdDDUcFBgSrH1qUWQutlCA9CTg6yL3ds7JukyaPVMLvS7R1feIT18Zw+LBB5fRNw N53Yp3CBYnUaAuw0Hd2aSF6NI2s9bXMefR7ouN7gr2szKfRTCF5JZIbfmOzk7GW9vIiu Tkug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Kn+O1olV; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o18si43974781jah.71.2021.07.24.23.41.25; Sat, 24 Jul 2021 23:41:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Kn+O1olV; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230330AbhGYGAA (ORCPT + 99 others); Sun, 25 Jul 2021 02:00:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:45078 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229460AbhGYGAA (ORCPT ); Sun, 25 Jul 2021 02:00:00 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id CC4CD60F26; Sun, 25 Jul 2021 06:40:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1627195230; bh=VXgaFXFy38GhSc0p1Vo65tW32HjGWyvHj4oMZjNOvZI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Kn+O1olVuaYGlE7nRJf45PIky51MH1nbuuRmtZks91GbihoG5LlFTmLBQWCH1Ysz4 U9pcdF4hkZf3FxWIz9xa4zF3ZXRPsRixvBK5zg8dLL6F2lCGxAF76hOBDrcdG/BOdK IanP+DL6XUXjT03Cycv7mAkfJjoT/Z4qYrWwa34k= Date: Sun, 25 Jul 2021 08:40:27 +0200 From: Greg KH To: Salah Triki Cc: Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] bluetooth: bfusb: update the reference count of udev Message-ID: References: <20210724192131.GA490422@pc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210724192131.GA490422@pc> Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org On Sat, Jul 24, 2021 at 08:21:31PM +0100, Salah Triki wrote: > Use usb_get_dev() and usb_put_dev() in order to update the reference > count of udev. What does this fix?