Re:_git:_c9b6241e250a_-_main_-_ tcp:_address_enum-int-mismatch_ _fix_gcc13_error_after_f74352fb cf15341accaf5a92240871f98323215d

From: Baptiste Daroussin <bapt_at_nours.eu>
Date: Sun, 25 Feb 2024 16:34:57 UTC
Le 25 février 2024 13:30:29 GMT+01:00, Baptiste Daroussin <bapt@nours.eu> a écrit :
>Le 25 février 2024 12:49:14 GMT+01:00, Richard Scheffenegger <rscheff@FreeBSD.org> a écrit :
>>The branch main has been updated by rscheff:
>>
>>URL: https://cgit.FreeBSD.org/src/commit/?id=c9b6241e250a4f1156e2150ccdbad0d3029dcef6
>>
>>commit c9b6241e250a4f1156e2150ccdbad0d3029dcef6
>>Author:     Richard Scheffenegger <rscheff@FreeBSD.org>
>>AuthorDate: 2024-02-25 03:45:05 +0000
>>Commit:     Richard Scheffenegger <rscheff@FreeBSD.org>
>>CommitDate: 2024-02-25 03:46:39 +0000
>>
>>    tcp: address enum-int-mismatch
>>    fix gcc13 error after f74352fbcf15341accaf5a92240871f98323215d
>>---
>> sys/netinet/cc/cc.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>>diff --git a/sys/netinet/cc/cc.c b/sys/netinet/cc/cc.c
>>index 9308b5f8d764..adcb16e87637 100644
>>--- a/sys/netinet/cc/cc.c
>>+++ b/sys/netinet/cc/cc.c
>>@@ -452,7 +452,7 @@ newreno_cc_after_idle(struct cc_var *ccv)
>>  * Perform any necessary tasks before we enter congestion recovery.
>>  */
>> void
>>-newreno_cc_cong_signal(struct cc_var *ccv, uint32_t type)
>>+newreno_cc_cong_signal(struct cc_var *ccv, ccsignal_t type)
>> {
>> 	uint32_t cwin, factor, mss, pipe;
>> 
>
>Somehow incremental build has been broken in the last couple of days.
>
>/home/bapt/worktrees/main/sys/netinet/cc/cc.c:475:10: error: 6 enumeration values not handled in switch: 'CC_ACK', 'CC_DUPACK', 'CC_PARTIALACK'... [-Werror,-Wswitch]                                                 475 |         switch (type) {                            |                 ^~~~
>
>This is the error I get since this commit in buildkernel for pkgbase, all arches
>
>Best regards,
>Bapt
Ci confirms all arches are broken