Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1701706ybl; Sat, 25 Jan 2020 06:37:00 -0800 (PST) X-Google-Smtp-Source: APXvYqwJeISJeA4rHKO6gSX5CrSaRLu9IoUaOm0INm70gnoxdaB7GY+cOTo8RdKQKa5E+5p6Sl1k X-Received: by 2002:a9d:6289:: with SMTP id x9mr5016106otk.8.1579963020288; Sat, 25 Jan 2020 06:37:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579963020; cv=none; d=google.com; s=arc-20160816; b=jtpQbScau84ursE0dCoOw8vq/R3zVzkgktRR2J/JmQK2jV2tnomLMiwFhL4xcyWL5C kyS6LvVWVN4AiYUTKgWQJQmPSx4frbqDkNyvlkM3woPHE7z+yq5AjjBEvTL5b5oP0vkt vuOjFeKtgraJmEOYlsvNgM5zGPRVejMBTEs7ITQJ10qovYNjf8RnUAQoYbTuYST/Ucj6 gET/3WRpoT6Lmgf+r+LNJZhP7LlzwqxsPXVxDBHlha1gnkga17H1Ywaewm2W9q39Q5Yd z2IcCfasSsZXRXj0xn8zMNNC7Oa/gwrwlrFztAj//SS2/IV+pop0YUswLb1g79Kb6CRA cZNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=hnOOth4cfOTsK3blqbf64rvHbKbZo2t8cNMCr1uCkdc=; b=mlO650Z1WOk1Q+trhu0ZudaIcRZr+tHwVmzE/wUXOz5PccnBMPPsdXiGoI+ULrAg7q Aa66C2k/n9yIYzuy7tx6g3oplDj8O9xyAD9z1YKsm3qfZ4K/PB/E+ENW5wVNLszfrwEc 3ksCGthtbKwt9DUuzy/Pm8PdsUAmNw5oDVB0dIwI5NFMNa1Cm1dBfij3dWSJIW0MUhLn 1JxR7cYq50DRjMcaJKiT6e1Cpc2h0s390+n99I2DDKGTR6gcJ0uRMk6AQu7dqCXMDLm2 /W4eKU9jzM2qsCXCsFoBVQbixGlRo41pHoFSLVVrK7s7yd+nrFCDVmS8vq4U7abTFh0X c4lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rhvrKZmg; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o206si1261017oih.143.2020.01.25.06.36.49; Sat, 25 Jan 2020 06:37:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rhvrKZmg; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726232AbgAYOfT (ORCPT + 99 others); Sat, 25 Jan 2020 09:35:19 -0500 Received: from mail-lj1-f196.google.com ([209.85.208.196]:39942 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725710AbgAYOfT (ORCPT ); Sat, 25 Jan 2020 09:35:19 -0500 Received: by mail-lj1-f196.google.com with SMTP id n18so5813223ljo.7 for ; Sat, 25 Jan 2020 06:35:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=hnOOth4cfOTsK3blqbf64rvHbKbZo2t8cNMCr1uCkdc=; b=rhvrKZmgpI0UG7tHnghsfQfMZ/CDAtqFvaE9K6f1jUh2V61vXu4/tmdS6UBvsyti1k 8pK1CUyFZaomWH7BLkA4VLfLAbMGQSEzxmjChEO0/PJn/2e2YTagPF6osIbOsdQrg76K H6pgx7ZQ1f1xXrvABwVVkVC8poqapR8yAmDdJTPWBbn+cB7z9DIbFciBc6pi2wGNyso6 d2UJomV6K6+PhoACAbV/d7WSaiFXliWMw/K/G3V6bKfThULcXaB5aVJBS1b0c8urs1q2 hZ8yKLyMWFtSN15+w7Lh2asRmjoeOtqT4fznbs0ZgUsPtxq5E9ZPq8w+F4QC5vmkgFaf DwmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=hnOOth4cfOTsK3blqbf64rvHbKbZo2t8cNMCr1uCkdc=; b=q7aXky30lIyTqoxqqyWWOPocpeo1kYVWGwMwcMthDQWy50RjeoWtc8xcCYMFcL2dds hcE0pG+u+CZatv6zKtXBKKuv0myrEDLaUcb8TG6vZyYKh+t2p+4vByzrR0KI1bfusEDY jKjIIvyxrm1QjdnKuSUyF38W6oBaXUplUaNno+J7RtyfG8kuRAPF9YTxaUqnwsAtTEFO kypA/dCsXCbjXShRNLFthCY9QOu9S7zaCkdsYqIN+PhfshG15MjufCP13jq+00G7XNwA nmM1CZ1SKYoDGECwoERY3p9RjKcQkizrfi16uKrtj7Gg33U/W4lL4xWX6XTa52X0lYHC 91Bg== X-Gm-Message-State: APjAAAUi2KDV6tSCuR+ruC2r/Z850LvnM7Rh//yccgbDD92xsWx3HUg7 cP1VKJiA+O0/+mQr39Khbq9xEVGU8HB1ng== X-Received: by 2002:a2e:580c:: with SMTP id m12mr5350324ljb.150.1579962916795; Sat, 25 Jan 2020 06:35:16 -0800 (PST) Received: from localhost (91-154-113-38.elisa-laajakaista.fi. [91.154.113.38]) by smtp.gmail.com with ESMTPSA id j7sm1069912ljg.25.2020.01.25.06.35.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Jan 2020 06:35:15 -0800 (PST) Date: Sat, 25 Jan 2020 16:35:14 +0200 From: Johan Hedberg To: Marcel Holtmann Cc: linux-bluetooth@vger.kernel.org Subject: Re: [PATCH] Bluetooth: Move {min,max}_key_size debugfs into hci_debugfs_create_le Message-ID: <20200125143514.GA27634@jhedberg-mac01.home> Mail-Followup-To: Marcel Holtmann , linux-bluetooth@vger.kernel.org References: <20200125081951.96271-1-marcel@holtmann.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200125081951.96271-1-marcel@holtmann.org> User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Marcel, On Sat, Jan 25, 2020, Marcel Holtmann wrote: > The debugfs entries for {min,max}_key_size are created during SMP > registration and thus it might lead to multiple attempts to create the > same entries. Avoid this by moving them to the LE controller init > section. > > Signed-off-by: Marcel Holtmann > --- > net/bluetooth/hci_debugfs.c | 61 ++++++++++++++++++++++++ > net/bluetooth/smp.c | 93 ------------------------------------- > 2 files changed, 61 insertions(+), 93 deletions(-) Applied to bluetooth-next. Thanks. Johan