From: Sreedhar <sreedhar.donelli@tcs.com>
To: davem@davemloft.net, jarod@redhat.com, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Cc: sreedhar donelli <sreedhar.donelli@tcs.com>
Subject: [PATCH] arm-proc-root-undeclared-error
Date: Tue, 7 Feb 2017 14:37:28 +0530 [thread overview]
Message-ID: <1486458448-5199-3-git-send-email-sreedhar.donelli@tcs.com> (raw)
In-Reply-To: <1486458448-5199-1-git-send-email-sreedhar.donelli@tcs.com>
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
prev parent reply other threads:[~2017-02-07 9:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-07 9:07 [PATCH] arm-proc-root-undeclared-error Sreedhar
2017-02-07 9:07 ` [PATCH] Fixed it by putting the proc cleanup code inside a #ifdef CONFIG_PROC_FS block Sreedhar
2017-02-07 9:07 ` Sreedhar [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1486458448-5199-3-git-send-email-sreedhar.donelli@tcs.com \
--to=sreedhar.donelli@tcs.com \
--cc=davem@davemloft.net \
--cc=jarod@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).