RE: [v2] Bluetooth: btintel: Set Per Platform Antenna Gain(PPAG)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=719005

---Test result---

Test Summary:
CheckPatch                    FAIL      1.60 seconds
GitLint                       PASS      0.27 seconds
SubjectPrefix                 PASS      0.09 seconds
BuildKernel                   FAIL      28.74 seconds
CheckAllWarning               FAIL      30.86 seconds
CheckSparse                   FAIL      33.99 seconds
CheckSmatch                   FAIL      95.92 seconds
BuildKernel32                 FAIL      27.11 seconds
TestRunnerSetup               PASS      437.75 seconds
TestRunner_l2cap-tester       PASS      16.30 seconds
TestRunner_iso-tester         PASS      16.67 seconds
TestRunner_bnep-tester        PASS      5.48 seconds
TestRunner_mgmt-tester        PASS      109.75 seconds
TestRunner_rfcomm-tester      PASS      8.69 seconds
TestRunner_sco-tester         PASS      8.04 seconds
TestRunner_ioctl-tester       PASS      9.44 seconds
TestRunner_mesh-tester        PASS      6.90 seconds
TestRunner_smp-tester         PASS      7.96 seconds
TestRunner_userchan-tester    PASS      5.66 seconds
IncrementalBuild              FAIL      25.12 seconds

Details
##############################
Test: CheckPatch - FAIL
Desc: Run checkpatch.pl script
Output:
[v2] Bluetooth: btintel: Set Per Platform Antenna Gain(PPAG)
WARNING: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#93: 
< HCI Command: Intel Configure Per Platform Antenna Gain (0x3f|0x0219) plen 12

total: 0 errors, 1 warnings, 158 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

/github/workspace/src/src/13129345.patch has style problems, please review.

NOTE: Ignored message types: UNKNOWN_COMMIT_ID

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.


##############################
Test: BuildKernel - FAIL
Desc: Build Kernel for Bluetooth
Output:

drivers/bluetooth/btintel.c:1284:8: error: unknown type name ‘acpi_status’
 1284 | static acpi_status btintel_ppag_callback(acpi_handle handle, u32 lvl, void *data,
      |        ^~~~~~~~~~~
drivers/bluetooth/btintel.c:1284:42: error: unknown type name ‘acpi_handle’; did you mean ‘hci_handle’?
 1284 | static acpi_status btintel_ppag_callback(acpi_handle handle, u32 lvl, void *data,
      |                                          ^~~~~~~~~~~
      |                                          hci_handle
drivers/bluetooth/btintel.c: In function ‘btintel_set_ppag’:
drivers/bluetooth/btintel.c:2316:2: error: unknown type name ‘acpi_status’; did you mean ‘si_status’?
 2316 |  acpi_status status;
      |  ^~~~~~~~~~~
      |  si_status
drivers/bluetooth/btintel.c:2332:11: error: implicit declaration of function ‘acpi_walk_namespace’ [-Werror=implicit-function-declaration]
 2332 |  status = acpi_walk_namespace(ACPI_TYPE_ANY, ACPI_ROOT_OBJECT,
      |           ^~~~~~~~~~~~~~~~~~~
drivers/bluetooth/btintel.c:2332:31: error: ‘ACPI_TYPE_ANY’ undeclared (first use in this function)
 2332 |  status = acpi_walk_namespace(ACPI_TYPE_ANY, ACPI_ROOT_OBJECT,
      |                               ^~~~~~~~~~~~~
drivers/bluetooth/btintel.c:2332:31: note: each undeclared identifier is reported only once for each function it appears in
drivers/bluetooth/btintel.c:2332:46: error: ‘ACPI_ROOT_OBJECT’ undeclared (first use in this function)
 2332 |  status = acpi_walk_namespace(ACPI_TYPE_ANY, ACPI_ROOT_OBJECT,
      |                                              ^~~~~~~~~~~~~~~~
drivers/bluetooth/btintel.c:2333:10: error: ‘ACPI_UINT32_MAX’ undeclared (first use in this function)
 2333 |          ACPI_UINT32_MAX, NULL,
      |          ^~~~~~~~~~~~~~~
drivers/bluetooth/btintel.c:2334:10: error: ‘btintel_ppag_callback’ undeclared (first use in this function)
 2334 |          btintel_ppag_callback, &ppag, NULL);
      |          ^~~~~~~~~~~~~~~~~~~~~
drivers/bluetooth/btintel.c:2336:6: error: implicit declaration of function ‘ACPI_FAILURE’ [-Werror=implicit-function-declaration]
 2336 |  if (ACPI_FAILURE(status)) {
      |      ^~~~~~~~~~~~
drivers/bluetooth/btintel.c:2338:17: error: ‘AE_NOT_FOUND’ undeclared (first use in this function)
 2338 |   if (status == AE_NOT_FOUND)
      |                 ^~~~~~~~~~~~
In file included from drivers/bluetooth/btintel.c:14:
drivers/bluetooth/btintel.c:2340:47: error: implicit declaration of function ‘acpi_format_exception’ [-Werror=implicit-function-declaration]
 2340 |   bt_dev_warn(hdev, "PPAG: ACPI Failure: %s", acpi_format_exception(status));
      |                                               ^~~~~~~~~~~~~~~~~~~~~
./include/net/bluetooth/bluetooth.h:243:47: note: in definition of macro ‘BT_WARN’
  243 | #define BT_WARN(fmt, ...) bt_warn(fmt "\n", ##__VA_ARGS__)
      |                                               ^~~~~~~~~~~
drivers/bluetooth/btintel.c:2340:3: note: in expansion of macro ‘bt_dev_warn’
 2340 |   bt_dev_warn(hdev, "PPAG: ACPI Failure: %s", acpi_format_exception(status));
      |   ^~~~~~~~~~~
./include/net/bluetooth/bluetooth.h:257:10: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘int’ [-Wformat=]
  257 |  BT_WARN("%s: " fmt, bt_dev_name(hdev), ##__VA_ARGS__)
      |          ^~~~~~
./include/net/bluetooth/bluetooth.h:243:35: note: in definition of macro ‘BT_WARN’
  243 | #define BT_WARN(fmt, ...) bt_warn(fmt "\n", ##__VA_ARGS__)
      |                                   ^~~
drivers/bluetooth/btintel.c:2340:3: note: in expansion of macro ‘bt_dev_warn’
 2340 |   bt_dev_warn(hdev, "PPAG: ACPI Failure: %s", acpi_format_exception(status));
      |   ^~~~~~~~~~~
drivers/bluetooth/btintel.c:2340:43: note: format string is defined here
 2340 |   bt_dev_warn(hdev, "PPAG: ACPI Failure: %s", acpi_format_exception(status));
      |                                          ~^
      |                                           |
      |                                           char *
      |                                          %d
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:252: drivers/bluetooth/btintel.o] Error 1
make[2]: *** [scripts/Makefile.build:504: drivers/bluetooth] Error 2
make[1]: *** [scripts/Makefile.build:504: drivers] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:2021: .] Error 2
##############################
Test: CheckAllWarning - FAIL
Desc: Run linux kernel with all warning enabled
Output:

drivers/bluetooth/btintel.c:1284:8: error: unknown type name ‘acpi_status’
 1284 | static acpi_status btintel_ppag_callback(acpi_handle handle, u32 lvl, void *data,
      |        ^~~~~~~~~~~
drivers/bluetooth/btintel.c:1284:42: error: unknown type name ‘acpi_handle’; did you mean ‘hci_handle’?
 1284 | static acpi_status btintel_ppag_callback(acpi_handle handle, u32 lvl, void *data,
      |                                          ^~~~~~~~~~~
      |                                          hci_handle
drivers/bluetooth/btintel.c: In function ‘btintel_set_ppag’:
drivers/bluetooth/btintel.c:2316:2: error: unknown type name ‘acpi_status’; did you mean ‘si_status’?
 2316 |  acpi_status status;
      |  ^~~~~~~~~~~
      |  si_status
drivers/bluetooth/btintel.c:2332:11: error: implicit declaration of function ‘acpi_walk_namespace’ [-Werror=implicit-function-declaration]
 2332 |  status = acpi_walk_namespace(ACPI_TYPE_ANY, ACPI_ROOT_OBJECT,
      |           ^~~~~~~~~~~~~~~~~~~
drivers/bluetooth/btintel.c:2332:31: error: ‘ACPI_TYPE_ANY’ undeclared (first use in this function)
 2332 |  status = acpi_walk_namespace(ACPI_TYPE_ANY, ACPI_ROOT_OBJECT,
      |                               ^~~~~~~~~~~~~
drivers/bluetooth/btintel.c:2332:31: note: each undeclared identifier is reported only once for each function it appears in
drivers/bluetooth/btintel.c:2332:46: error: ‘ACPI_ROOT_OBJECT’ undeclared (first use in this function)
 2332 |  status = acpi_walk_namespace(ACPI_TYPE_ANY, ACPI_ROOT_OBJECT,
      |                                              ^~~~~~~~~~~~~~~~
drivers/bluetooth/btintel.c:2333:10: error: ‘ACPI_UINT32_MAX’ undeclared (first use in this function)
 2333 |          ACPI_UINT32_MAX, NULL,
      |          ^~~~~~~~~~~~~~~
drivers/bluetooth/btintel.c:2334:10: error: ‘btintel_ppag_callback’ undeclared (first use in this function)
 2334 |          btintel_ppag_callback, &ppag, NULL);
      |          ^~~~~~~~~~~~~~~~~~~~~
drivers/bluetooth/btintel.c:2336:6: error: implicit declaration of function ‘ACPI_FAILURE’ [-Werror=implicit-function-declaration]
 2336 |  if (ACPI_FAILURE(status)) {
      |      ^~~~~~~~~~~~
drivers/bluetooth/btintel.c:2338:17: error: ‘AE_NOT_FOUND’ undeclared (first use in this function)
 2338 |   if (status == AE_NOT_FOUND)
      |                 ^~~~~~~~~~~~
In file included from drivers/bluetooth/btintel.c:14:
drivers/bluetooth/btintel.c:2340:47: error: implicit declaration of function ‘acpi_format_exception’ [-Werror=implicit-function-declaration]
 2340 |   bt_dev_warn(hdev, "PPAG: ACPI Failure: %s", acpi_format_exception(status));
      |                                               ^~~~~~~~~~~~~~~~~~~~~
./include/net/bluetooth/bluetooth.h:243:47: note: in definition of macro ‘BT_WARN’
  243 | #define BT_WARN(fmt, ...) bt_warn(fmt "\n", ##__VA_ARGS__)
      |                                               ^~~~~~~~~~~
drivers/bluetooth/btintel.c:2340:3: note: in expansion of macro ‘bt_dev_warn’
 2340 |   bt_dev_warn(hdev, "PPAG: ACPI Failure: %s", acpi_format_exception(status));
      |   ^~~~~~~~~~~
./include/net/bluetooth/bluetooth.h:257:10: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘int’ [-Wformat=]
  257 |  BT_WARN("%s: " fmt, bt_dev_name(hdev), ##__VA_ARGS__)
      |          ^~~~~~
./include/net/bluetooth/bluetooth.h:243:35: note: in definition of macro ‘BT_WARN’
  243 | #define BT_WARN(fmt, ...) bt_warn(fmt "\n", ##__VA_ARGS__)
      |                                   ^~~
drivers/bluetooth/btintel.c:2340:3: note: in expansion of macro ‘bt_dev_warn’
 2340 |   bt_dev_warn(hdev, "PPAG: ACPI Failure: %s", acpi_format_exception(status));
      |   ^~~~~~~~~~~
drivers/bluetooth/btintel.c:2340:43: note: format string is defined here
 2340 |   bt_dev_warn(hdev, "PPAG: ACPI Failure: %s", acpi_format_exception(status));
      |                                          ~^
      |                                           |
      |                                           char *
      |                                          %d
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:252: drivers/bluetooth/btintel.o] Error 1
make[2]: *** [scripts/Makefile.build:504: drivers/bluetooth] Error 2
make[1]: *** [scripts/Makefile.build:504: drivers] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:2021: .] Error 2
##############################
Test: CheckSparse - FAIL
Desc: Run sparse tool with linux kernel
Output:

net/bluetooth/af_bluetooth.c:178:25: warning: context imbalance in 'bt_accept_enqueue' - different lock contexts for basic block
drivers/bluetooth/hci_ag6xx.c:257:24: warning: restricted __le32 degrades to integer
drivers/bluetooth/hci_mrvl.c:168:23: warning: restricted __le16 degrades to integer
drivers/bluetooth/hci_mrvl.c:201:23: warning: restricted __le16 degrades to integer
net/bluetooth/hci_event.c: note: in included file (through include/net/bluetooth/hci_core.h):
./include/net/bluetooth/hci.h:2631:47: warning: array of flexible structures
./include/net/bluetooth/hci.h:2717:43: warning: array of flexible structures
drivers/bluetooth/btintel.c:1284:8: error: unknown type name ‘acpi_status’
 1284 | static acpi_status btintel_ppag_callback(acpi_handle handle, u32 lvl, void *data,
      |        ^~~~~~~~~~~
drivers/bluetooth/btintel.c:1284:42: error: unknown type name ‘acpi_handle’; did you mean ‘hci_handle’?
 1284 | static acpi_status btintel_ppag_callback(acpi_handle handle, u32 lvl, void *data,
      |                                          ^~~~~~~~~~~
      |                                          hci_handle
drivers/bluetooth/btintel.c: In function ‘btintel_set_ppag’:
drivers/bluetooth/btintel.c:2316:2: error: unknown type name ‘acpi_status’; did you mean ‘si_status’?
 2316 |  acpi_status status;
      |  ^~~~~~~~~~~
      |  si_status
drivers/bluetooth/btintel.c:2332:11: error: implicit declaration of function ‘acpi_walk_namespace’ [-Werror=implicit-function-declaration]
 2332 |  status = acpi_walk_namespace(ACPI_TYPE_ANY, ACPI_ROOT_OBJECT,
      |           ^~~~~~~~~~~~~~~~~~~
drivers/bluetooth/btintel.c:2332:31: error: ‘ACPI_TYPE_ANY’ undeclared (first use in this function)
 2332 |  status = acpi_walk_namespace(ACPI_TYPE_ANY, ACPI_ROOT_OBJECT,
      |                               ^~~~~~~~~~~~~
drivers/bluetooth/btintel.c:2332:31: note: each undeclared identifier is reported only once for each function it appears in
drivers/bluetooth/btintel.c:2332:46: error: ‘ACPI_ROOT_OBJECT’ undeclared (first use in this function)
 2332 |  status = acpi_walk_namespace(ACPI_TYPE_ANY, ACPI_ROOT_OBJECT,
      |                                              ^~~~~~~~~~~~~~~~
drivers/bluetooth/btintel.c:2333:10: error: ‘ACPI_UINT32_MAX’ undeclared (first use in this function)
 2333 |          ACPI_UINT32_MAX, NULL,
      |          ^~~~~~~~~~~~~~~
drivers/bluetooth/btintel.c:2334:10: error: ‘btintel_ppag_callback’ undeclared (first use in this function)
 2334 |          btintel_ppag_callback, &ppag, NULL);
      |          ^~~~~~~~~~~~~~~~~~~~~
drivers/bluetooth/btintel.c:2336:6: error: implicit declaration of function ‘ACPI_FAILURE’ [-Werror=implicit-function-declaration]
 2336 |  if (ACPI_FAILURE(status)) {
      |      ^~~~~~~~~~~~
drivers/bluetooth/btintel.c:2338:17: error: ‘AE_NOT_FOUND’ undeclared (first use in this function)
 2338 |   if (status == AE_NOT_FOUND)
      |                 ^~~~~~~~~~~~
In file included from drivers/bluetooth/btintel.c:14:
drivers/bluetooth/btintel.c:2340:47: error: implicit declaration of function ‘acpi_format_exception’ [-Werror=implicit-function-declaration]
 2340 |   bt_dev_warn(hdev, "PPAG: ACPI Failure: %s", acpi_format_exception(status));
      |                                               ^~~~~~~~~~~~~~~~~~~~~
./include/net/bluetooth/bluetooth.h:243:47: note: in definition of macro ‘BT_WARN’
  243 | #define BT_WARN(fmt, ...) bt_warn(fmt "\n", ##__VA_ARGS__)
      |                                               ^~~~~~~~~~~
drivers/bluetooth/btintel.c:2340:3: note: in expansion of macro ‘bt_dev_warn’
 2340 |   bt_dev_warn(hdev, "PPAG: ACPI Failure: %s", acpi_format_exception(status));
      |   ^~~~~~~~~~~
./include/net/bluetooth/bluetooth.h:257:10: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘int’ [-Wformat=]
  257 |  BT_WARN("%s: " fmt, bt_dev_name(hdev), ##__VA_ARGS__)
      |          ^~~~~~
./include/net/bluetooth/bluetooth.h:243:35: note: in definition of macro ‘BT_WARN’
  243 | #define BT_WARN(fmt, ...) bt_warn(fmt "\n", ##__VA_ARGS__)
      |                                   ^~~
drivers/bluetooth/btintel.c:2340:3: note: in expansion of macro ‘bt_dev_warn’
 2340 |   bt_dev_warn(hdev, "PPAG: ACPI Failure: %s", acpi_format_exception(status));
      |   ^~~~~~~~~~~
drivers/bluetooth/btintel.c:2340:43: note: format string is defined here
 2340 |   bt_dev_warn(hdev, "PPAG: ACPI Failure: %s", acpi_format_exception(status));
      |                                          ~^
      |                                           |
      |                                           char *
      |                                          %d
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:252: drivers/bluetooth/btintel.o] Error 1
make[2]: *** [scripts/Makefile.build:504: drivers/bluetooth] Error 2
make[1]: *** [scripts/Makefile.build:504: drivers] Error 2
make[1]: *** Waiting for unfinished jobs....
net/bluetooth/hci_codec.c: note: in included file:
./include/net/bluetooth/hci_core.h:148:35: warning: array of flexible structures
net/bluetooth/sco.c: note: in included file:
./include/net/bluetooth/hci_core.h:148:35: warning: array of flexible structures
make: *** [Makefile:2021: .] Error 2
##############################
Test: CheckSmatch - FAIL
Desc: Run smatch tool with source
Output:

net/bluetooth/hci_event.c: note: in included file (through include/net/bluetooth/hci_core.h):
./include/net/bluetooth/hci.h:2631:47: warning: array of flexible structures
./include/net/bluetooth/hci.h:2717:43: warning: array of flexible structures
drivers/bluetooth/btintel.c:1284:8: error: unknown type name ‘acpi_status’
 1284 | static acpi_status btintel_ppag_callback(acpi_handle handle, u32 lvl, void *data,
      |        ^~~~~~~~~~~
drivers/bluetooth/btintel.c:1284:42: error: unknown type name ‘acpi_handle’; did you mean ‘hci_handle’?
 1284 | static acpi_status btintel_ppag_callback(acpi_handle handle, u32 lvl, void *data,
      |                                          ^~~~~~~~~~~
      |                                          hci_handle
drivers/bluetooth/btintel.c: In function ‘btintel_set_ppag’:
drivers/bluetooth/btintel.c:2316:2: error: unknown type name ‘acpi_status’; did you mean ‘si_status’?
 2316 |  acpi_status status;
      |  ^~~~~~~~~~~
      |  si_status
drivers/bluetooth/btintel.c:2332:11: error: implicit declaration of function ‘acpi_walk_namespace’ [-Werror=implicit-function-declaration]
 2332 |  status = acpi_walk_namespace(ACPI_TYPE_ANY, ACPI_ROOT_OBJECT,
      |           ^~~~~~~~~~~~~~~~~~~
drivers/bluetooth/btintel.c:2332:31: error: ‘ACPI_TYPE_ANY’ undeclared (first use in this function)
 2332 |  status = acpi_walk_namespace(ACPI_TYPE_ANY, ACPI_ROOT_OBJECT,
      |                               ^~~~~~~~~~~~~
drivers/bluetooth/btintel.c:2332:31: note: each undeclared identifier is reported only once for each function it appears in
drivers/bluetooth/btintel.c:2332:46: error: ‘ACPI_ROOT_OBJECT’ undeclared (first use in this function)
 2332 |  status = acpi_walk_namespace(ACPI_TYPE_ANY, ACPI_ROOT_OBJECT,
      |                                              ^~~~~~~~~~~~~~~~
drivers/bluetooth/btintel.c:2333:10: error: ‘ACPI_UINT32_MAX’ undeclared (first use in this function)
 2333 |          ACPI_UINT32_MAX, NULL,
      |          ^~~~~~~~~~~~~~~
drivers/bluetooth/btintel.c:2334:10: error: ‘btintel_ppag_callback’ undeclared (first use in this function)
 2334 |          btintel_ppag_callback, &ppag, NULL);
      |          ^~~~~~~~~~~~~~~~~~~~~
drivers/bluetooth/btintel.c:2336:6: error: implicit declaration of function ‘ACPI_FAILURE’ [-Werror=implicit-function-declaration]
 2336 |  if (ACPI_FAILURE(status)) {
      |      ^~~~~~~~~~~~
drivers/bluetooth/btintel.c:2338:17: error: ‘AE_NOT_FOUND’ undeclared (first use in this function)
 2338 |   if (status == AE_NOT_FOUND)
      |                 ^~~~~~~~~~~~
In file included from drivers/bluetooth/btintel.c:14:
drivers/bluetooth/btintel.c:2340:47: error: implicit declaration of function ‘acpi_format_exception’ [-Werror=implicit-function-declaration]
 2340 |   bt_dev_warn(hdev, "PPAG: ACPI Failure: %s", acpi_format_exception(status));
      |                                               ^~~~~~~~~~~~~~~~~~~~~
./include/net/bluetooth/bluetooth.h:243:47: note: in definition of macro ‘BT_WARN’
  243 | #define BT_WARN(fmt, ...) bt_warn(fmt "\n", ##__VA_ARGS__)
      |                                               ^~~~~~~~~~~
drivers/bluetooth/btintel.c:2340:3: note: in expansion of macro ‘bt_dev_warn’
 2340 |   bt_dev_warn(hdev, "PPAG: ACPI Failure: %s", acpi_format_exception(status));
      |   ^~~~~~~~~~~
./include/net/bluetooth/bluetooth.h:257:10: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘int’ [-Wformat=]
  257 |  BT_WARN("%s: " fmt, bt_dev_name(hdev), ##__VA_ARGS__)
      |          ^~~~~~
./include/net/bluetooth/bluetooth.h:243:35: note: in definition of macro ‘BT_WARN’
  243 | #define BT_WARN(fmt, ...) bt_warn(fmt "\n", ##__VA_ARGS__)
      |                                   ^~~
drivers/bluetooth/btintel.c:2340:3: note: in expansion of macro ‘bt_dev_warn’
 2340 |   bt_dev_warn(hdev, "PPAG: ACPI Failure: %s", acpi_format_exception(status));
      |   ^~~~~~~~~~~
drivers/bluetooth/btintel.c:2340:43: note: format string is defined here
 2340 |   bt_dev_warn(hdev, "PPAG: ACPI Failure: %s", acpi_format_exception(status));
      |                                          ~^
      |                                           |
      |                                           char *
      |                                          %d
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:252: drivers/bluetooth/btintel.o] Error 1
make[2]: *** [scripts/Makefile.build:504: drivers/bluetooth] Error 2
make[1]: *** [scripts/Makefile.build:504: drivers] Error 2
make[1]: *** Waiting for unfinished jobs....
net/bluetooth/hci_codec.c: note: in included file:
./include/net/bluetooth/hci_core.h:148:35: warning: array of flexible structures
net/bluetooth/sco.c: note: in included file:
./include/net/bluetooth/hci_core.h:148:35: warning: array of flexible structures
make: *** [Makefile:2021: .] Error 2
##############################
Test: BuildKernel32 - FAIL
Desc: Build 32bit Kernel for Bluetooth
Output:

drivers/bluetooth/btintel.c:1284:8: error: unknown type name ‘acpi_status’
 1284 | static acpi_status btintel_ppag_callback(acpi_handle handle, u32 lvl, void *data,
      |        ^~~~~~~~~~~
drivers/bluetooth/btintel.c:1284:42: error: unknown type name ‘acpi_handle’; did you mean ‘hci_handle’?
 1284 | static acpi_status btintel_ppag_callback(acpi_handle handle, u32 lvl, void *data,
      |                                          ^~~~~~~~~~~
      |                                          hci_handle
drivers/bluetooth/btintel.c: In function ‘btintel_set_ppag’:
drivers/bluetooth/btintel.c:2316:2: error: unknown type name ‘acpi_status’; did you mean ‘si_status’?
 2316 |  acpi_status status;
      |  ^~~~~~~~~~~
      |  si_status
drivers/bluetooth/btintel.c:2332:11: error: implicit declaration of function ‘acpi_walk_namespace’ [-Werror=implicit-function-declaration]
 2332 |  status = acpi_walk_namespace(ACPI_TYPE_ANY, ACPI_ROOT_OBJECT,
      |           ^~~~~~~~~~~~~~~~~~~
drivers/bluetooth/btintel.c:2332:31: error: ‘ACPI_TYPE_ANY’ undeclared (first use in this function)
 2332 |  status = acpi_walk_namespace(ACPI_TYPE_ANY, ACPI_ROOT_OBJECT,
      |                               ^~~~~~~~~~~~~
drivers/bluetooth/btintel.c:2332:31: note: each undeclared identifier is reported only once for each function it appears in
drivers/bluetooth/btintel.c:2332:46: error: ‘ACPI_ROOT_OBJECT’ undeclared (first use in this function)
 2332 |  status = acpi_walk_namespace(ACPI_TYPE_ANY, ACPI_ROOT_OBJECT,
      |                                              ^~~~~~~~~~~~~~~~
drivers/bluetooth/btintel.c:2333:10: error: ‘ACPI_UINT32_MAX’ undeclared (first use in this function)
 2333 |          ACPI_UINT32_MAX, NULL,
      |          ^~~~~~~~~~~~~~~
drivers/bluetooth/btintel.c:2334:10: error: ‘btintel_ppag_callback’ undeclared (first use in this function)
 2334 |          btintel_ppag_callback, &ppag, NULL);
      |          ^~~~~~~~~~~~~~~~~~~~~
drivers/bluetooth/btintel.c:2336:6: error: implicit declaration of function ‘ACPI_FAILURE’ [-Werror=implicit-function-declaration]
 2336 |  if (ACPI_FAILURE(status)) {
      |      ^~~~~~~~~~~~
drivers/bluetooth/btintel.c:2338:17: error: ‘AE_NOT_FOUND’ undeclared (first use in this function)
 2338 |   if (status == AE_NOT_FOUND)
      |                 ^~~~~~~~~~~~
In file included from drivers/bluetooth/btintel.c:14:
drivers/bluetooth/btintel.c:2340:47: error: implicit declaration of function ‘acpi_format_exception’ [-Werror=implicit-function-declaration]
 2340 |   bt_dev_warn(hdev, "PPAG: ACPI Failure: %s", acpi_format_exception(status));
      |                                               ^~~~~~~~~~~~~~~~~~~~~
./include/net/bluetooth/bluetooth.h:243:47: note: in definition of macro ‘BT_WARN’
  243 | #define BT_WARN(fmt, ...) bt_warn(fmt "\n", ##__VA_ARGS__)
      |                                               ^~~~~~~~~~~
drivers/bluetooth/btintel.c:2340:3: note: in expansion of macro ‘bt_dev_warn’
 2340 |   bt_dev_warn(hdev, "PPAG: ACPI Failure: %s", acpi_format_exception(status));
      |   ^~~~~~~~~~~
./include/net/bluetooth/bluetooth.h:257:10: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘int’ [-Wformat=]
  257 |  BT_WARN("%s: " fmt, bt_dev_name(hdev), ##__VA_ARGS__)
      |          ^~~~~~
./include/net/bluetooth/bluetooth.h:243:35: note: in definition of macro ‘BT_WARN’
  243 | #define BT_WARN(fmt, ...) bt_warn(fmt "\n", ##__VA_ARGS__)
      |                                   ^~~
drivers/bluetooth/btintel.c:2340:3: note: in expansion of macro ‘bt_dev_warn’
 2340 |   bt_dev_warn(hdev, "PPAG: ACPI Failure: %s", acpi_format_exception(status));
      |   ^~~~~~~~~~~
drivers/bluetooth/btintel.c:2340:43: note: format string is defined here
 2340 |   bt_dev_warn(hdev, "PPAG: ACPI Failure: %s", acpi_format_exception(status));
      |                                          ~^
      |                                           |
      |                                           char *
      |                                          %d
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:252: drivers/bluetooth/btintel.o] Error 1
make[2]: *** [scripts/Makefile.build:504: drivers/bluetooth] Error 2
make[1]: *** [scripts/Makefile.build:504: drivers] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:2021: .] Error 2
##############################
Test: IncrementalBuild - FAIL
Desc: Incremental build with the patches in the series
Output:
[v2] Bluetooth: btintel: Set Per Platform Antenna Gain(PPAG)

drivers/bluetooth/btintel.c:1284:8: error: unknown type name ‘acpi_status’
 1284 | static acpi_status btintel_ppag_callback(acpi_handle handle, u32 lvl, void *data,
      |        ^~~~~~~~~~~
drivers/bluetooth/btintel.c:1284:42: error: unknown type name ‘acpi_handle’; did you mean ‘hci_handle’?
 1284 | static acpi_status btintel_ppag_callback(acpi_handle handle, u32 lvl, void *data,
      |                                          ^~~~~~~~~~~
      |                                          hci_handle
drivers/bluetooth/btintel.c: In function ‘btintel_set_ppag’:
drivers/bluetooth/btintel.c:2316:2: error: unknown type name ‘acpi_status’; did you mean ‘si_status’?
 2316 |  acpi_status status;
      |  ^~~~~~~~~~~
      |  si_status
drivers/bluetooth/btintel.c:2332:11: error: implicit declaration of function ‘acpi_walk_namespace’ [-Werror=implicit-function-declaration]
 2332 |  status = acpi_walk_namespace(ACPI_TYPE_ANY, ACPI_ROOT_OBJECT,
      |           ^~~~~~~~~~~~~~~~~~~
drivers/bluetooth/btintel.c:2332:31: error: ‘ACPI_TYPE_ANY’ undeclared (first use in this function)
 2332 |  status = acpi_walk_namespace(ACPI_TYPE_ANY, ACPI_ROOT_OBJECT,
      |                               ^~~~~~~~~~~~~
drivers/bluetooth/btintel.c:2332:31: note: each undeclared identifier is reported only once for each function it appears in
drivers/bluetooth/btintel.c:2332:46: error: ‘ACPI_ROOT_OBJECT’ undeclared (first use in this function)
 2332 |  status = acpi_walk_namespace(ACPI_TYPE_ANY, ACPI_ROOT_OBJECT,
      |                                              ^~~~~~~~~~~~~~~~
drivers/bluetooth/btintel.c:2333:10: error: ‘ACPI_UINT32_MAX’ undeclared (first use in this function)
 2333 |          ACPI_UINT32_MAX, NULL,
      |          ^~~~~~~~~~~~~~~
drivers/bluetooth/btintel.c:2334:10: error: ‘btintel_ppag_callback’ undeclared (first use in this function)
 2334 |          btintel_ppag_callback, &ppag, NULL);
      |          ^~~~~~~~~~~~~~~~~~~~~
drivers/bluetooth/btintel.c:2336:6: error: implicit declaration of function ‘ACPI_FAILURE’ [-Werror=implicit-function-declaration]
 2336 |  if (ACPI_FAILURE(status)) {
      |      ^~~~~~~~~~~~
drivers/bluetooth/btintel.c:2338:17: error: ‘AE_NOT_FOUND’ undeclared (first use in this function)
 2338 |   if (status == AE_NOT_FOUND)
      |                 ^~~~~~~~~~~~
In file included from drivers/bluetooth/btintel.c:14:
drivers/bluetooth/btintel.c:2340:47: error: implicit declaration of function ‘acpi_format_exception’ [-Werror=implicit-function-declaration]
 2340 |   bt_dev_warn(hdev, "PPAG: ACPI Failure: %s", acpi_format_exception(status));
      |                                               ^~~~~~~~~~~~~~~~~~~~~
./include/net/bluetooth/bluetooth.h:243:47: note: in definition of macro ‘BT_WARN’
  243 | #define BT_WARN(fmt, ...) bt_warn(fmt "\n", ##__VA_ARGS__)
      |                                               ^~~~~~~~~~~
drivers/bluetooth/btintel.c:2340:3: note: in expansion of macro ‘bt_dev_warn’
 2340 |   bt_dev_warn(hdev, "PPAG: ACPI Failure: %s", acpi_format_exception(status));
      |   ^~~~~~~~~~~
./include/net/bluetooth/bluetooth.h:257:10: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘int’ [-Wformat=]
  257 |  BT_WARN("%s: " fmt, bt_dev_name(hdev), ##__VA_ARGS__)
      |          ^~~~~~
./include/net/bluetooth/bluetooth.h:243:35: note: in definition of macro ‘BT_WARN’
  243 | #define BT_WARN(fmt, ...) bt_warn(fmt "\n", ##__VA_ARGS__)
      |                                   ^~~
drivers/bluetooth/btintel.c:2340:3: note: in expansion of macro ‘bt_dev_warn’
 2340 |   bt_dev_warn(hdev, "PPAG: ACPI Failure: %s", acpi_format_exception(status));
      |   ^~~~~~~~~~~
drivers/bluetooth/btintel.c:2340:43: note: format string is defined here
 2340 |   bt_dev_warn(hdev, "PPAG: ACPI Failure: %s", acpi_format_exception(status));
      |                                          ~^
      |                                           |
      |                                           char *
      |                                          %d
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:252: drivers/bluetooth/btintel.o] Error 1
make[2]: *** [scripts/Makefile.build:504: drivers/bluetooth] Error 2
make[1]: *** [scripts/Makefile.build:504: drivers] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:2021: .] Error 2


---
Regards,
Linux Bluetooth


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux