All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/bluetooth/hci_qca.c:1633:4: warning: Value stored to 'sw_ctrl_state' is never read [clang-analyzer-deadcode.DeadStores]
@ 2021-11-08 16:40 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-11-08 16:40 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 33505 bytes --]

CC: llvm(a)lists.linux.dev
CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Venkata Lakshmi Narayana Gubba <gubbaven@codeaurora.org>
CC: Marcel Holtmann <marcel@holtmann.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   6b75d88fa81b122cce37ebf17428a849ccd3d0f1
commit: d8f97da1b92d2fe89d51c673ecf80c4016119e5c Bluetooth: hci_qca: Add support for QTI Bluetooth chip wcn6750
date:   5 months ago
:::::: branch date: 22 hours ago
:::::: commit date: 5 months ago
config: x86_64-randconfig-c007-20211016 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project a49f5386ce6b091da66ea7c3a1d9a588d53becf7)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d8f97da1b92d2fe89d51c673ecf80c4016119e5c
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout d8f97da1b92d2fe89d51c673ecf80c4016119e5c
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 clang-analyzer 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


clang-analyzer warnings: (new ones prefixed by >>)
   net/bluetooth/smp.c:1762:43: note: Left side of '&&' is false
           if (hci_dev_test_flag(hdev, HCI_SC_ONLY) && !(auth & SMP_AUTH_SC))
                                                    ^
   net/bluetooth/smp.c:1773:6: note: Assuming field 'oob_flag' is not equal to SMP_OOB_PRESENT
           if (req->oob_flag == SMP_OOB_PRESENT && SMP_DEV(hdev)->local_oob)
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   net/bluetooth/smp.c:1773:39: note: Left side of '&&' is false
           if (req->oob_flag == SMP_OOB_PRESENT && SMP_DEV(hdev)->local_oob)
                                                ^
   net/bluetooth/smp.c:1777:6: note: Assuming field 'type' is not equal to ACL_LINK
           if (conn->hcon->type == ACL_LINK) {
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   net/bluetooth/smp.c:1777:2: note: Taking false branch
           if (conn->hcon->type == ACL_LINK) {
           ^
   net/bluetooth/smp.c:1807:6: note: Assuming the condition is false
           if (rsp.auth_req & SMP_AUTH_SC) {
               ^~~~~~~~~~~~~~~~~~~~~~~~~~
   net/bluetooth/smp.c:1807:2: note: Taking false branch
           if (rsp.auth_req & SMP_AUTH_SC) {
           ^
   net/bluetooth/smp.c:1814:6: note: Assuming field 'io_capability' is not equal to HCI_IO_NO_INPUT_OUTPUT
           if (conn->hcon->io_capability == HCI_IO_NO_INPUT_OUTPUT)
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   net/bluetooth/smp.c:1814:2: note: Taking false branch
           if (conn->hcon->io_capability == HCI_IO_NO_INPUT_OUTPUT)
           ^
   net/bluetooth/smp.c:1819:6: note: Assuming 'sec_level' is <= field 'pending_sec_level'
           if (sec_level > conn->hcon->pending_sec_level)
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   net/bluetooth/smp.c:1819:2: note: Taking false branch
           if (sec_level > conn->hcon->pending_sec_level)
           ^
   net/bluetooth/smp.c:1823:6: note: Assuming field 'pending_sec_level' is < BT_SECURITY_HIGH
           if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) {
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   net/bluetooth/smp.c:1823:2: note: Taking false branch
           if (conn->hcon->pending_sec_level >= BT_SECURITY_HIGH) {
           ^
   net/bluetooth/smp.c:1832:13: note: Assuming '__UNIQUE_ID___x638' is >= '__UNIQUE_ID___y639'
           key_size = min(req->max_key_size, rsp.max_key_size);
                      ^
   include/linux/minmax.h:45:19: note: expanded from macro 'min'
   #define min(x, y)       __careful_cmp(x, y, <)
                           ^~~~~~~~~~~~~~~~~~~~~~
   include/linux/minmax.h:38:3: note: expanded from macro '__careful_cmp'
                   __cmp_once(x, y, __UNIQUE_ID(__x), __UNIQUE_ID(__y), op))
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/minmax.h:33:3: note: expanded from macro '__cmp_once'
                   __cmp(unique_x, unique_y, op); })
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/minmax.h:28:26: note: expanded from macro '__cmp'
   #define __cmp(x, y, op) ((x) op (y) ? (x) : (y))
                            ^~~~~~~~~~
   net/bluetooth/smp.c:1832:13: note: '?' condition is false
           key_size = min(req->max_key_size, rsp.max_key_size);
                      ^
   include/linux/minmax.h:45:19: note: expanded from macro 'min'
   #define min(x, y)       __careful_cmp(x, y, <)
                           ^
   include/linux/minmax.h:38:3: note: expanded from macro '__careful_cmp'
                   __cmp_once(x, y, __UNIQUE_ID(__x), __UNIQUE_ID(__y), op))
                   ^
   include/linux/minmax.h:33:3: note: expanded from macro '__cmp_once'
                   __cmp(unique_x, unique_y, op); })
                   ^
   include/linux/minmax.h:28:26: note: expanded from macro '__cmp'
   #define __cmp(x, y, op) ((x) op (y) ? (x) : (y))
                            ^
   net/bluetooth/smp.c:1833:2: note: Taking false branch
           if (check_enc_key_size(conn, key_size))
           ^
   net/bluetooth/smp.c:1852:6: note: Assuming the condition is false
           if (test_bit(SMP_FLAG_SC, &smp->flags)) {
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   net/bluetooth/smp.c:1852:2: note: Taking false branch
           if (test_bit(SMP_FLAG_SC, &smp->flags)) {
           ^
   net/bluetooth/smp.c:1861:8: note: Calling 'tk_request'
           ret = tk_request(conn, 0, auth, rsp.io_capability, req->io_capability);
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   net/bluetooth/smp.c:859:2: note: Null pointer passed as 1st argument to memory set function
           memset(smp->tk, 0, sizeof(smp->tk));
           ^      ~~~~~~~
   net/bluetooth/smp.c:1498:18: warning: Value stored to 'hdev' during its initialization is never read [clang-analyzer-deadcode.DeadStores]
           struct hci_dev *hdev = hcon->hdev;
                           ^~~~   ~~~~~~~~~~
   net/bluetooth/smp.c:1498:18: note: Value stored to 'hdev' during its initialization is never read
           struct hci_dev *hdev = hcon->hdev;
                           ^~~~   ~~~~~~~~~~
   net/bluetooth/smp.c:2933:34: warning: Value stored to 'kp' during its initialization is never read [clang-analyzer-deadcode.DeadStores]
           struct smp_cmd_keypress_notify *kp = (void *) skb->data;
                                           ^~   ~~~~~~~~~~~~~~~~~~
   net/bluetooth/smp.c:2933:34: note: Value stored to 'kp' during its initialization is never read
           struct smp_cmd_keypress_notify *kp = (void *) skb->data;
                                           ^~   ~~~~~~~~~~~~~~~~~~
   Suppressed 4 warnings (4 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   7 warnings generated.
   14 warnings generated.
>> drivers/bluetooth/hci_qca.c:1633:4: warning: Value stored to 'sw_ctrl_state' is never read [clang-analyzer-deadcode.DeadStores]
                           sw_ctrl_state = gpiod_get_value_cansleep(qcadev->sw_ctrl);
                           ^               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/bluetooth/hci_qca.c:1633:4: note: Value stored to 'sw_ctrl_state' is never read
                           sw_ctrl_state = gpiod_get_value_cansleep(qcadev->sw_ctrl);
                           ^               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/bluetooth/hci_qca.c:1911:4: warning: Value stored to 'sw_ctrl_state' is never read [clang-analyzer-deadcode.DeadStores]
                           sw_ctrl_state = gpiod_get_value_cansleep(qcadev->sw_ctrl);
                           ^               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/bluetooth/hci_qca.c:1911:4: note: Value stored to 'sw_ctrl_state' is never read
                           sw_ctrl_state = gpiod_get_value_cansleep(qcadev->sw_ctrl);
                           ^               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Suppressed 10 warnings (10 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   4 warnings generated.
   Suppressed 4 warnings (4 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   4 warnings generated.
   Suppressed 4 warnings (4 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   4 warnings generated.
   Suppressed 4 warnings (4 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   4 warnings generated.
   Suppressed 4 warnings (4 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   4 warnings generated.
   Suppressed 4 warnings (4 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   8 warnings generated.
   drivers/hid/hid-core.c:1335:24: warning: The result of the left shift is undefined due to shifting by '4294967295', which is greater or equal to the width of type 'int' [clang-analyzer-core.UndefinedBinaryOperatorResult]
                   return value < 0 ? 1 << (n - 1) : (1 << (n - 1)) - 1;
                                        ^
   drivers/hid/hid-core.c:1717:6: note: Assuming 'buf' is non-null
           if (!buf)
               ^~~~
   drivers/hid/hid-core.c:1717:2: note: Taking false branch
           if (!buf)
           ^
   drivers/hid/hid-core.c:1722:6: note: Assuming 'reqtype' is equal to HID_REQ_SET_REPORT
           if (reqtype == HID_REQ_SET_REPORT)
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/hid/hid-core.c:1722:2: note: Taking true branch
           if (reqtype == HID_REQ_SET_REPORT)
           ^
   drivers/hid/hid-core.c:1723:3: note: Calling 'hid_output_report'
                   hid_output_report(report, buf);
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/hid/hid-core.c:1630:14: note: Field 'id' is <= 0
           if (report->id > 0)
                       ^
   drivers/hid/hid-core.c:1630:2: note: Taking false branch
           if (report->id > 0)
           ^
   drivers/hid/hid-core.c:1634:14: note: Assuming 'n' is < field 'maxfield'
           for (n = 0; n < report->maxfield; n++)
                       ^~~~~~~~~~~~~~~~~~~~
   drivers/hid/hid-core.c:1634:2: note: Loop condition is true.  Entering loop body
           for (n = 0; n < report->maxfield; n++)
           ^
   drivers/hid/hid-core.c:1635:3: note: Calling 'hid_output_field'
                   hid_output_field(report->device, report->field[n], data);
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/hid/hid-core.c:1600:14: note: Assuming 'n' is < 'count'
           for (n = 0; n < count; n++) {
                       ^~~~~~~~~
   drivers/hid/hid-core.c:1600:2: note: Loop condition is true.  Entering loop body
           for (n = 0; n < count; n++) {
           ^
   drivers/hid/hid-core.c:1601:7: note: Assuming field 'logical_minimum' is < 0
                   if (field->logical_minimum < 0) /* signed values */
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/hid/hid-core.c:1601:3: note: Taking true branch
                   if (field->logical_minimum < 0) /* signed values */
                   ^
   drivers/hid/hid-core.c:1600:14: note: Assuming 'n' is < 'count'
           for (n = 0; n < count; n++) {
                       ^~~~~~~~~
   drivers/hid/hid-core.c:1600:2: note: Loop condition is true.  Entering loop body
           for (n = 0; n < count; n++) {
           ^
   drivers/hid/hid-core.c:1601:14: note: Field 'logical_minimum' is < 0
                   if (field->logical_minimum < 0) /* signed values */
                              ^
   drivers/hid/hid-core.c:1601:3: note: Taking true branch
                   if (field->logical_minimum < 0) /* signed values */
                   ^
   drivers/hid/hid-core.c:1603:7: note: Calling 's32ton'
                                     s32ton(field->value[n], size));
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/hid/hid-core.c:1334:6: note: Assuming 'a' is not equal to 0
           if (a && a != -1)
               ^
   drivers/hid/hid-core.c:1334:6: note: Left side of '&&' is true
   drivers/hid/hid-core.c:1334:11: note: Assuming the condition is true
           if (a && a != -1)
                    ^~~~~~~
   drivers/hid/hid-core.c:1334:2: note: Taking true branch
           if (a && a != -1)
           ^
   drivers/hid/hid-core.c:1335:10: note: Assuming 'value' is < 0
--
   3 warnings generated.
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   3 warnings generated.
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   3 warnings generated.
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   3 warnings generated.
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   3 warnings generated.
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   3 warnings generated.
   6 warnings generated.
   9 warnings generated.
   12 warnings generated.
   15 warnings generated.
   18 warnings generated.
   21 warnings generated.
   24 warnings generated.
   Suppressed 24 warnings (24 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   3 warnings generated.
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   3 warnings generated.
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   3 warnings generated.
   6 warnings generated.
   9 warnings generated.
   12 warnings generated.
   15 warnings generated.
   18 warnings generated.
   21 warnings generated.
   24 warnings generated.
   Suppressed 24 warnings (24 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   4 warnings generated.
   drivers/mtd/mtdcore.c:658:3: warning: Value stored to 'error' is never read [clang-analyzer-deadcode.DeadStores]
                   error = 0;
                   ^       ~
   drivers/mtd/mtdcore.c:658:3: note: Value stored to 'error' is never read
                   error = 0;
                   ^       ~
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   4 warnings generated.
   drivers/mtd/mtdsuper.c:27:19: warning: Value stored to 'mtd' during its initialization is never read [clang-analyzer-deadcode.DeadStores]
           struct mtd_info *mtd = fc->sget_key;
                            ^~~   ~~~~~~~~~~~~
   drivers/mtd/mtdsuper.c:27:19: note: Value stored to 'mtd' during its initialization is never read
           struct mtd_info *mtd = fc->sget_key;
                            ^~~   ~~~~~~~~~~~~
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   6 warnings generated.
   drivers/mtd/mtdconcat.c:67:4: warning: Value stored to 'size' is never read [clang-analyzer-deadcode.DeadStores]
                           size = 0;
                           ^      ~
   drivers/mtd/mtdconcat.c:67:4: note: Value stored to 'size' is never read
                           size = 0;
                           ^      ~
   drivers/mtd/mtdconcat.c:159:4: warning: Value stored to 'size' is never read [clang-analyzer-deadcode.DeadStores]
                           size = 0;
                           ^      ~
   drivers/mtd/mtdconcat.c:159:4: note: Value stored to 'size' is never read
                           size = 0;
                           ^      ~
   drivers/mtd/mtdconcat.c:492:4: warning: Value stored to 'size' is never read [clang-analyzer-deadcode.DeadStores]
                           size = 0;
                           ^      ~
   drivers/mtd/mtdconcat.c:492:4: note: Value stored to 'size' is never read
                           size = 0;
                           ^      ~
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   5 warnings generated.
   Suppressed 5 warnings (5 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   3 warnings generated.
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   3 warnings generated.
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   3 warnings generated.
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   3 warnings generated.
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   3 warnings generated.
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   7 warnings generated.
   14 warnings generated.
>> drivers/bluetooth/hci_qca.c:1633:4: warning: Value stored to 'sw_ctrl_state' is never read [clang-analyzer-deadcode.DeadStores]
                           sw_ctrl_state = gpiod_get_value_cansleep(qcadev->sw_ctrl);
                           ^               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/bluetooth/hci_qca.c:1633:4: note: Value stored to 'sw_ctrl_state' is never read
                           sw_ctrl_state = gpiod_get_value_cansleep(qcadev->sw_ctrl);
                           ^               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/bluetooth/hci_qca.c:1911:4: warning: Value stored to 'sw_ctrl_state' is never read [clang-analyzer-deadcode.DeadStores]
                           sw_ctrl_state = gpiod_get_value_cansleep(qcadev->sw_ctrl);
                           ^               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/bluetooth/hci_qca.c:1911:4: note: Value stored to 'sw_ctrl_state' is never read
                           sw_ctrl_state = gpiod_get_value_cansleep(qcadev->sw_ctrl);
                           ^               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Suppressed 10 warnings (10 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   4 warnings generated.
   Suppressed 4 warnings (4 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   4 warnings generated.
   Suppressed 4 warnings (3 in non-user code, 1 with check filters).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   4 warnings generated.
   net/ipv4/tcp_timer.c:484:21: warning: Value stored to 'inet' during its initialization is never read [clang-analyzer-deadcode.DeadStores]
                   struct inet_sock *inet = inet_sk(sk);
                                     ^~~~   ~~~~~~~~~~~
   net/ipv4/tcp_timer.c:484:21: note: Value stored to 'inet' during its initialization is never read
                   struct inet_sock *inet = inet_sk(sk);
                                     ^~~~   ~~~~~~~~~~~
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   3 warnings generated.
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   3 warnings generated.
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   3 warnings generated.
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   3 warnings generated.
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   3 warnings generated.
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   3 warnings generated.
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   3 warnings generated.
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   3 warnings generated.
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   3 warnings generated.
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   3 warnings generated.
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   3 warnings generated.
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   3 warnings generated.
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   7 warnings generated.
   drivers/greybus/svc.c:1144:2: warning: Value stored to 'reset' is never read [clang-analyzer-deadcode.DeadStores]
           reset = request->payload;
           ^       ~~~~~~~~~~~~~~~~
   drivers/greybus/svc.c:1144:2: note: Value stored to 'reset' is never read
           reset = request->payload;
           ^       ~~~~~~~~~~~~~~~~
   drivers/greybus/svc.c:1162:2: warning: Value stored to 'request' is never read [clang-analyzer-deadcode.DeadStores]
           request = op->request->payload;
           ^         ~~~~~~~~~~~~~~~~~~~~
   drivers/greybus/svc.c:1162:2: note: Value stored to 'request' is never read
           request = op->request->payload;
           ^         ~~~~~~~~~~~~~~~~~~~~
   drivers/greybus/svc.c:1181:2: warning: Value stored to 'request' is never read [clang-analyzer-deadcode.DeadStores]
           request = op->request->payload;
           ^         ~~~~~~~~~~~~~~~~~~~~
   drivers/greybus/svc.c:1181:2: note: Value stored to 'request' is never read
           request = op->request->payload;
           ^         ~~~~~~~~~~~~~~~~~~~~
   drivers/greybus/svc.c:1214:2: warning: Value stored to 'request' is never read [clang-analyzer-deadcode.DeadStores]
           request = op->request->payload;
           ^         ~~~~~~~~~~~~~~~~~~~~
   drivers/greybus/svc.c:1214:2: note: Value stored to 'request' is never read
           request = op->request->payload;
           ^         ~~~~~~~~~~~~~~~~~~~~
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   3 warnings generated.
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   3 warnings generated.
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   3 warnings generated.
   Suppressed 3 warnings (3 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.

vim +/sw_ctrl_state +1633 drivers/bluetooth/hci_qca.c

c1a74160eaf1ac Venkata Lakshmi Narayana Gubba 2021-03-11  1593  
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1594  static int qca_regulator_init(struct hci_uart *hu)
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1595  {
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1596  	enum qca_btsoc_type soc_type = qca_soc_type(hu);
3e4be65eb82c84 Balakrishna Godavarthi         2018-09-24  1597  	struct qca_serdev *qcadev;
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1598  	int ret;
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1599  	bool sw_ctrl_state;
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1600  
3e4be65eb82c84 Balakrishna Godavarthi         2018-09-24  1601  	/* Check for vregs status, may be hci down has turned
3e4be65eb82c84 Balakrishna Godavarthi         2018-09-24  1602  	 * off the voltage regulator.
3e4be65eb82c84 Balakrishna Godavarthi         2018-09-24  1603  	 */
3e4be65eb82c84 Balakrishna Godavarthi         2018-09-24  1604  	qcadev = serdev_device_get_drvdata(hu->serdev);
3e4be65eb82c84 Balakrishna Godavarthi         2018-09-24  1605  	if (!qcadev->bt_power->vregs_on) {
3e4be65eb82c84 Balakrishna Godavarthi         2018-09-24  1606  		serdev_device_close(hu->serdev);
a9314e76da966d Bjorn Andersson                2019-10-17  1607  		ret = qca_regulator_enable(qcadev);
3e4be65eb82c84 Balakrishna Godavarthi         2018-09-24  1608  		if (ret)
3e4be65eb82c84 Balakrishna Godavarthi         2018-09-24  1609  			return ret;
3e4be65eb82c84 Balakrishna Godavarthi         2018-09-24  1610  
3e4be65eb82c84 Balakrishna Godavarthi         2018-09-24  1611  		ret = serdev_device_open(hu->serdev);
3e4be65eb82c84 Balakrishna Godavarthi         2018-09-24  1612  		if (ret) {
3e4be65eb82c84 Balakrishna Godavarthi         2018-09-24  1613  			bt_dev_err(hu->hdev, "failed to open port");
3e4be65eb82c84 Balakrishna Godavarthi         2018-09-24  1614  			return ret;
3e4be65eb82c84 Balakrishna Godavarthi         2018-09-24  1615  		}
3e4be65eb82c84 Balakrishna Godavarthi         2018-09-24  1616  	}
3e4be65eb82c84 Balakrishna Godavarthi         2018-09-24  1617  
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1618  	if (qca_is_wcn399x(soc_type)) {
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1619  		/* Forcefully enable wcn399x to enter in to boot mode. */
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1620  		host_set_baudrate(hu, 2400);
9836b80208b225 Matthias Kaehlcke              2019-02-26  1621  		ret = qca_send_power_pulse(hu, false);
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1622  		if (ret)
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1623  			return ret;
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1624  	}
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1625  
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1626  	/* For wcn6750 need to enable gpio bt_en */
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1627  	if (qcadev->bt_en) {
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1628  		gpiod_set_value_cansleep(qcadev->bt_en, 0);
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1629  		msleep(50);
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1630  		gpiod_set_value_cansleep(qcadev->bt_en, 1);
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1631  		msleep(50);
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1632  		if (qcadev->sw_ctrl) {
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18 @1633  			sw_ctrl_state = gpiod_get_value_cansleep(qcadev->sw_ctrl);
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1634  			bt_dev_dbg(hu->hdev, "SW_CTRL is %d", sw_ctrl_state);
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1635  		}
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1636  	}
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1637  
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1638  	qca_set_speed(hu, QCA_INIT_SPEED);
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1639  
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1640  	if (qca_is_wcn399x(soc_type)) {
9836b80208b225 Matthias Kaehlcke              2019-02-26  1641  		ret = qca_send_power_pulse(hu, true);
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1642  		if (ret)
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1643  			return ret;
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1644  	}
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1645  
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1646  	/* Now the device is in ready state to communicate with host.
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1647  	 * To sync host with device we need to reopen port.
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1648  	 * Without this, we will have RTS and CTS synchronization
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1649  	 * issues.
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1650  	 */
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1651  	serdev_device_close(hu->serdev);
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1652  	ret = serdev_device_open(hu->serdev);
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1653  	if (ret) {
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1654  		bt_dev_err(hu->hdev, "failed to open port");
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1655  		return ret;
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1656  	}
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1657  
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1658  	hci_uart_set_flow_control(hu, false);
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1659  
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1660  	return 0;
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1661  }
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1662  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 32770 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* drivers/bluetooth/hci_qca.c:1633:4: warning: Value stored to 'sw_ctrl_state' is never read [clang-analyzer-deadcode.DeadStores]
@ 2021-12-18 21:20 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-12-18 21:20 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 34754 bytes --]

CC: llvm(a)lists.linux.dev
CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Venkata Lakshmi Narayana Gubba <gubbaven@codeaurora.org>
CC: Marcel Holtmann <marcel@holtmann.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   9eaa88c7036eda3f6c215f87ca693594cf90559b
commit: d8f97da1b92d2fe89d51c673ecf80c4016119e5c Bluetooth: hci_qca: Add support for QTI Bluetooth chip wcn6750
date:   6 months ago
:::::: branch date: 20 hours ago
:::::: commit date: 6 months ago
config: arm-randconfig-c002-20211211 (https://download.01.org/0day-ci/archive/20211219/202112190546.ctevjqPe-lkp(a)intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 097a1cb1d5ebb3a0ec4bcaed8ba3ff6a8e33c00a)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d8f97da1b92d2fe89d51c673ecf80c4016119e5c
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout d8f97da1b92d2fe89d51c673ecf80c4016119e5c
        # save the config file to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm clang-analyzer 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


clang-analyzer warnings: (new ones prefixed by >>)
                   if (!session)
                   ^
   fs/ceph/mds_client.c:4863:7: note: Assuming field 's_state' is equal to CEPH_MDS_SESSION_REJECTED
                   if (session->s_state == CEPH_MDS_SESSION_REJECTED)
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   fs/ceph/mds_client.c:4863:3: note: Taking true branch
                   if (session->s_state == CEPH_MDS_SESSION_REJECTED)
                   ^
   fs/ceph/mds_client.c:4864:4: note: Calling '__unregister_session'
                           __unregister_session(mdsc, session);
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   fs/ceph/mds_client.c:791:2: note: Taking false branch
           dout("__unregister_session mds%d %p\n", s->s_mds, s);
           ^
   include/linux/ceph/ceph_debug.h:25:3: note: expanded from macro 'dout'
                   if (0)                                          \
                   ^
   fs/ceph/mds_client.c:791:2: note: Loop condition is false.  Exiting loop
           dout("__unregister_session mds%d %p\n", s->s_mds, s);
           ^
   include/linux/ceph/ceph_debug.h:24:26: note: expanded from macro 'dout'
   #  define dout(fmt, ...)        do {                            \
                                   ^
   fs/ceph/mds_client.c:792:2: note: Assuming the condition is false
           BUG_ON(mdsc->sessions[s->s_mds] != s);
           ^
   include/asm-generic/bug.h:183:36: note: expanded from macro 'BUG_ON'
   #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
                                      ^~~~~~~~~~~~~~~~~~~
   include/linux/compiler.h:78:22: note: expanded from macro 'unlikely'
   # define unlikely(x)    __builtin_expect(!!(x), 0)
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~
   fs/ceph/mds_client.c:792:2: note: Taking false branch
           BUG_ON(mdsc->sessions[s->s_mds] != s);
           ^
   include/asm-generic/bug.h:183:32: note: expanded from macro 'BUG_ON'
   #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
                                  ^
   fs/ceph/mds_client.c:792:2: note: Loop condition is false.  Exiting loop
           BUG_ON(mdsc->sessions[s->s_mds] != s);
           ^
   include/asm-generic/bug.h:183:27: note: expanded from macro 'BUG_ON'
   #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
                             ^
   fs/ceph/mds_client.c:795:2: note: Calling 'ceph_put_mds_session'
           ceph_put_mds_session(s);
           ^~~~~~~~~~~~~~~~~~~~~~~
   fs/ceph/mds_client.c:667:2: note: Taking false branch
           dout("mdsc put_session %p %d -> %d\n", s,
           ^
   include/linux/ceph/ceph_debug.h:25:3: note: expanded from macro 'dout'
                   if (0)                                          \
                   ^
   fs/ceph/mds_client.c:667:2: note: Loop condition is false.  Exiting loop
           dout("mdsc put_session %p %d -> %d\n", s,
           ^
   include/linux/ceph/ceph_debug.h:24:26: note: expanded from macro 'dout'
   #  define dout(fmt, ...)        do {                            \
                                   ^
   fs/ceph/mds_client.c:669:2: note: Taking true branch
           if (refcount_dec_and_test(&s->s_ref)) {
           ^
   fs/ceph/mds_client.c:670:7: note: Assuming field 'authorizer' is null
                   if (s->s_auth.authorizer)
                       ^~~~~~~~~~~~~~~~~~~~
   fs/ceph/mds_client.c:670:3: note: Taking false branch
                   if (s->s_auth.authorizer)
                   ^
   fs/ceph/mds_client.c:672:3: note: Assuming the condition is false
                   WARN_ON(mutex_is_locked(&s->s_mutex));
                   ^
   include/asm-generic/bug.h:188:23: note: expanded from macro 'WARN_ON'
           int __ret_warn_on = !!(condition);                              \
                                ^~~~~~~~~~~~
   fs/ceph/mds_client.c:674:3: note: Memory is released
                   kfree(s);
                   ^~~~~~~~
   fs/ceph/mds_client.c:795:2: note: Returning; memory was released via 1st parameter
           ceph_put_mds_session(s);
           ^~~~~~~~~~~~~~~~~~~~~~~
   fs/ceph/mds_client.c:4864:4: note: Returning; memory was released via 2nd parameter
                           __unregister_session(mdsc, session);
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   fs/ceph/mds_client.c:4869:3: note: Use of memory after it is freed
                   __close_session(mdsc, session);
                   ^                     ~~~~~~~
   fs/ceph/mds_client.c:5010:2: warning: Value stored to 'maplen' is never read [clang-analyzer-deadcode.DeadStores]
           maplen = ceph_decode_32(&p);
           ^        ~~~~~~~~~~~~~~~~~~
   fs/ceph/mds_client.c:5010:2: note: Value stored to 'maplen' is never read
           maplen = ceph_decode_32(&p);
           ^        ~~~~~~~~~~~~~~~~~~
   Suppressed 16 warnings (16 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   17 warnings generated.
   34 warnings generated.
   Suppressed 34 warnings (34 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   20 warnings generated.
   40 warnings generated.
>> drivers/bluetooth/hci_qca.c:1633:4: warning: Value stored to 'sw_ctrl_state' is never read [clang-analyzer-deadcode.DeadStores]
                           sw_ctrl_state = gpiod_get_value_cansleep(qcadev->sw_ctrl);
                           ^               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/bluetooth/hci_qca.c:1633:4: note: Value stored to 'sw_ctrl_state' is never read
                           sw_ctrl_state = gpiod_get_value_cansleep(qcadev->sw_ctrl);
                           ^               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/bluetooth/hci_qca.c:1911:4: warning: Value stored to 'sw_ctrl_state' is never read [clang-analyzer-deadcode.DeadStores]
                           sw_ctrl_state = gpiod_get_value_cansleep(qcadev->sw_ctrl);
                           ^               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/bluetooth/hci_qca.c:1911:4: note: Value stored to 'sw_ctrl_state' is never read
                           sw_ctrl_state = gpiod_get_value_cansleep(qcadev->sw_ctrl);
                           ^               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Suppressed 36 warnings (36 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   17 warnings generated.
   net/sched/sch_red.c:142:22: warning: The right operand of '|' is a garbage value [clang-analyzer-core.UndefinedBinaryOperatorResult]
                   return NET_XMIT_CN | ret;
                                      ^ ~~~
   net/sched/sch_red.c:75:2: note: 'ret' declared without an initial value
           int ret;
           ^~~~~~~
   net/sched/sch_red.c:81:2: note: Taking false branch
           if (red_is_idling(&q->vars))
           ^
   net/sched/sch_red.c:84:10: note: Calling 'red_action'
           switch (red_action(&q->parms, &q->vars, q->vars.qavg)) {
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/net/red.h:419:2: note: Control jumps to 'case RED_ABOVE_MAX_TRESH:'  at line 436
           switch (red_cmp_thresh(p, qavg)) {
           ^
   include/net/red.h:438:4: note: Returning the value 2, which participates in a condition later
                           return RED_HARD_MARK;
                           ^~~~~~~~~~~~~~~~~~~~
   net/sched/sch_red.c:84:10: note: Returning from 'red_action'
           switch (red_action(&q->parms, &q->vars, q->vars.qavg)) {
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   net/sched/sch_red.c:84:2: note: Control jumps to 'case RED_HARD_MARK:'  at line 108
           switch (red_action(&q->parms, &q->vars, q->vars.qavg)) {
           ^
   net/sched/sch_red.c:110:7: note: Assuming the condition is true
                   if (red_use_harddrop(q) || !red_use_ecn(q)) {
                       ^~~~~~~~~~~~~~~~~~~
   net/sched/sch_red.c:110:27: note: Left side of '||' is true
                   if (red_use_harddrop(q) || !red_use_ecn(q)) {
                                           ^
   net/sched/sch_red.c:112:4: note: Control jumps to line 140
                           goto congestion_drop;
                           ^
   net/sched/sch_red.c:140:8: note: Calling 'tcf_qevent_handle'
           skb = tcf_qevent_handle(&q->qe_early_drop, sch, skb, to_free, &ret);
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/net/pkt_cls.h:596:2: note: Returning without writing to '*ret'
           return skb;
           ^
   include/net/pkt_cls.h:596:2: note: Returning pointer (loaded from 'skb'), which participates in a condition later
           return skb;
           ^~~~~~~~~~
   net/sched/sch_red.c:140:8: note: Returning from 'tcf_qevent_handle'
           skb = tcf_qevent_handle(&q->qe_early_drop, sch, skb, to_free, &ret);
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   net/sched/sch_red.c:141:6: note: Assuming 'skb' is null
           if (!skb)
               ^~~~
   net/sched/sch_red.c:141:2: note: Taking true branch
           if (!skb)
           ^
   net/sched/sch_red.c:142:22: note: The right operand of '|' is a garbage value
                   return NET_XMIT_CN | ret;
                                      ^ ~~~
   Suppressed 16 warnings (16 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   16 warnings generated.
   Suppressed 16 warnings (16 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   16 warnings generated.
   Suppressed 16 warnings (16 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   16 warnings generated.
   Suppressed 16 warnings (16 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   1 warning generated.
   drivers/mtd/nand/raw/nand_bbt.c:550:3: warning: Value stored to 'bbtblocks' is never read [clang-analyzer-deadcode.DeadStores]
                   bbtblocks = mtd->size >> this->bbt_erase_shift;
                   ^           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/mtd/nand/raw/nand_bbt.c:550:3: note: Value stored to 'bbtblocks' is never read
                   bbtblocks = mtd->size >> this->bbt_erase_shift;
                   ^           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   2 warnings generated.
   drivers/mtd/nand/raw/nand_onfi.c:254:6: warning: The result of the left shift is undefined because the right operand is negative [clang-analyzer-core.UndefinedBinaryOperatorResult]
                           1 << (fls(le32_to_cpu(p->pages_per_block)) - 1);
                             ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/mtd/nand/raw/nand_onfi.c:147:25: note: Calling 'nand_to_mtd'
           struct mtd_info *mtd = nand_to_mtd(chip);
                                  ^~~~~~~~~~~~~~~~~
   include/linux/mtd/rawnand.h:1165:2: note: Returning without writing to 'chip->parameters.model', which participates in a condition later
           return &chip->base.mtd;
           ^
   drivers/mtd/nand/raw/nand_onfi.c:147:25: note: Returning from 'nand_to_mtd'
           struct mtd_info *mtd = nand_to_mtd(chip);
                                  ^~~~~~~~~~~~~~~~~
   drivers/mtd/nand/raw/nand_onfi.c:161:6: note: Assuming 'ret' is 0
--
   17 warnings generated.
   Suppressed 17 warnings (17 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   17 warnings generated.
   Suppressed 17 warnings (17 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   17 warnings generated.
   Suppressed 17 warnings (17 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   17 warnings generated.
   Suppressed 17 warnings (17 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   18 warnings generated.
   net/sunrpc/auth.c:835:8: warning: Access to field 'cr_ops' results in a dereference of a null pointer (loaded from variable 'cred') [clang-analyzer-core.NullDereference]
           err = cred->cr_ops->crrefresh(task);
                 ^~~~
   net/sunrpc/auth.c:828:6: note: Assuming 'cred' is equal to NULL
           if (cred == NULL) {
               ^~~~~~~~~~~~
   net/sunrpc/auth.c:828:2: note: Taking true branch
           if (cred == NULL) {
           ^
   net/sunrpc/auth.c:830:7: note: 'err' is >= 0
                   if (err < 0)
                       ^~~
   net/sunrpc/auth.c:830:3: note: Taking false branch
                   if (err < 0)
                   ^
   net/sunrpc/auth.c:832:3: note: Null pointer value stored to 'cred'
                   cred = task->tk_rqstp->rq_cred;
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   net/sunrpc/auth.c:835:8: note: Access to field 'cr_ops' results in a dereference of a null pointer (loaded from variable 'cred')
           err = cred->cr_ops->crrefresh(task);
                 ^~~~
   Suppressed 17 warnings (17 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   17 warnings generated.
   Suppressed 17 warnings (17 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   17 warnings generated.
   Suppressed 17 warnings (17 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   18 warnings generated.
   net/sunrpc/svc.c:1290:2: warning: Value stored to 'rpc_stat' is never read [clang-analyzer-deadcode.DeadStores]
           rpc_stat = rpc_success;
           ^
   net/sunrpc/svc.c:1290:2: note: Value stored to 'rpc_stat' is never read
   Suppressed 17 warnings (17 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   17 warnings generated.
   Suppressed 17 warnings (17 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   17 warnings generated.
   Suppressed 17 warnings (17 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   16 warnings generated.
   Suppressed 16 warnings (16 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   17 warnings generated.
   drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c:1296:4: warning: Value stored to 'offs' is never read [clang-analyzer-deadcode.DeadStores]
                           offs += mvpp2_cls_hek_field_size(MVPP22_CLS_HEK_OPT_L4DIP);
                           ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c:1296:4: note: Value stored to 'offs' is never read
                           offs += mvpp2_cls_hek_field_size(MVPP22_CLS_HEK_OPT_L4DIP);
                           ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Suppressed 16 warnings (16 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   16 warnings generated.
   Suppressed 16 warnings (16 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   16 warnings generated.
   Suppressed 16 warnings (16 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   18 warnings generated.
   net/rds/send.c:1246:2: warning: Value stored to 'total_payload_len' is never read [clang-analyzer-deadcode.DeadStores]
           total_payload_len += rdma_payload_len;
           ^                    ~~~~~~~~~~~~~~~~
   net/rds/send.c:1246:2: note: Value stored to 'total_payload_len' is never read
           total_payload_len += rdma_payload_len;
           ^                    ~~~~~~~~~~~~~~~~
   Suppressed 17 warnings (16 in non-user code, 1 with check filters).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   16 warnings generated.
   Suppressed 16 warnings (16 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   17 warnings generated.
   net/ipv4/tcp_timer.c:484:21: warning: Value stored to 'inet' during its initialization is never read [clang-analyzer-deadcode.DeadStores]
                   struct inet_sock *inet = inet_sk(sk);
                                     ^~~~   ~~~~~~~~~~~
   net/ipv4/tcp_timer.c:484:21: note: Value stored to 'inet' during its initialization is never read
                   struct inet_sock *inet = inet_sk(sk);
                                     ^~~~   ~~~~~~~~~~~
   Suppressed 16 warnings (16 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   17 warnings generated.
   34 warnings generated.
   Suppressed 34 warnings (34 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   20 warnings generated.
   40 warnings generated.
>> drivers/bluetooth/hci_qca.c:1633:4: warning: Value stored to 'sw_ctrl_state' is never read [clang-analyzer-deadcode.DeadStores]
                           sw_ctrl_state = gpiod_get_value_cansleep(qcadev->sw_ctrl);
                           ^               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/bluetooth/hci_qca.c:1633:4: note: Value stored to 'sw_ctrl_state' is never read
                           sw_ctrl_state = gpiod_get_value_cansleep(qcadev->sw_ctrl);
                           ^               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/bluetooth/hci_qca.c:1911:4: warning: Value stored to 'sw_ctrl_state' is never read [clang-analyzer-deadcode.DeadStores]
                           sw_ctrl_state = gpiod_get_value_cansleep(qcadev->sw_ctrl);
                           ^               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/bluetooth/hci_qca.c:1911:4: note: Value stored to 'sw_ctrl_state' is never read
                           sw_ctrl_state = gpiod_get_value_cansleep(qcadev->sw_ctrl);
                           ^               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Suppressed 36 warnings (36 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   17 warnings generated.
   Suppressed 17 warnings (17 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   17 warnings generated.
   Suppressed 17 warnings (17 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   17 warnings generated.
   Suppressed 17 warnings (17 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   17 warnings generated.
   Suppressed 17 warnings (17 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   15 warnings generated.
   Suppressed 15 warnings (15 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   15 warnings generated.
   Suppressed 15 warnings (15 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   17 warnings generated.
   net/sctp/offload.c:47:2: warning: Value stored to 'sh' is never read [clang-analyzer-deadcode.DeadStores]
           sh = sctp_hdr(skb);
           ^    ~~~~~~~~~~~~~
   net/sctp/offload.c:47:2: note: Value stored to 'sh' is never read
           sh = sctp_hdr(skb);
           ^    ~~~~~~~~~~~~~
   Suppressed 16 warnings (16 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   16 warnings generated.
   Suppressed 16 warnings (16 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   16 warnings generated.
   Suppressed 16 warnings (16 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   16 warnings generated.
   Suppressed 16 warnings (16 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   16 warnings generated.
   Suppressed 16 warnings (16 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   16 warnings generated.
   Suppressed 16 warnings (16 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   16 warnings generated.
   Suppressed 16 warnings (16 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   16 warnings generated.
   Suppressed 16 warnings (16 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   16 warnings generated.
   Suppressed 16 warnings (16 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   16 warnings generated.
   Suppressed 16 warnings (16 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   16 warnings generated.
   Suppressed 16 warnings (16 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   16 warnings generated.
   Suppressed 16 warnings (16 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   19 warnings generated.
   net/ipv4/esp4.c:100:27: warning: Value stored to 'extra' during its initialization is never read [clang-analyzer-deadcode.DeadStores]
           struct esp_output_extra *extra = esp_tmp_extra(tmp);
                                    ^~~~~   ~~~~~~~~~~~~~~~~~~
   net/ipv4/esp4.c:100:27: note: Value stored to 'extra' during its initialization is never read
           struct esp_output_extra *extra = esp_tmp_extra(tmp);
                                    ^~~~~   ~~~~~~~~~~~~~~~~~~
   net/ipv4/esp4.c:110:2: warning: Value stored to 'extra' is never read [clang-analyzer-deadcode.DeadStores]
           extra = esp_tmp_extra(tmp);
           ^       ~~~~~~~~~~~~~~~~~~
   net/ipv4/esp4.c:110:2: note: Value stored to 'extra' is never read
           extra = esp_tmp_extra(tmp);
           ^       ~~~~~~~~~~~~~~~~~~
   Suppressed 17 warnings (16 in non-user code, 1 with check filters).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   17 warnings generated.
   net/ipv4/esp4_offload.c:41:7: warning: Although the value stored to 'err' is used in the enclosing expression, the value is never actually read from 'err' [clang-analyzer-deadcode.DeadStores]
           if ((err = xfrm_parse_spi(skb, IPPROTO_ESP, &spi, &seq)) != 0)
                ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   net/ipv4/esp4_offload.c:41:7: note: Although the value stored to 'err' is used in the enclosing expression, the value is never actually read from 'err'
           if ((err = xfrm_parse_spi(skb, IPPROTO_ESP, &spi, &seq)) != 0)
                ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Suppressed 16 warnings (16 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
   16 warnings generated.
   Suppressed 16 warnings (16 in non-user code).
   Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.

vim +/sw_ctrl_state +1633 drivers/bluetooth/hci_qca.c

c1a74160eaf1ac Venkata Lakshmi Narayana Gubba 2021-03-11  1593  
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1594  static int qca_regulator_init(struct hci_uart *hu)
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1595  {
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1596  	enum qca_btsoc_type soc_type = qca_soc_type(hu);
3e4be65eb82c84 Balakrishna Godavarthi         2018-09-24  1597  	struct qca_serdev *qcadev;
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1598  	int ret;
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1599  	bool sw_ctrl_state;
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1600  
3e4be65eb82c84 Balakrishna Godavarthi         2018-09-24  1601  	/* Check for vregs status, may be hci down has turned
3e4be65eb82c84 Balakrishna Godavarthi         2018-09-24  1602  	 * off the voltage regulator.
3e4be65eb82c84 Balakrishna Godavarthi         2018-09-24  1603  	 */
3e4be65eb82c84 Balakrishna Godavarthi         2018-09-24  1604  	qcadev = serdev_device_get_drvdata(hu->serdev);
3e4be65eb82c84 Balakrishna Godavarthi         2018-09-24  1605  	if (!qcadev->bt_power->vregs_on) {
3e4be65eb82c84 Balakrishna Godavarthi         2018-09-24  1606  		serdev_device_close(hu->serdev);
a9314e76da966d Bjorn Andersson                2019-10-17  1607  		ret = qca_regulator_enable(qcadev);
3e4be65eb82c84 Balakrishna Godavarthi         2018-09-24  1608  		if (ret)
3e4be65eb82c84 Balakrishna Godavarthi         2018-09-24  1609  			return ret;
3e4be65eb82c84 Balakrishna Godavarthi         2018-09-24  1610  
3e4be65eb82c84 Balakrishna Godavarthi         2018-09-24  1611  		ret = serdev_device_open(hu->serdev);
3e4be65eb82c84 Balakrishna Godavarthi         2018-09-24  1612  		if (ret) {
3e4be65eb82c84 Balakrishna Godavarthi         2018-09-24  1613  			bt_dev_err(hu->hdev, "failed to open port");
3e4be65eb82c84 Balakrishna Godavarthi         2018-09-24  1614  			return ret;
3e4be65eb82c84 Balakrishna Godavarthi         2018-09-24  1615  		}
3e4be65eb82c84 Balakrishna Godavarthi         2018-09-24  1616  	}
3e4be65eb82c84 Balakrishna Godavarthi         2018-09-24  1617  
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1618  	if (qca_is_wcn399x(soc_type)) {
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1619  		/* Forcefully enable wcn399x to enter in to boot mode. */
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1620  		host_set_baudrate(hu, 2400);
9836b80208b225 Matthias Kaehlcke              2019-02-26  1621  		ret = qca_send_power_pulse(hu, false);
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1622  		if (ret)
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1623  			return ret;
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1624  	}
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1625  
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1626  	/* For wcn6750 need to enable gpio bt_en */
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1627  	if (qcadev->bt_en) {
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1628  		gpiod_set_value_cansleep(qcadev->bt_en, 0);
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1629  		msleep(50);
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1630  		gpiod_set_value_cansleep(qcadev->bt_en, 1);
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1631  		msleep(50);
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1632  		if (qcadev->sw_ctrl) {
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18 @1633  			sw_ctrl_state = gpiod_get_value_cansleep(qcadev->sw_ctrl);
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1634  			bt_dev_dbg(hu->hdev, "SW_CTRL is %d", sw_ctrl_state);
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1635  		}
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1636  	}
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1637  
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1638  	qca_set_speed(hu, QCA_INIT_SPEED);
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1639  
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1640  	if (qca_is_wcn399x(soc_type)) {
9836b80208b225 Matthias Kaehlcke              2019-02-26  1641  		ret = qca_send_power_pulse(hu, true);
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1642  		if (ret)
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1643  			return ret;
d8f97da1b92d2f Venkata Lakshmi Narayana Gubba 2021-05-18  1644  	}
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1645  
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1646  	/* Now the device is in ready state to communicate with host.
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1647  	 * To sync host with device we need to reopen port.
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1648  	 * Without this, we will have RTS and CTS synchronization
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1649  	 * issues.
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1650  	 */
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1651  	serdev_device_close(hu->serdev);
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1652  	ret = serdev_device_open(hu->serdev);
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1653  	if (ret) {
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1654  		bt_dev_err(hu->hdev, "failed to open port");
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1655  		return ret;
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1656  	}
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1657  
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1658  	hci_uart_set_flow_control(hu, false);
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1659  
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1660  	return 0;
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1661  }
fa9ad876b8e0eb Balakrishna Godavarthi         2018-08-03  1662  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-18 21:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-08 16:40 drivers/bluetooth/hci_qca.c:1633:4: warning: Value stored to 'sw_ctrl_state' is never read [clang-analyzer-deadcode.DeadStores] kernel test robot
2021-12-18 21:20 kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.