All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] fix error handling in client
@ 2026-05-26 18:29 Hannes Diethelm
  2026-05-26 18:29 ` [PATCH 1/1] tidbits: net-udp: " Hannes Diethelm
  2026-05-27  6:37 ` [PATCH 0/1] " Philippe Gerum
  0 siblings, 2 replies; 4+ messages in thread
From: Hannes Diethelm @ 2026-05-26 18:29 UTC (permalink / raw)
  To: xenomai, rpm; +Cc: Hannes Diethelm

Hello

While writing the doc, I found a mistake in the last patch. If desired, I can also resend the
last patch with this fixes in one patch.

Regards
Hannes

Hannes Diethelm (1):
  tidbits: net-udp: fix error handling in client

 tidbits/oob-net-udp.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

-- 
2.47.3


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/1] tidbits: net-udp: fix error handling in client
  2026-05-26 18:29 [PATCH 0/1] fix error handling in client Hannes Diethelm
@ 2026-05-26 18:29 ` Hannes Diethelm
  2026-05-27  4:52   ` Philippe Gerum
  2026-05-27  6:37 ` [PATCH 0/1] " Philippe Gerum
  1 sibling, 1 reply; 4+ messages in thread
From: Hannes Diethelm @ 2026-05-26 18:29 UTC (permalink / raw)
  To: xenomai, rpm; +Cc: Hannes Diethelm

Also fix mistake in comment

Signed-off-by: Hannes Diethelm <hannes.diethelm@gmail.com>
---
 tidbits/oob-net-udp.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tidbits/oob-net-udp.c b/tidbits/oob-net-udp.c
index 3cd7cb2..11b8459 100644
--- a/tidbits/oob-net-udp.c
+++ b/tidbits/oob-net-udp.c
@@ -8,7 +8,7 @@
  * The server mode [-S] receives a packet from on a given
  * port and sends a response to the sender's ip/port.
  *
- * The client mode [-S] sends a packet to a port/ip
+ * The client mode [-C] sends a packet to a port/ip
  * and receives the response from a server. The round
  * trip time is measured.
  *
@@ -443,6 +443,8 @@ int main(int argc, char *argv[])
 		 */
 		ret = evl_net_solicit(s, (const struct sockaddr *)&addr,
 				EVL_NEIGH_PERMANENT);
+		if (ret)
+			error(1, -ret, "evl_net_solicit()");
 
 		client(s, text, mcount, &addr, iter, delay);
 	} else if (mode == SERVER) {
-- 
2.47.3


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/1] tidbits: net-udp: fix error handling in client
  2026-05-26 18:29 ` [PATCH 1/1] tidbits: net-udp: " Hannes Diethelm
@ 2026-05-27  4:52   ` Philippe Gerum
  0 siblings, 0 replies; 4+ messages in thread
From: Philippe Gerum @ 2026-05-27  4:52 UTC (permalink / raw)
  To: Hannes Diethelm; +Cc: xenomai

Hannes Diethelm <hannes.diethelm@gmail.com> writes:

> Also fix mistake in comment
>
> Signed-off-by: Hannes Diethelm <hannes.diethelm@gmail.com>
> ---
>  tidbits/oob-net-udp.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/tidbits/oob-net-udp.c b/tidbits/oob-net-udp.c
> index 3cd7cb2..11b8459 100644
> --- a/tidbits/oob-net-udp.c
> +++ b/tidbits/oob-net-udp.c
> @@ -8,7 +8,7 @@
>   * The server mode [-S] receives a packet from on a given
>   * port and sends a response to the sender's ip/port.
>   *
> - * The client mode [-S] sends a packet to a port/ip
> + * The client mode [-C] sends a packet to a port/ip
>   * and receives the response from a server. The round
>   * trip time is measured.
>   *
> @@ -443,6 +443,8 @@ int main(int argc, char *argv[])
>  		 */
>  		ret = evl_net_solicit(s, (const struct sockaddr *)&addr,
>  				EVL_NEIGH_PERMANENT);
> +		if (ret)
> +			error(1, -ret, "evl_net_solicit()");
>  
>  		client(s, text, mcount, &addr, iter, delay);
>  	} else if (mode == SERVER) {

Merged, thanks.

-- 
Philippe.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/1] fix error handling in client
  2026-05-26 18:29 [PATCH 0/1] fix error handling in client Hannes Diethelm
  2026-05-26 18:29 ` [PATCH 1/1] tidbits: net-udp: " Hannes Diethelm
@ 2026-05-27  6:37 ` Philippe Gerum
  1 sibling, 0 replies; 4+ messages in thread
From: Philippe Gerum @ 2026-05-27  6:37 UTC (permalink / raw)
  To: Hannes Diethelm; +Cc: xenomai

Hannes Diethelm <hannes.diethelm@gmail.com> writes:

> Hello
>
> While writing the doc, I found a mistake in the last patch. If desired, I can also resend the
> last patch with this fixes in one patch.

No need for this, thanks. Merged upstream.

-- 
Philippe.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-05-27  6:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-26 18:29 [PATCH 0/1] fix error handling in client Hannes Diethelm
2026-05-26 18:29 ` [PATCH 1/1] tidbits: net-udp: " Hannes Diethelm
2026-05-27  4:52   ` Philippe Gerum
2026-05-27  6:37 ` [PATCH 0/1] " Philippe Gerum

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.