mirror of https://gitee.com/openkylin/linux.git
bb65f5048e
The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r@ type T; identifier f; @@ static T f (...) { ... } @@ identifier r.f; declarer name EXPORT_SYMBOL; @@ -EXPORT_SYMBOL(f); // </smpl> Furthermore, the function is never used, so its definition is dropped as well. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Scott Wood <scottwood@freescale.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
gpio.c | ||
qe.c | ||
qe_ic.c | ||
qe_ic.h | ||
qe_io.c | ||
ucc.c | ||
ucc_fast.c | ||
ucc_slow.c | ||
usb.c |