All of lore.kernel.org
 help / color / mirror / Atom feed
From: bluez.test.bot@gmail.com
To: linux-bluetooth@vger.kernel.org, mcchou@chromium.org
Subject: RE: Detailed error string
Date: Tue, 21 Sep 2021 10:13:08 -0700 (PDT)	[thread overview]
Message-ID: <614a12a4.1c69fb81.76a64.40f9@mx.google.com> (raw)
In-Reply-To: <20210921094400.BlueZ.v6.1.Ide6362da19898d001b053656ee8bf76e183633d8@changeid>

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

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=550479

---Test result---

Test Summary:
CheckPatch                    FAIL      20.88 seconds
GitLint                       FAIL      19.06 seconds
Prep - Setup ELL              PASS      42.27 seconds
Build - Prep                  PASS      0.47 seconds
Build - Configure             PASS      7.67 seconds
Build - Make                  FAIL      155.47 seconds
Make Check                    FAIL      0.88 seconds
Make Distcheck                FAIL      143.37 seconds
Build w/ext ELL - Configure   PASS      7.66 seconds
Build w/ext ELL - Make        FAIL      144.25 seconds

Details
##############################
Test: CheckPatch - FAIL
Desc: Run checkpatch.pl script with rule in .checkpatch.conf
Output:
[BlueZ,v6,2/4] error: BR/EDR and LE connection failure reasons
ERROR:POINTER_LOCATION: "foo* bar" should be "foo *bar"
#175: FILE: src/error.c:137:
+const char* btd_error_bredr_conn_from_errno(int errno_code)

ERROR:POINTER_LOCATION: "foo* bar" should be "foo *bar"
#217: FILE: src/error.c:179:
+const char* btd_error_le_conn_from_errno(int errno_code)

ERROR:POINTER_LOCATION: "foo* bar" should be "foo *bar"
#335: FILE: src/error.h:88:
+const char* btd_error_bredr_conn_from_errno(int errno_code);

ERROR:POINTER_LOCATION: "foo* bar" should be "foo *bar"
#336: FILE: src/error.h:89:
+const char* btd_error_le_conn_from_errno(int errno_code);

/github/workspace/src/12508365.patch total: 4 errors, 0 warnings, 203 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/12508365.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.


##############################
Test: GitLint - FAIL
Desc: Run gitlint with rule in .gitlint
Output:
[BlueZ,v6,1/4] doc: Add errors.txt to describe errors of D-Bus method returns
1: T8 Title is too short (3<5): "---"

[BlueZ,v6,2/4] error: BR/EDR and LE connection failure reasons
2: B4 Second line is not empty: "three."

[BlueZ,v6,3/4] device: Include detailed error string in Connect() return
2: B4 Second line is not empty: "string to better indicate the detailed failure reason so that the D-Bus"

[BlueZ,v6,4/4] client: Print error code for connect methods
1: T3 Title has trailing punctuation (.): "The following steps were performed."
2: B4 Second line is not empty: "- Issuing repeated commands to connect the same BLE device."


##############################
Test: Build - Make - FAIL
Desc: Build the BlueZ source tree
Output:
src/error.c: In function ‘btd_error_bredr_conn_from_errno’:
src/error.c:140:7: error: ‘EALREADY’ undeclared (first use in this function)
  140 |  case EALREADY:
      |       ^~~~~~~~
src/error.c:140:7: note: each undeclared identifier is reported only once for each function it appears in
src/error.c:141:7: error: ‘EISCONN’ undeclared (first use in this function)
  141 |  case EISCONN:
      |       ^~~~~~~
src/error.c:143:7: error: ‘EHOSTDOWN’ undeclared (first use in this function)
  143 |  case EHOSTDOWN:
      |       ^~~~~~~~~
src/error.c:145:7: error: ‘ENOPROTOOPT’ undeclared (first use in this function)
  145 |  case ENOPROTOOPT:
      |       ^~~~~~~~~~~
src/error.c:147:7: error: ‘EIO’ undeclared (first use in this function)
  147 |  case EIO:
      |       ^~~
src/error.c:149:7: error: ‘EINVAL’ undeclared (first use in this function)
  149 |  case EINVAL:
      |       ^~~~~~
