netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: sam@ravnborg.org
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH][IPV4] annotate a few functions __init in ipconfig.c
Date: Tue, 29 Apr 2008 20:58:29 -0700 (PDT)	[thread overview]
Message-ID: <20080429.205829.125946358.davem@davemloft.net> (raw)
In-Reply-To: <20080429195006.GA468@uranus.ravnborg.org>

From: Sam Ravnborg <sam@ravnborg.org>
Date: Tue, 29 Apr 2008 21:50:06 +0200

> A few functions are only used from __init context.
> So annotate these with __init for consistency and silence
> the following warnings:
> 
> WARNING: net/ipv4/built-in.o(.text+0x2a876): Section mismatch
>          in reference from the function ic_bootp_init() to
>          the variable .init.data:bootp_packet_type
> WARNING: net/ipv4/built-in.o(.text+0x2a907): Section mismatch
>          in reference from the function ic_bootp_cleanup() to
>          the variable .init.data:bootp_packet_type
> 
> Note: The warnings only appear with CONFIG_DEBUG_SECTION_MISMATCH=y
> 
> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>

Applied, thanks a lot Sam.

      reply	other threads:[~2008-04-30  3:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-29 19:50 [PATCH][IPV4] annotate a few functions __init in ipconfig.c Sam Ravnborg
2008-04-30  3:58 ` David Miller [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=20080429.205829.125946358.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=sam@ravnborg.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).