mirror of
https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10.git
synced 2026-09-09 00:07:04 +08:00
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/2749 JIRA: https://redhat.atlassian.net/browse/RHEL-179033 A build race can happen when xyarray.c can be compiled while internal/xyarray.h is still being installed and thus not found, that causes this build error: xyarray.c:7:17: error: no previous prototype for 'xyarray__new' [-Werror=missing-prototypes xyarray.c:10:43: error: invalid application of 'sizeof' to incomplete type 'struct xyarray' Fix it by forcing the proper order. Signed-off-by: Michael Petlan <mpetlan@redhat.com> Approved-by: ashelat <ashelat@redhat.com> Approved-by: tallison1 <tallison@redhat.com> Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com> Merged-by: CKI GitLab Kmaint Pipeline Bot <26919896-cki-kmaint-pipeline-bot@users.noreply.gitlab.com>