src/error.c:151:7: error: ‘EHOSTUNREACH’ undeclared (first use in this function)
  151 |  case EHOSTUNREACH:
      |       ^~~~~~~~~~~~
src/error.c:153:7: error: ‘EOPNOTSUPP’ undeclared (first use in this function)
  153 |  case EOPNOTSUPP:
      |       ^~~~~~~~~~
src/error.c:154:7: error: ‘EPROTONOSUPPORT’ undeclared (first use in this function)
  154 |  case EPROTONOSUPPORT:
      |       ^~~~~~~~~~~~~~~
src/error.c:156:7: error: ‘EBADFD’ undeclared (first use in this function)
  156 |  case EBADFD:
      |       ^~~~~~
src/error.c:158:7: error: ‘ENOMEM’ undeclared (first use in this function)
  158 |  case ENOMEM:
      |       ^~~~~~
src/error.c:160:7: error: ‘EBUSY’ undeclared (first use in this function)
  160 |  case EBUSY:
      |       ^~~~~
src/error.c:162:7: error: ‘EMLINK’ undeclared (first use in this function)
  162 |  case EMLINK:
      |       ^~~~~~
src/error.c:164:7: error: ‘ETIMEDOUT’ undeclared (first use in this function)
  164 |  case ETIMEDOUT:
      |       ^~~~~~~~~
src/error.c:166:7: error: ‘ECONNREFUSED’ undeclared (first use in this function); did you mean ‘ERR_LE_CONN_REFUSED’?
  166 |  case ECONNREFUSED:
      |       ^~~~~~~~~~~~
      |       ERR_LE_CONN_REFUSED
src/error.c:168:7: error: ‘ECONNRESET’ undeclared (first use in this function)
  168 |  case ECONNRESET:
      |       ^~~~~~~~~~
src/error.c:170:7: error: ‘ECONNABORTED’ undeclared (first use in this function)
  170 |  case ECONNABORTED:
      |       ^~~~~~~~~~~~
src/error.c:172:7: error: ‘EPROTO’ undeclared (first use in this function)
  172 |  case EPROTO:
      |       ^~~~~~
src/error.c: In function ‘btd_error_le_conn_from_errno’:
src/error.c:182:7: error: ‘EINVAL’ undeclared (first use in this function)
  182 |  case EINVAL:
      |       ^~~~~~
src/error.c:184:7: error: ‘EHOSTUNREACH’ undeclared (first use in this function)
  184 |  case EHOSTUNREACH:
      |       ^~~~~~~~~~~~
src/error.c:186:7: error: ‘EOPNOTSUPP’ undeclared (first use in this function)
  186 |  case EOPNOTSUPP:
      |       ^~~~~~~~~~
src/error.c:187:7: error: ‘EPROTONOSUPPORT’ undeclared (first use in this function)
  187 |  case EPROTONOSUPPORT:
      |       ^~~~~~~~~~~~~~~
src/error.c:189:7: error: ‘EALREADY’ undeclared (first use in this function)
  189 |  case EALREADY:
      |       ^~~~~~~~
src/error.c:190:7: error: ‘EISCONN’ undeclared (first use in this function)
  190 |  case EISCONN:
      |       ^~~~~~~
src/error.c:192:7: error: ‘EBADFD’ undeclared (first use in this function)
  192 |  case EBADFD:
      |       ^~~~~~
src/error.c:194:7: error: ‘ENOMEM’ undeclared (first use in this function)
  194 |  case ENOMEM:
      |       ^~~~~~
src/error.c:196:7: error: ‘EBUSY’ undeclared (first use in this function)
  196 |  case EBUSY:
      |       ^~~~~
src/error.c:198:7: error: ‘ECONNREFUSED’ undeclared (first use in this function); did you mean ‘ERR_LE_CONN_REFUSED’?
  198 |  case ECONNREFUSED:
      |       ^~~~~~~~~~~~
      |       ERR_LE_CONN_REFUSED
src/error.c:200:7: error: ‘EIO’ undeclared (first use in this function)
  200 |  case EIO:
      |       ^~~
