Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp942348pxj; Fri, 21 May 2021 02:48:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbtdKLwQLR3S4MquVukYiiHrrS8kD8p/cJQLWkx3mOs9t+EtYKYIiUd1tCP+WfwPFpOBQd X-Received: by 2002:a17:906:490d:: with SMTP id b13mr9307337ejq.269.1621590531254; Fri, 21 May 2021 02:48:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621590531; cv=none; d=google.com; s=arc-20160816; b=FrWPgm9FPx4e7BW0R+V6dj1/Z6DyAciff/rvFoLcL8AveET8Rbzl2NmqyXr22oxV1h 0TKE8i3Wek2siRUVyY1CEv3uSQNMUnPVlChdllEoG6gZyLRSPblmuEkNzMkGmlH9qyzN 5C1UMM3YV1zGkOFt9MJWQu6oq0+vX4ttvkrqS0ii4gwlBe6hW3zfQ0zvsboM/lh6KHH1 qR6IiECJNV6Im4LvrI/P6o6kiN7qJ8+AgvCvc6lMpE5U+RpXAVbG7fCwPd0X8MFF1Agk NN9n2S25rVHTsSzDHXUlv+RCRSvdt18Vx9Exv2zta19cB/dUTAb51fwbCpEGupH14zyo b8rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=wpQW9DlFBB0axrvnv10ERq8ZPv+Rnrk+fbt9WMIsaoM=; b=k+d4FNXVRVi0GTmcEzpp7jCHETISEqROb7DFa/IBQJ0xK43z0h7piNpTRDhNB9H8rD VwtSojP0X81Z0G99GffMmAB8LYhZsjTFxib9HsoxqP6Hh2Lnuxm4vFrkCP4stY7h2ElF IhL8719AK7j4knWOrn/9GLReBHm7Tz1FDjUOV/h3olrjIXgKziUngivqhIG4u1+vgZRG GS+g1+sUBpiXaPnxRkr92cjPFi6zO0R4oJKgfP7++r49f4DqSNpAP4g9ElbSRDbdgIwF PY6JT/2JYdhcISi/MZ6Kd0AMolJHBwOAe0Q8E2iowKvwQIRBR7ytjpuStBQPa+8AXBJT 12+A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k1si5014648ejp.353.2021.05.21.02.48.26; Fri, 21 May 2021 02:48:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231252AbhEUGES (ORCPT + 99 others); Fri, 21 May 2021 02:04:18 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:4708 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231421AbhEUGER (ORCPT ); Fri, 21 May 2021 02:04:17 -0400 Received: from dggems706-chm.china.huawei.com (unknown [172.30.72.59]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4FmbYH0Z8Rz16Qfl; Fri, 21 May 2021 14:00:03 +0800 (CST) Received: from dggpeml500012.china.huawei.com (7.185.36.15) by dggems706-chm.china.huawei.com (10.3.19.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Fri, 21 May 2021 14:02:50 +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; Fri, 21 May 2021 14:02:50 +0800 From: Kai Ye To: , , , , , , CC: , Subject: [PATCH v2 00/12] net/Bluetooth: correct the use of print format Date: Fri, 21 May 2021 13:59:36 +0800 Message-ID: <1621576788-48092-1-git-send-email-yekai13@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 Content-Type: text/plain 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. changes v1 -> v2: fix some style problems 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 | 8 +++--- net/bluetooth/cmtp/capi.c | 22 +++++++-------- 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 | 68 ++++++++++++++++++++++----------------------- 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, 150 insertions(+), 150 deletions(-) -- 2.8.1