Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp2606662pxv; Sat, 24 Jul 2021 23:38:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbp9G1roboEvMwKMIvgyJXW3TbDAXEfFpPDmFRuozFdcF/nj4v/NPXtRdw5wPr4j4tchlP X-Received: by 2002:a6b:1642:: with SMTP id 63mr10206136iow.68.1627195127580; Sat, 24 Jul 2021 23:38:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627195127; cv=none; d=google.com; s=arc-20160816; b=zSi17dWStpifyuml3ByUUx/eFKEhfZueC2L64+iyq875Sc074nVRqOWLcEaKAiz4vM JF7E/bW3FJiY59X39Tnvflru8mLo0dXK69wyIhwF/LUmAXqk7NyOA9JUFP65jb1GcAO3 YSsI2PdkBa35j4yi0ytbFQrj/GYnmfJyFwlY28weolrPTkMadLmEwExXsGogcveoGVoP mkSBwydiAw6yqbkytRVKGpU69t2ckik+HLBwj8WK7m4AJ5DnA05TPVgRZTIdG+bcRnOV ddNv/U0EM0m2fdGCg7+jx3k9cDjx6LpyEhFN0tnRJwegaZAtzoc+trbzyoQnBFoKGHni 91VA== 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=KhfxSM4bGalnc86aaQ4+BeZvZ3bwXosyeMhrUxjgFrs=; b=bgzG1jnFpLc6l7m0/fQI61SwFHT8NRZGdCUj9tyCG8EuRElicjxvetH6MlCBi7lYTY 7cJG2htsmFSFnz6+Ku9x3Jm/2VMFbZwdadTt5gk2/BtLoGLgaX7xohPtvXwxDn9+YH1I V8aSpV7N4svUszi19oOwqcAFfPDUGbKclzFHHBa6p0UAu5VQWw6O4p/r6VKN72YxwtwH oK6GvagWFgOPegabmet98fPR4OhaYakpkVOAX8B7sO0jZkwE2IGCL0pRHWj5zbK+uhQL pitsn3agfQKAVqokj1NH+b8b5lwE0A8ZXruPCG0hF4/n0KaUBn9cIkl9f3vGbmo1ry9g 6dew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="k/VXlEmx"; 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; 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 y11si23142444jai.105.2021.07.24.23.38.36; Sat, 24 Jul 2021 23:38:47 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="k/VXlEmx"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230203AbhGYF52 (ORCPT + 99 others); Sun, 25 Jul 2021 01:57:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:44558 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229460AbhGYF51 (ORCPT ); Sun, 25 Jul 2021 01:57:27 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C0F8C60F26; Sun, 25 Jul 2021 06:37:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1627195078; bh=KhfxSM4bGalnc86aaQ4+BeZvZ3bwXosyeMhrUxjgFrs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=k/VXlEmxe2sxnSKsbgmAQ6dk/yeEbahO0A8UWRxQRmJjCC5/XJ0lBaKNyFw0OJGUx Xh3dZb4FBF+cE4jlNHx3RwzamxAT/eiqxhDtcWqtr6tczYbEHLKSo3DnzwsRw4tJgD INV3srpPUh7t4JYA5xwbWodxZN4adCIvf+ASlqh8= Date: Sun, 25 Jul 2021 08:37:54 +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: bcm203x: update the reference count of udev Message-ID: References: <20210724182054.GA451351@pc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210724182054.GA451351@pc> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jul 24, 2021 at 07:20:54PM +0100, Salah Triki wrote: > Use usb_get_dev() and usb_put_dev() in order to update the reference > count of udev. That says _what_ you are doing, but no reason as to _why_ this is being done :(