src/error.c:202:7: error: ‘ETIMEDOUT’ undeclared (first use in this function)
  202 |  case ETIMEDOUT:
      |       ^~~~~~~~~
src/error.c:204:7: error: ‘EMLINK’ undeclared (first use in this function)
  204 |  case EMLINK:
      |       ^~~~~~
src/error.c:206:7: error: ‘ECONNRESET’ undeclared (first use in this function)
  206 |  case ECONNRESET:
      |       ^~~~~~~~~~
src/error.c:208:7: error: ‘ECONNABORTED’ undeclared (first use in this function)
  208 |  case ECONNABORTED:
      |       ^~~~~~~~~~~~
src/error.c:210:7: error: ‘EPROTO’ undeclared (first use in this function)
  210 |  case EPROTO:
      |       ^~~~~~
make[1]: *** [Makefile:9338: src/bluetoothd-error.o] Error 1
make: *** [Makefile:4151: all] Error 2


##############################
Test: Make Check - FAIL
Desc: Run 'make check'
Output:
src/error.c: In function ‘btd_error_bredr_conn_from_errno’:
src/error.c:140:7: error: ‘EALREADY’ undeclared (first use in this function)
  140 |  case EALREADY:
      |       ^~~~~~~~
src/error.c:140:7: note: each undeclared identifier is reported only once for each function it appears in
src/error.c:141:7: error: ‘EISCONN’ undeclared (first use in this function)
  141 |  case EISCONN:
      |       ^~~~~~~
src/error.c:143:7: error: ‘EHOSTDOWN’ undeclared (first use in this function)
  143 |  case EHOSTDOWN:
      |       ^~~~~~~~~
src/error.c:145:7: error: ‘ENOPROTOOPT’ undeclared (first use in this function)
  145 |  case ENOPROTOOPT:
      |       ^~~~~~~~~~~
src/error.c:147:7: error: ‘EIO’ undeclared (first use in this function)
  147 |  case EIO:
      |       ^~~
src/error.c:149:7: error: ‘EINVAL’ undeclared (first use in this function)
  149 |  case EINVAL:
      |       ^~~~~~
src/error.c:151:7: error: ‘EHOSTUNREACH’ undeclared (first use in this function)
  151 |  case EHOSTUNREACH:
      |       ^~~~~~~~~~~~
src/error.c:153:7: error: ‘EOPNOTSUPP’ undeclared (first use in this function)
  153 |  case EOPNOTSUPP:
      |       ^~~~~~~~~~
src/error.c:154:7: error: ‘EPROTONOSUPPORT’ undeclared (first use in this function)
  154 |  case EPROTONOSUPPORT:
      |       ^~~~~~~~~~~~~~~
src/error.c:156:7: error: ‘EBADFD’ undeclared (first use in this function)
  156 |  case EBADFD:
      |       ^~~~~~
src/error.c:158:7: error: ‘ENOMEM’ undeclared (first use in this function)
  158 |  case ENOMEM:
      |       ^~~~~~
src/error.c:160:7: error: ‘EBUSY’ undeclared (first use in this function)
  160 |  case EBUSY:
      |       ^~~~~
src/error.c:162:7: error: ‘EMLINK’ undeclared (first use in this function)
  162 |  case EMLINK:
      |       ^~~~~~
src/error.c:164:7: error: ‘ETIMEDOUT’ undeclared (first use in this function)
  164 |  case ETIMEDOUT:
      |       ^~~~~~~~~
src/error.c:166:7: error: ‘ECONNREFUSED’ undeclared (first use in this function); did you mean ‘ERR_LE_CONN_REFUSED’?
  166 |  case ECONNREFUSED:
      |       ^~~~~~~~~~~~
      |       ERR_LE_CONN_REFUSED
src/error.c:168:7: error: ‘ECONNRESET’ undeclared (first use in this function)
  168 |  case ECONNRESET:
      |       ^~~~~~~~~~
src/error.c:170:7: error: ‘ECONNABORTED’ undeclared (first use in this function)
  170 |  case ECONNABORTED:
      |       ^~~~~~~~~~~~
src/error.c:172:7: error: ‘EPROTO’ undeclared (first use in this function)
  172 |  case EPROTO:
      |       ^~~~~~
src/error.c: In function ‘btd_error_le_conn_from_errno’:
src/error.c:182:7: error: ‘EINVAL’ undeclared (first use in this function)
  182 |  case EINVAL:
      |       ^~~~~~
src/error.c:184:7: error: ‘EHOSTUNREACH’ undeclared (first use in this function)
  184 |  case EHOSTUNREACH:
      |       ^~~~~~~~~~~~
src/error.c:186:7: error: ‘EOPNOTSUPP’ undeclared (first use in this function)
  186 |  case EOPNOTSUPP:
      |       ^~~~~~~~~~
src/error.c:187:7: error: ‘EPROTONOSUPPORT’ undeclared (first use in this function)
  187 |  case EPROTONOSUPPORT:
      |       ^~~~~~~~~~~~~~~
src/error.c:189:7: error: ‘EALREADY’ undeclared (first use in this function)
  189 |  case EALREADY:
      |       ^~~~~~~~
src/error.c:190:7: error: ‘EISCONN’ undeclared (first use in this function)
  190 |  case EISCONN:
      |       ^~~~~~~
src/error.c:192:7: error: ‘EBADFD’ undeclared (first use in this function)
  192 |  case EBADFD:
      |       ^~~~~~
src/error.c:194:7: error: ‘ENOMEM’ undeclared (first use in this function)
  194 |  case ENOMEM:
      |       ^~~~~~
src/error.c:196:7: error: ‘EBUSY’ undeclared (first use in this function)
  196 |  case EBUSY:
      |       ^~~~~
src/error.c:198:7: error: ‘ECONNREFUSED’ undeclared (first use in this function); did you mean ‘ERR_LE_CONN_REFUSED’?
  198 |  case ECONNREFUSED:
      |       ^~~~~~~~~~~~
      |       ERR_LE_CONN_REFUSED
src/error.c:200:7: error: ‘EIO’ undeclared (first use in this function)
  200 |  case EIO:
      |       ^~~
src/error.c:202:7: error: ‘ETIMEDOUT’ undeclared (first use in this function)
  202 |  case ETIMEDOUT:
      |       ^~~~~~~~~
src/error.c:204:7: error: ‘EMLINK’ undeclared (first use in this function)
  204 |  case EMLINK:
      |       ^~~~~~
src/error.c:206:7: error: ‘ECONNRESET’ undeclared (first use in this function)
  206 |  case ECONNRESET:
      |       ^~~~~~~~~~
src/error.c:208:7: error: ‘ECONNABORTED’ undeclared (first use in this function)
  208 |  case ECONNABORTED:
      |       ^~~~~~~~~~~~
src/error.c:210:7: error: ‘EPROTO’ undeclared (first use in this function)
  210 |  case EPROTO:
      |       ^~~~~~
make[1]: *** [Makefile:9338: src/bluetoothd-error.o] Error 1
make: *** [Makefile:10443: check] Error 2


##############################
Test: Make Distcheck - FAIL
Desc: Run distcheck to check the distribution
Output:
../../src/error.c: In function ‘btd_error_bredr_conn_from_errno’:
../../src/error.c:140:7: error: ‘EALREADY’ undeclared (first use in this function)
  140 |  case EALREADY:
      |       ^~~~~~~~
../../src/error.c:140:7: note: each undeclared identifier is reported only once for each function it appears in
../../src/error.c:141:7: error: ‘EISCONN’ undeclared (first use in this function)
  141 |  case EISCONN:
      |       ^~~~~~~
../../src/error.c:143:7: error: ‘EHOSTDOWN’ undeclared (first use in this function)
  143 |  case EHOSTDOWN:
      |       ^~~~~~~~~
../../src/error.c:145:7: error: ‘ENOPROTOOPT’ undeclared (first use in this function)
  145 |  case ENOPROTOOPT:
      |       ^~~~~~~~~~~
../../src/error.c:147:7: error: ‘EIO’ undeclared (first use in this function)
  147 |  case EIO:
      |       ^~~
../../src/error.c:149:7: error: ‘EINVAL’ undeclared (first use in this function)
  149 |  case EINVAL:
      |       ^~~~~~
