Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1575507
| From | Sreedhar <sreedhar.donelli@tcs.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] arm-proc-root-undeclared-error |
| Date | 2017-02-07 10:30 +0100 |
| Message-ID | <t8ag2-Zm-25@gated-at.bofh.it> (permalink) |
| References | <t8ag2-Zm-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: sreedhar donelli <sreedhar.donelli@tcs.com>
---
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
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] arm-proc-root-undeclared-error Sreedhar <sreedhar.donelli@tcs.com> - 2017-02-07 10:30 +0100 [PATCH] arm-proc-root-undeclared-error Sreedhar <sreedhar.donelli@tcs.com> - 2017-02-07 10:30 +0100 [PATCH] Fixed it by putting the proc cleanup code inside a #ifdef CONFIG_PROC_FS block. Sreedhar <sreedhar.donelli@tcs.com> - 2017-02-07 10:30 +0100
csiph-web