Re: [PATCH] staging: lustre: fix sparse warnings for undeclared symbols

From: John Church
Date: Mon Jun 02 2014 - 09:15:05 EST


On Mon, Jun 02, 2014 at 03:19:18PM +0300, Dan Carpenter wrote:
>
> Why not just make them static? They don't seem to be used outside of
> that file. What am I missing?
>

Given a 50/50 choice I based my decision on the surrounding functions which were mostly defined in the header file.

I should have done a little more invstigation which would have led me to the opposite conclusion.

I will redo them as static and resumbit.

Thanks for your help Dan.

Regards,
John
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/