Skip to content

Conversation

jcfaracco
Copy link

This pull request contains a lots of fixes related to warnings reported by the compiler (it can have even more).

It changes:

  • Some function definitions to static to avoid the requirement to define a prototype (they are all used locally by its own X file).
  • Some guards check to MAX() and MIN() definition.
  • Some prototype warnings due to the missing inclusion of file nvfs-rdma.h.

There are a lots of functions that are local only. It means they don't
need a prototype and they can be static. This commit move some of that
functions and fix some compilation warnings regarding to
-Wmissing-prototype flag.

Signed-off-by: Julio Faracco <[email protected]>
There are some global definitition of MAX and MIN at linux/minmax.h.
To avoid compilation issues, it is better to put them into guards.

Signed-off-by: Julio Faracco <[email protected]>
The compiler is complaining about several prototypes. It is caused by
the missing inclusion of the nvfs-rdma.h.

Signed-off-by: Julio Faracco <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant