Re: [PATCH] staging: lustre: lmv: add missing function declaration

From: James Simmons
Date: Sun Sep 18 2016 - 16:54:38 EST



> On Sunday, September 18, 2016 8:43:18 PM CEST James Simmons wrote:
> >
> > Nak. I'm not seeing this error with W=1. Also if you look
> > lmv_pack_md() is only used in lmv_obd.c and the function
> > appears early in the file before it is used, so no prototype
> > missing errors should happen.
>
> So it should be marked "static" and the EXPORT_SYMBOL() removed,
> right?

Already done. See patch

[PATCH 109/124] staging: lustre: misc: remove unnecessary EXPORT_SYMBOL

which is from Frank Zago which I just pushed to Greg.