[PATCH 3/3] Staging: lustre: fld: moved EXPORT_SYMBOL() for a fix.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I moved EXPORT_SYMBOL(fld_client_proc_fini); for a EXPORT_SYMBOL
should be immediately below its function warning fix.

Signed-off-by: Gary Alan Rookard <garyrookard@xxxxxxxxx>

---
Correct patch, first two breaks build.
On branch staging-next
 drivers/staging/lustre/lustre/fld/fld_request.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/lustre/lustre/fld/fld_request.c b/drivers/staging/lustre/lustre/fld/fld_request.c
index 0d2a9ab..39e5501 100644
--- a/drivers/staging/lustre/lustre/fld/fld_request.c
+++ b/drivers/staging/lustre/lustre/fld/fld_request.c
@@ -325,9 +325,8 @@ void fld_client_proc_fini(struct lu_client_fld *fld)
 {
 	return;
 }
-EXPORT_SYMBOL(fld_client_proc_fini);
 #endif
-
+EXPORT_SYMBOL(fld_client_proc_fini);
 static inline int hash_is_sane(int hash)
 {
 	return hash >= 0 && hash < ARRAY_SIZE(fld_hash);
-- 
1.9.0

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux