Message ID | 20231129163041.2075184-1-luiz.dentz@gmail.com |
---|---|
State | New |
Headers | show |
Series | [BlueZ,v1,1/2] test-micp: Fix endianess error | expand |
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=805347 ---Test result--- Test Summary: CheckPatch FAIL 1.04 seconds GitLint PASS 0.57 seconds BuildEll PASS 24.38 seconds BluezMake PASS 558.67 seconds MakeCheck PASS 10.92 seconds MakeDistcheck PASS 151.97 seconds CheckValgrind PASS 212.07 seconds CheckSmatch PASS 319.44 seconds bluezmakeextell PASS 97.57 seconds IncrementalBuild PASS 1026.37 seconds ScanBuild PASS 925.83 seconds Details ############################## Test: CheckPatch - FAIL Desc: Run checkpatch.pl script Output: [BlueZ,v1,1/2] test-micp: Fix endianess error WARNING:TYPO_SPELLING: 'endianess' may be misspelled - perhaps 'endianness'? #57: Subject: [PATCH BlueZ v1 1/2] test-micp: Fix endianess error ^^^^^^^^^ /github/workspace/src/src/13473187.patch total: 0 errors, 1 warnings, 8 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/13473187.patch has style problems, please review. NOTE: Ignored message types: COMMIT_MESSAGE COMPLEX_MACRO CONST_STRUCT FILE_PATH_CHANGES MISSING_SIGN_OFF PREFER_PACKED SPDX_LICENSE_TAG SPLIT_STRING SSCANF_TO_KSTRTO NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. [BlueZ,v1,2/2] shared/vcp: Fix endianess errors WARNING:TYPO_SPELLING: 'endianess' may be misspelled - perhaps 'endianness'? #59: Subject: [PATCH BlueZ v1 2/2] shared/vcp: Fix endianess errors ^^^^^^^^^ /github/workspace/src/src/13473188.patch total: 0 errors, 1 warnings, 68 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/13473188.patch has style problems, please review. NOTE: Ignored message types: COMMIT_MESSAGE COMPLEX_MACRO CONST_STRUCT FILE_PATH_CHANGES MISSING_SIGN_OFF PREFER_PACKED SPDX_LICENSE_TAG SPLIT_STRING SSCANF_TO_KSTRTO NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. --- Regards, Linux Bluetooth
Hello: This series was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>: On Wed, 29 Nov 2023 11:30:39 -0500 you wrote: > From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> > > On big endian the followin error can be observed: > > MICP/CL/CGGIT/SER/BV-01-C - init > MICP/CL/CGGIT/SER/BV-01-C - setup > MICP/CL/CGGIT/SER/BV-01-C - setup complete > MICP/CL/CGGIT/SER/BV-01-C - run > micp_write_value handle: 3 > ** > ERROR:src/shared/tester.c:954:test_io_recv: assertion failed: > (memcmp(buf, iov->iov_base, len) == 0) > Bail out! ERROR:src/shared/tester.c:954:test_io_recv: assertion failed: > (memcmp(buf, iov->iov_base, len) == 0) > Aborted > > [...] Here is the summary with links: - [BlueZ,v1,1/2] test-micp: Fix endianess error https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=3a2d3b31a3b5 - [BlueZ,v1,2/2] shared/vcp: Fix endianess errors https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=4db4d5fa1c4f You are awesome, thank you!
diff --git a/unit/test-micp.c b/unit/test-micp.c index e2975c298ec5..a7fc7fb321bd 100644 --- a/unit/test-micp.c +++ b/unit/test-micp.c @@ -147,7 +147,7 @@ static void micp_write_value(struct bt_micp *micp, void *user_data) struct bt_mics *mics = micp_get_mics(micp); uint16_t value_handle; int ret; - const uint16_t value = 0x0001; + uint16_t value = cpu_to_le16(0x0001); gatt_db_attribute_get_char_data(mics->ms, NULL, &value_handle, NULL, NULL, NULL);
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> On big endian the followin error can be observed: MICP/CL/CGGIT/SER/BV-01-C - init MICP/CL/CGGIT/SER/BV-01-C - setup MICP/CL/CGGIT/SER/BV-01-C - setup complete MICP/CL/CGGIT/SER/BV-01-C - run micp_write_value handle: 3 ** ERROR:src/shared/tester.c:954:test_io_recv: assertion failed: (memcmp(buf, iov->iov_base, len) == 0) Bail out! ERROR:src/shared/tester.c:954:test_io_recv: assertion failed: (memcmp(buf, iov->iov_base, len) == 0) Aborted --- unit/test-micp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)