[PATCH] arm-proc-root-undeclared-error

DORMANTno replies

3 messages, 1 author, 2017-02-07 · open the first message on its own page

[PATCH] arm-proc-root-undeclared-error

From: Sreedhar <hidden>
Date: 2017-02-07 09:21:41

From: sreedhar donelli <redacted>

*** BLURB HERE ***

sreedhar donelli (1):
  arm-proc-root-undeclared-error

 net/atm/clip.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
1.9.1

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you

[PATCH] Fixed it by putting the proc cleanup code inside a #ifdef CONFIG_PROC_FS block.

From: Sreedhar <hidden>
Date: 2017-02-07 09:21:05

From: sreedhar donelli <redacted>

*** BLURB HERE ***

sreedhar donelli (1):
  arm-proc-root-undeclared-error

 net/atm/clip.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
1.9.1

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you

[PATCH] arm-proc-root-undeclared-error

From: Sreedhar <hidden>
Date: 2017-02-07 09:21:25

From: sreedhar donelli <redacted>

---
 net/atm/clip.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/net/atm/clip.c b/net/atm/clip.c
index 53b4ac0..7a7cb4a 100644
--- a/net/atm/clip.c
+++ b/net/atm/clip.c
@@ -930,8 +930,9 @@ static void atm_clip_exit_noproc(void)
 
 static void __exit atm_clip_exit(void)
 {
+#ifdef CONFIG_PROC_FS
 	remove_proc_entry("arp", atm_proc_root);
-
+#endif
 	atm_clip_exit_noproc();
 }
 
-- 
1.9.1

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help