../../src/error.c:151:7: error: ‘EHOSTUNREACH’ undeclared (first use in this function)
  151 |  case EHOSTUNREACH:
      |       ^~~~~~~~~~~~
../../src/error.c:153:7: error: ‘EOPNOTSUPP’ undeclared (first use in this function)
  153 |  case EOPNOTSUPP:
      |       ^~~~~~~~~~
../../src/error.c:154:7: error: ‘EPROTONOSUPPORT’ undeclared (first use in this function)
  154 |  case EPROTONOSUPPORT:
      |       ^~~~~~~~~~~~~~~
../../src/error.c:156:7: error: ‘EBADFD’ undeclared (first use in this function)
  156 |  case EBADFD:
      |       ^~~~~~
../../src/error.c:158:7: error: ‘ENOMEM’ undeclared (first use in this function)
  158 |  case ENOMEM:
      |       ^~~~~~
../../src/error.c:160:7: error: ‘EBUSY’ undeclared (first use in this function)
  160 |  case EBUSY:
      |       ^~~~~
../../src/error.c:162:7: error: ‘EMLINK’ undeclared (first use in this function)
  162 |  case EMLINK:
      |       ^~~~~~
../../src/error.c:164:7: error: ‘ETIMEDOUT’ undeclared (first use in this function)
  164 |  case ETIMEDOUT:
      |       ^~~~~~~~~
../../src/error.c:166:7: error: ‘ECONNREFUSED’ undeclared (first use in this function)
  166 |  case ECONNREFUSED:
      |       ^~~~~~~~~~~~
../../src/error.c:168:7: error: ‘ECONNRESET’ undeclared (first use in this function)
  168 |  case ECONNRESET:
      |       ^~~~~~~~~~
../../src/error.c:170:7: error: ‘ECONNABORTED’ undeclared (first use in this function)
  170 |  case ECONNABORTED:
      |       ^~~~~~~~~~~~
../../src/error.c:172:7: error: ‘EPROTO’ undeclared (first use in this function)
  172 |  case EPROTO:
      |       ^~~~~~
../../src/error.c: In function ‘btd_error_le_conn_from_errno’:
../../src/error.c:182:7: error: ‘EINVAL’ undeclared (first use in this function)
  182 |  case EINVAL:
      |       ^~~~~~
../../src/error.c:184:7: error: ‘EHOSTUNREACH’ undeclared (first use in this function)
  184 |  case EHOSTUNREACH:
      |       ^~~~~~~~~~~~
../../src/error.c:186:7: error: ‘EOPNOTSUPP’ undeclared (first use in this function)
  186 |  case EOPNOTSUPP:
      |       ^~~~~~~~~~
../../src/error.c:187:7: error: ‘EPROTONOSUPPORT’ undeclared (first use in this function)
  187 |  case EPROTONOSUPPORT:
      |       ^~~~~~~~~~~~~~~
../../src/error.c:189:7: error: ‘EALREADY’ undeclared (first use in this function)
  189 |  case EALREADY:
      |       ^~~~~~~~
../../src/error.c:190:7: error: ‘EISCONN’ undeclared (first use in this function)
  190 |  case EISCONN:
      |       ^~~~~~~
../../src/error.c:192:7: error: ‘EBADFD’ undeclared (first use in this function)
  192 |  case EBADFD:
      |       ^~~~~~
../../src/error.c:194:7: error: ‘ENOMEM’ undeclared (first use in this function)
  194 |  case ENOMEM:
      |       ^~~~~~
../../src/error.c:196:7: error: ‘EBUSY’ undeclared (first use in this function)
  196 |  case EBUSY:
      |       ^~~~~
../../src/error.c:198:7: error: ‘ECONNREFUSED’ undeclared (first use in this function)
  198 |  case ECONNREFUSED:
      |       ^~~~~~~~~~~~
../../src/error.c:200:7: error: ‘EIO’ undeclared (first use in this function)
  200 |  case EIO:
      |       ^~~
../../src/error.c:202:7: error: ‘ETIMEDOUT’ undeclared (first use in this function)
  202 |  case ETIMEDOUT:
      |       ^~~~~~~~~
