Jenkins Builder has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmo-netif/+/33197 )
Change subject: stream: Add server-side (segmentation) support for IPAC
......................................................................
Patch Set 1:
(4 comments)
File tests/stream/stream_test.c:
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-7904):
https://gerrit.osmocom.org/c/libosmo-netif/+/33197/comment/6408b110_1817eac9
PS1, Line 397: #define ipac_msg_idreq_half (sizeof (ipac_msg_idreq)/2)
space prohibited between function name and open parenthesis '('
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-7904):
https://gerrit.osmocom.org/c/libosmo-netif/+/33197/comment/23185ed9_3f62419c
PS1, Line 398: #define ipac_msg_idreq_other_half (sizeof (ipac_msg_idreq) - ipac_msg_idreq_half)
space prohibited between function name and open parenthesis '('
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-7904):
https://gerrit.osmocom.org/c/libosmo-netif/+/33197/comment/3050c289_80756db9
PS1, Line 408: (unsigned_char_ptr) = msgb_put(struct_msgb_ptr, sizeof (byte_array));\
space prohibited between function name and open parenthesis '('
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-7904):
https://gerrit.osmocom.org/c/libosmo-netif/+/33197/comment/6827917f_e9a3ff6e
PS1, Line 409: memcpy(unsigned_char_ptr, byte_array, sizeof (byte_array));\
space prohibited between function name and open parenthesis '('
--
To view, visit https://gerrit.osmocom.org/c/libosmo-netif/+/33197
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: I6c91ff385cb5f36ab6b6c96d0e44997995d0d24c
Gerrit-Change-Number: 33197
Gerrit-PatchSet: 1
Gerrit-Owner: arehbein <arehbein(a)sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-Comment-Date: Tue, 06 Jun 2023 15:07:27 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Jenkins Builder has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmo-netif/+/33193 )
Change subject: Add osmo_io support to osmo_stream_cli and osmo_stream_srv
......................................................................
Patch Set 1:
(3 comments)
File include/osmocom/netif/stream.h:
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-7898):
https://gerrit.osmocom.org/c/libosmo-netif/+/33193/comment/5a5590f3_cf5589a7
PS1, Line 83: void osmo_stream_cli_set_iofd_read_cb(struct osmo_stream_cli *cli, int (*read_cb)(struct osmo_stream_cli *cli, struct msgb* msg));
"foo* bar" should be "foo *bar"
File src/stream.c:
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-7898):
https://gerrit.osmocom.org/c/libosmo-netif/+/33193/comment/a3857a0b_3d9626cd
PS1, Line 931: int (*read_cb)(struct osmo_stream_cli *cli, struct msgb* msg))
"foo* bar" should be "foo *bar"
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-7898):
https://gerrit.osmocom.org/c/libosmo-netif/+/33193/comment/53f8a81e_80dd734c
PS1, Line 1729: }
void function return statements are not generally useful
--
To view, visit https://gerrit.osmocom.org/c/libosmo-netif/+/33193
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: I2f52c7107c392b6f4b0bf2a84f8c873c084a200c
Gerrit-Change-Number: 33193
Gerrit-PatchSet: 1
Gerrit-Owner: arehbein <arehbein(a)sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-CC: daniel <dwillmann(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 06 Jun 2023 15:07:12 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Jenkins Builder has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmo-netif/+/33195 )
Change subject: stream: Move some code in preparation of next commit
......................................................................
Patch Set 1:
(1 comment)
File src/stream.c:
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-7895):
https://gerrit.osmocom.org/c/libosmo-netif/+/33195/comment/70fe2928_794e4c04
PS1, Line 1413: }
void function return statements are not generally useful
--
To view, visit https://gerrit.osmocom.org/c/libosmo-netif/+/33195
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: Ic3f21967fe929b17327eb95739ace16c9734a151
Gerrit-Change-Number: 33195
Gerrit-PatchSet: 1
Gerrit-Owner: arehbein <arehbein(a)sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-Comment-Date: Tue, 06 Jun 2023 15:07:04 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Jenkins Builder has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmo-netif/+/33201 )
Change subject: stream: Add IPA send function/IPA-mode read to srv
......................................................................
Patch Set 1:
(2 comments)
File include/osmocom/netif/stream.h:
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-7894):
https://gerrit.osmocom.org/c/libosmo-netif/+/33201/comment/4453a3b8_1f718ec0
PS1, Line 75: enum ipaccess_proto_ext pe, struct msgb *msg);
code indent should use tabs where possible
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-7894):
https://gerrit.osmocom.org/c/libosmo-netif/+/33201/comment/10287664_464ed64f
PS1, Line 75: enum ipaccess_proto_ext pe, struct msgb *msg);
please, no spaces at the start of a line
--
To view, visit https://gerrit.osmocom.org/c/libosmo-netif/+/33201
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: I61e1fe59166c46595efe8c1f32b8f2607cb6c529
Gerrit-Change-Number: 33201
Gerrit-PatchSet: 1
Gerrit-Owner: arehbein <arehbein(a)sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-Comment-Date: Tue, 06 Jun 2023 15:07:02 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Jenkins Builder has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmo-netif/+/33194 )
Change subject: examples: Use osmo_io in {ipa-,}stream-{client,server}
......................................................................
Patch Set 1:
(2 comments)
File examples/stream-client.c:
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-7891):
https://gerrit.osmocom.org/c/libosmo-netif/+/33194/comment/11abd558_e0579501
PS1, Line 53: static int read_cb(struct osmo_stream_cli *conn, struct msgb* msg)
"foo* bar" should be "foo *bar"
File examples/stream-server.c:
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-7891):
https://gerrit.osmocom.org/c/libosmo-netif/+/33194/comment/164b4ce1_9952a8fd
PS1, Line 45: int read_cb(struct osmo_stream_srv *conn, struct msgb* msg)
"foo* bar" should be "foo *bar"
--
To view, visit https://gerrit.osmocom.org/c/libosmo-netif/+/33194
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: I97a9979199c816686b32080534627f6f033e009e
Gerrit-Change-Number: 33194
Gerrit-PatchSet: 1
Gerrit-Owner: arehbein <arehbein(a)sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-CC: daniel <dwillmann(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 06 Jun 2023 15:05:46 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
arehbein has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-netif/+/33206 )
Change subject: stream: Fix osmo_panic log fmts
......................................................................
stream: Fix osmo_panic log fmts
Change-Id: Id082a9473b788f8de20cdc2ba4430b3289f4ce5a
---
M src/stream.c
1 file changed, 16 insertions(+), 4 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/06/33206/1
diff --git a/src/stream.c b/src/stream.c
index 05fbff3..c050798 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -520,8 +520,9 @@
}
break;
default:
- /* Only CONNECTING and CONNECTED states are expected, since they are the only states where FD exists: */
- osmo_panic("osmo_stream_cli_fd_cb called with unexpected state %d\n", cli->state);
+ /* Only CONNECTING and CONNECTED states are expected, since they are the only states
+ * where FD exists: */
+ osmo_panic("osmo_stream_cli_fd_cb() called with unexpected state %d\n", cli->state);
}
return 0;
}
@@ -686,7 +687,8 @@
}
break;
default:
- osmo_panic("osmo_stream_cli_write_cb() called with unexpected state %d\n", cli->state);
+ osmo_panic("stream_cli_iofd_read_cb() called with unexpected state %d\n",
+ cli->state);
}
}
@@ -705,7 +707,8 @@
}
break;
default:
- osmo_panic("osmo_stream_cli_write_cb() called with unexpected state %d\n", cli->state);
+ osmo_panic("stream_cli_iofd_write_cb() called with unexpected state %d\n",
+ cli->state);
}
}
--
To view, visit https://gerrit.osmocom.org/c/libosmo-netif/+/33206
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: Id082a9473b788f8de20cdc2ba4430b3289f4ce5a
Gerrit-Change-Number: 33206
Gerrit-PatchSet: 1
Gerrit-Owner: arehbein <arehbein(a)sysmocom.de>
Gerrit-MessageType: newchange