Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp31345ybl; Wed, 11 Dec 2019 13:27:12 -0800 (PST) X-Google-Smtp-Source: APXvYqwQZGngRGyLqQg1XK8Thompk3gJTalv+2nDfts1JHB/eMuawj89YXGm3g3dekPjzWoB6tJc X-Received: by 2002:a05:6830:1e75:: with SMTP id m21mr3988762otr.36.1576099632149; Wed, 11 Dec 2019 13:27:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576099632; cv=none; d=google.com; s=arc-20160816; b=VcbZFJlmFfZxByLBlL9/wBsOfbKDIpOoALKrKaeo27V6W6LzPk++93WKgCm5B8LUhw K3I0XPFS3mn8HV2xLwRQM6BGxs8YbOoGg5NNRy/KDhkwksXjHY50wgRmeQ2WTfa1jeKl BUjybCWhEV55BIstyyu/mA3v2VxAeH4StO03q5P74W78dwkuKyQmpRR7X0T19S7Has4x qDiztRu4otWrfqSZrRf4Lbr9rGB22YQ2cVheXNFb9og2F8hLt4T+GyL1Rkx5AiMO6kTb R5+F6+uJe6xErQUg5WwB3j7bU+WZBWBtDFdGn/FkEG2QpYk7tGgKcs66EoaYDAM7D01+ uZYA== 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=a/uI6Ae+FdlrGQjCM4aBha1wXdbVJjtHkfpjf0SnUsE=; b=hIX5G/F6tcGJVzMyaedie8Gid5+OE+10V35AC5D/7fByxpnRSGpcYuBleCtksrBeHJ NgotC9FjFMYJBQsYICTGPoCmDDvchQbQ7qcwOCM+sjcKeSfJjmEp+kr7fEZ9IfErWrc+ 7GBhlj+7FpG1ZlmZf7EaAZhcSbfeAFKWATCbqPn6jTBFF2wJ2TYQoID4rIy/kV8cnwl4 O5dzIxKa8Uith+Kh8g+1gmkz8F6kVIFwK3TFGJjfCAoUY/u76HOY7aAw4XDaqp3TxTqN 32ctkJ254KDorbxvnz/cJBsKDZ6urvQuiPBU6KRY3cK25yyN3jk8/IkkJ1P8V8s/B439 Vlyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NfZda5B5; 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 f53si1909818otf.235.2019.12.11.13.26.47; Wed, 11 Dec 2019 13:27:12 -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=NfZda5B5; 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 S1726739AbfLKV0K (ORCPT + 99 others); Wed, 11 Dec 2019 16:26:10 -0500 Received: from mail-lj1-f194.google.com ([209.85.208.194]:40438 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726313AbfLKV0J (ORCPT ); Wed, 11 Dec 2019 16:26:09 -0500 Received: by mail-lj1-f194.google.com with SMTP id s22so25730427ljs.7 for ; Wed, 11 Dec 2019 13:26:08 -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=a/uI6Ae+FdlrGQjCM4aBha1wXdbVJjtHkfpjf0SnUsE=; b=NfZda5B5idlP4SMgrTW+2uBQFLWW5xFf7HzHSAUG4WOu+ToqQ15MJONW4JuQqxq/B9 7q/YsthBbCgi6PCCpbxihJxXEgxsTgWfE+4hlbIeDSzky2nowSgdZIlZiSnenmSCWvko sZs6373hiHF2kTY9I9JYDTZe4+RSIwaXB1DDow3svnW4S+p03L26c/v1utaDt/MIYpUy PyilbOdG3NqNVGprUgfNQTo7a9sPoH7fjaBWgaD0dimiIbUBNBtXLBNH53pc3D1B0Oqt b85wyGrwzVIIqK25pjZJj15aBN3TA6J9lcV+BeWviWpLCAft2C7Ds43HjblyaKufYdeE elqw== 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=a/uI6Ae+FdlrGQjCM4aBha1wXdbVJjtHkfpjf0SnUsE=; b=KP82MQ8NwMbauQlG0l+6fD9tCK6OcMEn11abu+5vjVhv+fw9lh/LeLVlvRJX0afWro hLwl2XUiiy424sQ9bkheY6p4oglYDNwQxeIYsUZuFYfOQ6qwrPymLhmftlneJMSjPC18 sIWNzMhKT60Q/Ac3L3/gRGIsFcRP6a/SmPKLfMvFQJjkcXsTIDGEbr1gkxnJO+Aa0VIx tVG/kExzYnnE91qFO9o4L1DdrUtKxofz5xlcmPB34XT3CSRkJWRRjRMlWLVAU7uQ7QG4 w5SaW8qRL6fsxW3AvSRqlEsO6V1eUy1YraziyVYboD22ckd6e3oiLMDNz6381xpmlgM0 5E/A== X-Gm-Message-State: APjAAAXuhXyRNSftXyLX2thUAVkssbDiRCvWhwAcuZEY0CoxXmnjJa4t keTn1f/1zZCvOsXHe9aoTvw= X-Received: by 2002:a2e:9b55:: with SMTP id o21mr3641393ljj.147.1576099567321; Wed, 11 Dec 2019 13:26:07 -0800 (PST) Received: from localhost (91-154-113-38.elisa-laajakaista.fi. [91.154.113.38]) by smtp.gmail.com with ESMTPSA id w29sm1551556lfa.34.2019.12.11.13.26.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Dec 2019 13:26:06 -0800 (PST) Date: Wed, 11 Dec 2019 23:26:05 +0200 From: Johan Hedberg To: Marcel Holtmann Cc: linux-bluetooth@vger.kernel.org Subject: Re: [PATCH] Bluetooth: Remove usage of BT_ERR_RATELIMITED macro Message-ID: <20191211212605.GA34367@jhedberg-mac01.home> Mail-Followup-To: Marcel Holtmann , linux-bluetooth@vger.kernel.org References: <20191211103436.15369-1-marcel@holtmann.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191211103436.15369-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 Wed, Dec 11, 2019, Marcel Holtmann wrote: > The macro is really not needed and can be replaced with either usage of > bt_err_ratelimited or bt_dev_err_ratelimited. > > Signed-off-by: Marcel Holtmann > --- > include/net/bluetooth/bluetooth.h | 4 +--- > net/bluetooth/hci_event.c | 14 ++++++-------- > 2 files changed, 7 insertions(+), 11 deletions(-) > Applied to bluetooth-next. Thanks. Johan