../../src/error.c:204:7: error: ‘EMLINK’ undeclared (first use in this function)
  204 |  case EMLINK:
      |       ^~~~~~
../../src/error.c:206:7: error: ‘ECONNRESET’ undeclared (first use in this function)
  206 |  case ECONNRESET:
      |       ^~~~~~~~~~
../../src/error.c:208:7: error: ‘ECONNABORTED’ undeclared (first use in this function)
  208 |  case ECONNABORTED:
      |       ^~~~~~~~~~~~
../../src/error.c:210:7: error: ‘EPROTO’ undeclared (first use in this function)
  210 |  case EPROTO:
      |       ^~~~~~
make[2]: *** [Makefile:9338: src/bluetoothd-error.o] Error 1
make[1]: *** [Makefile:4151: all] Error 2
make: *** [Makefile:10364: distcheck] Error 1


##############################
Test: Build w/ext ELL - Make - FAIL
Desc: Build BlueZ source with '--enable-external-ell' configuration
Output:
src/error.c: In function ‘btd_error_bredr_conn_from_errno’:
src/error.c:140:7: error: ‘EALREADY’ undeclared (first use in this function)
  140 |  case EALREADY:
      |       ^~~~~~~~
src/error.c:140:7: note: each undeclared identifier is reported only once for each function it appears in
src/error.c:141:7: error: ‘EISCONN’ undeclared (first use in this function)
  141 |  case EISCONN:
      |       ^~~~~~~
src/error.c:143:7: error: ‘EHOSTDOWN’ undeclared (first use in this function)
  143 |  case EHOSTDOWN:
      |       ^~~~~~~~~
src/error.c:145:7: error: ‘ENOPROTOOPT’ undeclared (first use in this function)
  145 |  case ENOPROTOOPT:
      |       ^~~~~~~~~~~
src/error.c:147:7: error: ‘EIO’ undeclared (first use in this function)
  147 |  case EIO:
      |       ^~~
src/error.c:149:7: error: ‘EINVAL’ undeclared (first use in this function)
  149 |  case EINVAL:
      |       ^~~~~~
src/error.c:151:7: error: ‘EHOSTUNREACH’ undeclared (first use in this function)
  151 |  case EHOSTUNREACH:
      |       ^~~~~~~~~~~~
src/error.c:153:7: error: ‘EOPNOTSUPP’ undeclared (first use in this function)
  153 |  case EOPNOTSUPP:
      |       ^~~~~~~~~~
src/error.c:154:7: error: ‘EPROTONOSUPPORT’ undeclared (first use in this function)
  154 |  case EPROTONOSUPPORT:
      |       ^~~~~~~~~~~~~~~
src/error.c:156:7: error: ‘EBADFD’ undeclared (first use in this function)
  156 |  case EBADFD:
      |       ^~~~~~
src/error.c:158:7: error: ‘ENOMEM’ undeclared (first use in this function)
  158 |  case ENOMEM:
      |       ^~~~~~
src/error.c:160:7: error: ‘EBUSY’ undeclared (first use in this function)
  160 |  case EBUSY:
      |       ^~~~~
src/error.c:162:7: error: ‘EMLINK’ undeclared (first use in this function)
  162 |  case EMLINK:
      |       ^~~~~~
src/error.c:164:7: error: ‘ETIMEDOUT’ undeclared (first use in this function)
  164 |  case ETIMEDOUT:
      |       ^~~~~~~~~
src/error.c:166:7: error: ‘ECONNREFUSED’ undeclared (first use in this function); did you mean ‘ERR_LE_CONN_REFUSED’?
  166 |  case ECONNREFUSED:
      |       ^~~~~~~~~~~~
      |       ERR_LE_CONN_REFUSED
src/error.c:168:7: error: ‘ECONNRESET’ undeclared (first use in this function)
  168 |  case ECONNRESET:
      |       ^~~~~~~~~~
src/error.c:170:7: error: ‘ECONNABORTED’ undeclared (first use in this function)
  170 |  case ECONNABORTED:
      |       ^~~~~~~~~~~~
src/error.c:172:7: error: ‘EPROTO’ undeclared (first use in this function)
  172 |  case EPROTO:
      |       ^~~~~~
