Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

Update struct member intializers to C89 #597

Conversation

sempervictus
Copy link
Contributor

When building SPL within the kernel tree, C99 initializers cause
build failures and need to be converted to C89 as kernel CFLAGS
specify -std=gnu89.
This fix was provided by @behlendorf in #595 discussion notes and
manually implemented in the current master revision.

Testing:
Initial builds succeeded, module loading has not been tested yet as
similar initialzer issues need to be addressed in the ICP module
of ZFS first.

When building SPL within the kernel tree, C99 initializers cause
build failures and need to be converted to C89 as kernel CFLAGS
specify -std=gnu89.
This fix was provided by @behlendorf in openzfs#595 discussion notes and
manually implemented in the current master revision.

Testing:
Initial builds succeeded, module loading has not been tested yet as
similar initialzer issues need to be addressed in the ICP module
of ZFS first.
@behlendorf behlendorf merged commit 120faef into openzfs:master Jan 13, 2017
fahadsadah pushed a commit to fahadsadah/spl that referenced this pull request Oct 4, 2017
When building SPL within the kernel tree, C99 initializers cause
build failures and need to be converted to C89 as kernel CFLAGS
specify -std=gnu89.

This fix was provided by @behlendorf in openzfs#595 discussion notes and
manually implemented in the current master revision.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: RageLtMan <rageltman@sempervictus>
Closes openzfs#597
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants