Message ID | 20240707112452.3522-1-gudni.m.g@gmail.com |
---|---|
State | New |
Headers | show |
Series | [BlueZ] client/player: fix incompatible pointer type | 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=869066 ---Test result--- Test Summary: CheckPatch FAIL 0.62 seconds GitLint PASS 0.31 seconds BuildEll PASS 26.95 seconds BluezMake PASS 1665.88 seconds MakeCheck PASS 13.34 seconds MakeDistcheck PASS 177.89 seconds CheckValgrind PASS 254.56 seconds CheckSmatch PASS 355.71 seconds bluezmakeextell PASS 121.30 seconds IncrementalBuild PASS 1401.95 seconds ScanBuild PASS 982.52 seconds Details ############################## Test: CheckPatch - FAIL Desc: Run checkpatch.pl script Output: [BlueZ] client/player: fix incompatible pointer type WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line) #103: To resolve the compiler warnings, cast the pointer with (struct sockaddr *). WARNING:LONG_LINE: line length of 92 exceeds 80 columns #117: FILE: client/player.c:5150: + err = getpeername(transport->sk, (struct sockaddr *)&addr, &optlen); /github/workspace/src/src/13725999.patch total: 0 errors, 2 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/13725999.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
diff --git a/client/player.c b/client/player.c index 0d031e4b0..c394c7921 100644 --- a/client/player.c +++ b/client/player.c @@ -5147,7 +5147,7 @@ static void cmd_send_transport(int argc, char *argv[]) struct sockaddr_iso addr; socklen_t optlen = sizeof(addr); - err = getpeername(transport->sk, &addr, &optlen); + err = getpeername(transport->sk, (struct sockaddr *)&addr, &optlen); if (!err) { if (!(bacmp(&addr.iso_bdaddr, BDADDR_ANY))) err = transport_send(transport, fd,