src/error.c: In function ‘btd_error_le_conn_from_errno’:
src/error.c:182:7: error: ‘EINVAL’ undeclared (first use in this function)
  182 |  case EINVAL:
      |       ^~~~~~
src/error.c:184:7: error: ‘EHOSTUNREACH’ undeclared (first use in this function)
  184 |  case EHOSTUNREACH:
      |       ^~~~~~~~~~~~
src/error.c:186:7: error: ‘EOPNOTSUPP’ undeclared (first use in this function)
  186 |  case EOPNOTSUPP:
      |       ^~~~~~~~~~
src/error.c:187:7: error: ‘EPROTONOSUPPORT’ undeclared (first use in this function)
  187 |  case EPROTONOSUPPORT:
      |       ^~~~~~~~~~~~~~~
src/error.c:189:7: error: ‘EALREADY’ undeclared (first use in this function)
  189 |  case EALREADY:
      |       ^~~~~~~~
src/error.c:190:7: error: ‘EISCONN’ undeclared (first use in this function)
  190 |  case EISCONN:
      |       ^~~~~~~
src/error.c:192:7: error: ‘EBADFD’ undeclared (first use in this function)
  192 |  case EBADFD:
      |       ^~~~~~
src/error.c:194:7: error: ‘ENOMEM’ undeclared (first use in this function)
  194 |  case ENOMEM:
      |       ^~~~~~
src/error.c:196:7: error: ‘EBUSY’ undeclared (first use in this function)
  196 |  case EBUSY:
      |       ^~~~~
src/error.c:198:7: error: ‘ECONNREFUSED’ undeclared (first use in this function); did you mean ‘ERR_LE_CONN_REFUSED’?
  198 |  case ECONNREFUSED:
      |       ^~~~~~~~~~~~
      |       ERR_LE_CONN_REFUSED
src/error.c:200:7: error: ‘EIO’ undeclared (first use in this function)
  200 |  case EIO:
      |       ^~~
src/error.c:202:7: error: ‘ETIMEDOUT’ undeclared (first use in this function)
  202 |  case ETIMEDOUT:
      |       ^~~~~~~~~
src/error.c:204:7: error: ‘EMLINK’ undeclared (first use in this function)
  204 |  case EMLINK:
      |       ^~~~~~
src/error.c:206:7: error: ‘ECONNRESET’ undeclared (first use in this function)
  206 |  case ECONNRESET:
      |       ^~~~~~~~~~
src/error.c:208:7: error: ‘ECONNABORTED’ undeclared (first use in this function)
  208 |  case ECONNABORTED:
      |       ^~~~~~~~~~~~
src/error.c:210:7: error: ‘EPROTO’ undeclared (first use in this function)
  210 |  case EPROTO:
      |       ^~~~~~
make[1]: *** [Makefile:9338: src/bluetoothd-error.o] Error 1
make: *** [Makefile:4151: all] Error 2




---
Regards,
Linux Bluetooth


  reply	other threads:[~2021-09-21 17:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-21 16:47 [BlueZ PATCH v6 0/4] Detailed error string Miao-chen Chou
2021-09-21 16:47 ` [BlueZ PATCH v6 1/4] doc: Add errors.txt to describe errors of D-Bus method returns Miao-chen Chou
2021-09-21 17:13   ` bluez.test.bot [this message]
2021-09-21 16:47 ` [BlueZ PATCH v6 2/4] error: BR/EDR and LE connection failure reasons Miao-chen Chou
2021-09-21 16:47 ` [BlueZ PATCH v6 3/4] device: Include detailed error string in Connect() return Miao-chen Chou
2021-09-21 16:47 ` [BlueZ PATCH v6 4/4] client: Print error code for connect methods Miao-chen Chou
  -- strict thread matches above, loose matches on Subject: below --
2021-08-06 23:47 [BlueZ PATCH v5 1/4] doc: Add errors.txt to describe errors of D-Bus method returns Miao-chen Chou
2021-08-07  1:17 ` Detailed error string bluez.test.bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=614a12a4.1c69fb81.76a64.40f9@mx.google.com \
    --to=bluez.test.bot@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=mcchou@chromium.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.