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 X-Spam-Level: X-Spam-Status: No, score=-6.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8C376C4338F for ; Sun, 25 Jul 2021 06:40:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6CB4360F26 for ; Sun, 25 Jul 2021 06:40:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230331AbhGYGAA (ORCPT ); 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?