mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: H Hartley Sweeten <hartleys@visionengravers.com>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Cc: <cluster-devel@redhat.com>, <ccaulfie@redhat.com>, <teigland@redhat.com>
Subject: [PATCH] dlm/ast.c: include ast.h to pickup function definitions
Date: Fri, 23 Sep 2011 13:28:54 -0700	[thread overview]
Message-ID: <201109231328.55055.hartleys@visionengravers.com> (raw)

This quiets the following sparse noise:

warning: symbol 'dlm_add_lkb_callback' was not declared. Should it be static?
warning: symbol 'dlm_rem_lkb_callback' was not declared. Should it be static?
warning: symbol 'dlm_add_cb' was not declared. Should it be static?
warning: symbol 'dlm_callback_work' was not declared. Should it be static?
warning: symbol 'dlm_callback_start' was not declared. Should it be static?
warning: symbol 'dlm_callback_stop' was not declared. Should it be static?
warning: symbol 'dlm_callback_suspend' was not declared. Should it be static?
warning: symbol 'dlm_callback_resume' was not declared. Should it be static?

Cc: Christine Caulfield <ccaulfie@redhat.com>
Cc: David Teigland <teigland@redhat.com>

---

diff --git a/fs/dlm/ast.c b/fs/dlm/ast.c
index 90e5997..43f33c0 100644
--- a/fs/dlm/ast.c
+++ b/fs/dlm/ast.c
@@ -12,6 +12,7 @@
 ******************************************************************************/
 
 #include "dlm_internal.h"
+#include "ast.h"
 #include "lock.h"
 #include "user.h"
 

                 reply	other threads:[~2011-09-23 20:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=201109231328.55055.hartleys@visionengravers.com \
    --to=hartleys@visionengravers.com \
    --cc=ccaulfie@redhat.com \
    --cc=cluster-devel@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=teigland@redhat.com \
    /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

all inboxes | Powered by JetHome®