From patchwork Thu May 20 11:44:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "yekai (A)" X-Patchwork-Id: 12269807 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=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=unavailable 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 D27D6C4360C for ; Thu, 20 May 2021 11:50:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id ACD1A6135A for ; Thu, 20 May 2021 11:50:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241395AbhETLve (ORCPT ); Thu, 20 May 2021 07:51:34 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:4700 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240908AbhETLs4 (ORCPT ); Thu, 20 May 2021 07:48:56 -0400 Received: from dggems703-chm.china.huawei.com (unknown [172.30.72.60]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4Fm7FV6ZTxz16PnN; Thu, 20 May 2021 19:44:46 +0800 (CST) Received: from dggpeml500012.china.huawei.com (7.185.36.15) by dggems703-chm.china.huawei.com (10.3.19.180) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Thu, 20 May 2021 19:47:33 +0800 Received: from huawei.com (10.67.165.24) by dggpeml500012.china.huawei.com (7.185.36.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Thu, 20 May 2021 19:47:33 +0800 From: Kai Ye To: , , , , , , CC: , Subject: [PATCH 00/12] net/Bluetooth: correct the use of print format Date: Thu, 20 May 2021 19:44:21 +0800 Message-ID: <1621511073-47766-1-git-send-email-yekai13@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 X-Originating-IP: [10.67.165.24] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To dggpeml500012.china.huawei.com (7.185.36.15) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org According to Documentation/core-api/printk-formats.rst, Use the correct print format. 1. Printing an unsigned int value should use %u instead of %d. 2. Printing an unsigned long value should use %lu instead of %ld. Otherwise printk() might end up displaying negative numbers. Kai Ye (12): net/Bluetooth/bnep - use the correct print format net/Bluetooth/cmtp - use the correct print format net/Bluetooth/hidp - use the correct print format net/Bluetooth/rfcomm - use the correct print format net/Bluetooth/6lowpan - use the correct print format net/Bluetooth/a2mp - use the correct print format net/Bluetooth/amp - use the correct print format net/Bluetooth/hci - use the correct print format net/Bluetooth/mgmt - use the correct print format net/Bluetooth/msft - use the correct print format net/Bluetooth/sco - use the correct print format net/Bluetooth/smp - use the correct print format net/bluetooth/6lowpan.c | 16 ++++++------ net/bluetooth/a2mp.c | 24 +++++++++--------- net/bluetooth/amp.c | 6 ++--- net/bluetooth/bnep/core.c | 6 ++--- net/bluetooth/cmtp/capi.c | 20 +++++++-------- net/bluetooth/hci_conn.c | 8 +++--- net/bluetooth/hci_core.c | 48 +++++++++++++++++------------------ net/bluetooth/hci_event.c | 24 +++++++++--------- net/bluetooth/hci_request.c | 8 +++--- net/bluetooth/hci_sock.c | 6 ++--- net/bluetooth/hci_sysfs.c | 2 +- net/bluetooth/hidp/core.c | 6 ++--- net/bluetooth/mgmt.c | 16 ++++++------ net/bluetooth/mgmt_config.c | 4 +-- net/bluetooth/msft.c | 2 +- net/bluetooth/rfcomm/core.c | 62 ++++++++++++++++++++++----------------------- net/bluetooth/rfcomm/sock.c | 8 +++--- net/bluetooth/rfcomm/tty.c | 10 ++++---- net/bluetooth/sco.c | 8 +++--- net/bluetooth/smp.c | 6 ++--- 20 files changed, 145 insertions(+), 145 deletions(-)