Skip to content

Misc fixes#551

Merged
openshift-merge-bot[bot] merged 3 commits intocontainers:mainfrom
cfergeau:fixes
Sep 10, 2025
Merged

Misc fixes#551
openshift-merge-bot[bot] merged 3 commits intocontainers:mainfrom
cfergeau:fixes

Conversation

@cfergeau
Copy link
Copy Markdown
Collaborator

@cfergeau cfergeau commented Sep 9, 2025

This should unbreak make cross-lint being currently broken in CI.
This also fixes a compilation breakage on arm32.

This is slightly better if ipv6 is used, which is not the case yet.

Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
This should fix containers#545
MaxInt32 should be strictly smaller than MaxUint32 and thus fit both in
an int32 and an uint32.

This fixes this compilation error:
```
pkg/tap/protocols.go:56:12: math.MaxUint32 (untyped int constant 4294967295) overflows int
```

Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
pkg/transport/unixgram_darwin.go:62:3: S1008: should use 'return !errors.Is(getRemoteAddrErr, syscall.EAGAIN)' instead of 'if errors.Is(getRemoteAddrErr, syscall.EAGAIN) { return false }; return true' (staticcheck)
		if errors.Is(getRemoteAddrErr, syscall.EAGAIN) {

Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
@openshift-ci openshift-ci bot added the approved label Sep 9, 2025
@vyasgun
Copy link
Copy Markdown
Member

vyasgun commented Sep 10, 2025

/approve
/lgtm

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Sep 10, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cfergeau, vyasgun

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit 855ccda into containers:main Sep 10, 2025
22 checks passed
@cfergeau cfergeau deleted the fixes branch September 12, 2025 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants