All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: outreachy-kernel@googlegroups.com
Cc: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Subject: Re: [Outreachy kernel] [PATCH v2] staging: lustre: osc: osc_request: Declare local function and structure as static
Date: Tue, 16 Feb 2016 14:45:39 +0100	[thread overview]
Message-ID: <3141763.faVHMgUmWB@wuerfel> (raw)
In-Reply-To: <20160216134412.GA18001@amitoj-Inspiron-3542>

On Tuesday 16 February 2016 19:14:12 Amitoj Kaur Chawla wrote:
> Declare osc_cleanup() function and osc_obd_ops structure as static
> since they are defined and called only in this file.
> 
> Removed osc_cleanup() function prototype since it wasn't required.
> 
> This fixes the following sparse warnings:
> drivers/staging/lustre/lustre/osc/osc_request.c:3210:5: warning:
> symbol 'osc_cleanup' was not declared. Should it be static?
> drivers/staging/lustre/lustre/osc/osc_request.c:3259:16: warning:
> symbol 'osc_obd_ops' was not declared. Should it be static?
> 
> Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
> 

Reviewed-by: Arnd Bergmann <arnd@arndb.de>


      reply	other threads:[~2016-02-16 13:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-16 13:44 [PATCH v2] staging: lustre: osc: osc_request: Declare local function and structure as static Amitoj Kaur Chawla
2016-02-16 13:45 ` Arnd Bergmann [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=3141763.faVHMgUmWB@wuerfel \
    --to=arnd@arndb.de \
    --cc=amitoj1606@gmail.com \
    --cc=outreachy-kernel@googlegroups.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.