From: David Miller <davem@davemloft.net>
To: jesper.juhl@gmail.com
Cc: samuel@sortiz.org, linux-kernel@vger.kernel.org, dagb@cs.uit.no,
jt@hpl.hp.com
Subject: Re: [PATCH] IRDA: Avoid a label defined but not used warning in irda_init()
Date: Tue, 21 Aug 2007 00:11:34 -0700 (PDT) [thread overview]
Message-ID: <20070821.001134.58787844.davem@davemloft.net> (raw)
In-Reply-To: <200708172322.34105.jesper.juhl@gmail.com>
From: Jesper Juhl <jesper.juhl@gmail.com>
Date: Fri, 17 Aug 2007 23:22:33 +0200
> Hi,
>
> Easily avoidable compiler warnings bug me.
>
>
> Building irmod without CONFIG_SYSCTL currently results in :
> net/irda/irmod.c:132: warning: label 'out_err_2' defined but not used
>
> But that can easily be avoided by simply moving the label inside
> the existing "#ifdef CONFIG_SYSCTL" one line above it.
>
> This patch moves the label and buys us one less warning with no
> ill effects.
>
>
> Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Applied, thanks Jesper.
prev parent reply other threads:[~2007-08-21 7:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-17 21:22 Jesper Juhl
2007-08-21 7:11 ` 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=20070821.001134.58787844.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=dagb@cs.uit.no \
--cc=jesper.juhl@gmail.com \
--cc=jt@hpl.hp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=samuel@sortiz.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
all inboxes | Powered by JetHome®