Re: [PATCH 2/3] drivers/gpu/drm: fix sparse warnings: unexportsymbols

From: Julia Lawall
Date: Sun Jan 18 2009 - 11:11:25 EST


> >> -EXPORT_SYMBOL(drm_mode_validate_clocks);
> >
> > ??
>
> In both cases: a grep over the entire kernel tree shows that the
> function is only used within the compilation unit it is defined,
> therefore make it static and un-EXPORT it.

I don't know anything about this specific context, but aren't things in
general exported so that external modules can use them? If that is the
case, grepping over the kernel sources is not sufficient.

julia
--
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/