diff mbox series

[1/3] station: should still build

Message ID 20220606213216.36873-2-prestwoj@gmail.com (mailing list archive)
State Rejected, archived
Headers show
Series Patch 2 should fail incremental build | expand

Checks

Context Check Description
prestwoj/gitlint success Gitlint PASS
prestwoj/fetch success Fetch PR PASS
prestwoj/makedistcheck success Make Distcheck PASS
prestwoj/incremental_build fail Applying Patch FAIL (patch 0): Applying: station: should still build error: patch failed: src/station.c:20 error: src/station.c: patch does not apply hint: Use 'git am --show-current-patch=diff' to see the failed patch Patch failed at 0001 station: should still build When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort".
prestwoj/build success Build Configuration PASS
prestwoj/makecheckvalgrind success Make Check PASS
prestwoj/makecheck success Make Check PASS
prestwoj/testrunner success test-runner PASS
tedd_an/pre-ci_am success Success
prestwoj/alpine-ci-fetch success Fetch PR PASS
prestwoj/ci-gitlint success Gitlint PASS
prestwoj/ci-fetch success Fetch PR PASS
prestwoj/ci-makedistcheck success Make Distcheck PASS
prestwoj/alpine-ci-makedistcheck success Make Distcheck PASS
prestwoj/ci-build success Build Configuration PASS
prestwoj/alpine-ci-build success Build Configuration PASS
prestwoj/ci-clang success clang PASS
prestwoj/ci-makecheckvalgrind success Make Check PASS
prestwoj/ci-makecheck success Make Check PASS
prestwoj/alpine-ci-makecheckvalgrind success Make Check PASS
prestwoj/alpine-ci-makecheck success Make Check PASS
prestwoj/ci-incremental_build fail Make FAIL (patch 1): src/station.c:127:1: error: unknown type name ‘truct’; did you mean ‘struct’? 127 | truct anqp_entry { | ^~~~~ | struct src/station.c:127:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token 127 | truct anqp_entry { | ^ src/station.c: In function ‘match_pending’: src/station.c:526:21: error: invalid use of undefined type ‘const struct anqp_entry’ 526 | return entry->pending != 0; | ^~ src/station.c: In function ‘remove_anqp’: src/station.c:533:18: error: invalid use of undefined type ‘struct anqp_entry’ 533 | if (entry->pending) | ^~ src/station.c:534:34: error: invalid use of undefined type ‘struct anqp_entry’ 534 | anqp_cancel(entry->pending); | ^~ In file included from src/station.c:44: src/station.c: In function ‘anqp_entry_foreach’: src/station.c:544:63: error: invalid use of undefined type ‘struct anqp_entry’ 544 | STATION_EVENT_ANQP_FINISHED, e->network); | ^~ ./src/watchlist.h:73:27: note: in definition of macro ‘WATCHLIST_NOTIFY’ 73 | t(args, item->notify_data); \ | ^~~~ src/station.c: In function ‘station_anqp_response_cb’: src/station.c:556:40: error: invalid use of undefined type ‘struct anqp_entry’ 556 | struct station *station = entry->station; | ^~ src/station.c:557:40: error: invalid use of undefined type ‘struct anqp_entry’ 557 | struct network *network = entry->network; | ^~ src/station.c:601:14: error: invalid use of undefined type ‘struct anqp_entry’ 601 | entry->pending = 0; | ^~ In file included from ./ell/ell.h:1, from src/station.c:37: src/station.c: In function ‘station_start_anqp’: src/station.c:632:23: error: invalid application of ‘sizeof’ to incomplete type ‘struct anqp_entry’ 632 | entry = l_new(struct anqp_entry, 1); | ^~~~~~ ./ell/util.h:263:37: note: in definition of macro ‘l_new’ 263 | size_t __s = sizeof(type); \ | ^~~~ src/station.c:633:14: error: invalid use of undefined type ‘struct anqp_entry’ 633 | entry->station = station; | ^~ src/station.c:634:14: error: invalid use of undefined type ‘struct anqp_entry’ 634 | entry->network = network; | ^~ src/station.c:661:14: error: invalid use of undefined type ‘struct anqp_entry’ 661 | entry->pending = anqp_request(netdev_get_wdev_id(station->netdev), | ^~ src/station.c:665:19: error: invalid use of undefined type ‘struct anqp_entry’ 665 | if (!entry->pending) { | ^~ make[1]: *** [Makefile:2383: src/station.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:1570: all] Error 2
prestwoj/alpine-ci-incremental_build fail Make FAIL (patch 1): src/station.c:127:1: error: unknown type name 'truct'; did you mean 'struct'? 127 | truct anqp_entry { | ^~~~~ | struct src/station.c:127:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token 127 | truct anqp_entry { | ^ src/station.c: In function 'match_pending': src/station.c:526:21: error: invalid use of undefined type 'const struct anqp_entry' 526 | return entry->pending != 0; | ^~ src/station.c: In function 'remove_anqp': src/station.c:533:18: error: invalid use of undefined type 'struct anqp_entry' 533 | if (entry->pending) | ^~ src/station.c:534:34: error: invalid use of undefined type 'struct anqp_entry' 534 | anqp_cancel(entry->pending); | ^~ In file included from src/station.c:44: src/station.c: In function 'anqp_entry_foreach': src/station.c:544:63: error: invalid use of undefined type 'struct anqp_entry' 544 | STATION_EVENT_ANQP_FINISHED, e->network); | ^~ ./src/watchlist.h:73:27: note: in definition of macro 'WATCHLIST_NOTIFY' 73 | t(args, item->notify_data); \ | ^~~~ src/station.c: In function 'station_anqp_response_cb': src/station.c:556:40: error: invalid use of undefined type 'struct anqp_entry' 556 | struct station *station = entry->station; | ^~ src/station.c:557:40: error: invalid use of undefined type 'struct anqp_entry' 557 | struct network *network = entry->network; | ^~ src/station.c:601:14: error: invalid use of undefined type 'struct anqp_entry' 601 | entry->pending = 0; | ^~ In file included from ./ell/ell.h:1, from src/station.c:37: src/station.c: In function 'station_start_anqp': src/station.c:632:23: error: invalid application of 'sizeof' to incomplete type 'struct anqp_entry' 632 | entry = l_new(struct anqp_entry, 1); | ^~~~~~ ./ell/util.h:263:37: note: in definition of macro 'l_new' 263 | size_t __s = sizeof(type); \ | ^~~~ src/station.c:633:14: error: invalid use of undefined type 'struct anqp_entry' 633 | entry->station = station; | ^~ src/station.c:634:14: error: invalid use of undefined type 'struct anqp_entry' 634 | entry->network = network; | ^~ src/station.c:661:14: error: invalid use of undefined type 'struct anqp_entry' 661 | entry->pending = anqp_request(netdev_get_wdev_id(station->netdev), | ^~ src/station.c:665:19: error: invalid use of undefined type 'struct anqp_entry' 665 | if (!entry->pending) { | ^~ make[1]: *** [Makefile:2384: src/station.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:1571: all] Error 2
prestwoj/ci-testrunner success test-runner PASS

Commit Message

James Prestwood June 6, 2022, 9:32 p.m. UTC
---
 src/station.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/src/station.c b/src/station.c
index 7c88f266..0fbc76f7 100644
--- a/src/station.c
+++ b/src/station.c
@@ -20,6 +20,8 @@ 
  *
  */
 
+//add a comment
+
 #ifdef HAVE_CONFIG_H
 #include <config.h>
 #endif