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

Fix p0 initializer #576

Merged
merged 1 commit into from
Oct 5, 2016
Merged

Fix p0 initializer #576

merged 1 commit into from
Oct 5, 2016

Conversation

behlendorf
Copy link
Contributor

Due to changes in the task_struct the following warning is occurs
when initializing the global p0. Since this structure only exists
for it's address to be taken initialize it in a manor which isn't
sensitive to internal changes to the structure.

module/spl/spl-generic.c:58:1: error: missing braces around
initializer [-Werror=missing-braces]

Signed-off-by: Brian Behlendorf [email protected]

Due to changes in the task_struct the following warning is occurs
when initializing the global p0.  Since this structure only exists
for it's address to be taken initialize it in a manor which isn't
sensitive to internal changes to the structure.

  module/spl/spl-generic.c:58:1: error: missing braces around
  initializer [-Werror=missing-braces]

Signed-off-by: Brian Behlendorf <[email protected]>
@behlendorf behlendorf merged commit 341dfdb into openzfs:master Oct 5, 2016
behlendorf added a commit to behlendorf/spl that referenced this pull request Feb 2, 2017
Due to changes in the task_struct the following warning is occurs
when initializing the global p0.  Since this structure only exists
for it's address to be taken initialize it in a manor which isn't
sensitive to internal changes to the structure.

  module/spl/spl-generic.c:58:1: error: missing braces around
  initializer [-Werror=missing-braces]

Signed-off-by: Brian Behlendorf <[email protected]>
Closes openzfs#576
@behlendorf behlendorf deleted the fix-p0-init branch July 28, 2017 22:19
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.

1 participant