All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: qemu-devel@nongnu.org
Cc: Changlong Xie <xiecl.fnst@cn.fujitsu.com>,
	qemu-trivial@nongnu.org, Michael Tokarev <mjt@tls.msk.ru>
Subject: [Qemu-devel] [PULL 16/16] hw/net/e1000e: Fix compiler warning
Date: Tue, 13 Sep 2016 19:04:55 +0300	[thread overview]
Message-ID: <eb83c2030aa037b4c6037bfa3cbe181343dc6a8b.1473782118.git.mjt@msgid.tls.msk.ru> (raw)
In-Reply-To: <cover.1473782118.git.mjt@tls.msk.ru>
In-Reply-To: <cover.1473782118.git.mjt@tls.msk.ru>

From: Changlong Xie <xiecl.fnst@cn.fujitsu.com>

slave:~/.xie/qemu-colo # gcc --version
gcc (SUSE Linux) 4.3.4 [gcc-4_3-branch revision 152973]

slave:~/.xie/qemu-colo # make -j8
CC    hw/net/e1000e_core.o
hw/net/e1000e_core.c:56: warning: ‘e1000e_set_interrupt_cause’ declared inline after being called
hw/net/e1000e_core.c:56: warning: previous declaration of ‘e1000e_set_interrupt_cause’ was here
LINK  x86_64-softmmu/qemu-system-x86_64

Signed-off-by: Changlong Xie <xiecl.fnst@cn.fujitsu.com>
Reviewed-by: Dmitry Fleytman <dmitry@daynix.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
 hw/net/e1000e_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/net/e1000e_core.c b/hw/net/e1000e_core.c
index badb1fe..e0bd31c 100644
--- a/hw/net/e1000e_core.c
+++ b/hw/net/e1000e_core.c
@@ -52,7 +52,7 @@
                                      second according to spec 10.2.4.2 */
 #define E1000E_MAX_TX_FRAGS (64)
 
-static void
+static inline void
 e1000e_set_interrupt_cause(E1000ECore *core, uint32_t val);
 
 static inline void
-- 
2.1.4

      parent reply	other threads:[~2016-09-13 16:07 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cover.1473782118.git.mjt@tls.msk.ru>
2016-09-13 16:04 ` [Qemu-devel] [PULL 01/16] docs: Fix description of the leaky bucket algorithm in throttle.txt Michael Tokarev
2016-09-13 16:04 ` [Qemu-devel] [PULL 02/16] hw/bt/hci: spelling fix: endianness Michael Tokarev
2016-09-13 16:04 ` [Qemu-devel] [PULL 03/16] hw/dma/omap: " Michael Tokarev
2016-09-13 16:04 ` [Qemu-devel] [PULL 04/16] arm: spelling fix: mismatch Michael Tokarev
2016-09-13 16:04 ` [Qemu-devel] [PULL 05/16] vl: remove unnecessary duplicate call to tpm_cleanup Michael Tokarev
2016-09-13 16:04 ` [Qemu-devel] [PULL 06/16] sparc: Use g_memdup() instead of g_new0() + memcpy() Michael Tokarev
2016-09-13 16:04 ` [Qemu-devel] [PULL 07/16] pic: fix typo in error message: KVM_GET_IRQCHIP -> KVM_SET_IRQCHIP Michael Tokarev
2016-09-13 16:04 ` [Qemu-devel] [PULL 08/16] linux-user, trivial: display "0x%x" instead of "0x%d" Michael Tokarev
2016-09-13 16:04 ` [Qemu-devel] [PULL 09/16] trace-event: display "%d" " Michael Tokarev
2016-09-13 16:04 ` [Qemu-devel] [PULL 10/16] Document that curses usually needs -k option too Michael Tokarev
2016-09-13 16:04 ` [Qemu-devel] [PULL 11/16] maint: Ignore generated version file Michael Tokarev
2016-09-13 16:04 ` [Qemu-devel] [PULL 12/16] timer.h: fix typo Michael Tokarev
2016-09-13 16:04 ` [Qemu-devel] [PULL 13/16] timer.h: fix inconsistency between comment and function prototype Michael Tokarev
2016-09-13 16:04 ` [Qemu-devel] [PULL 14/16] timer/cpus: fix some typos and update some comments Michael Tokarev
2016-09-13 16:04 ` [Qemu-devel] [PULL 15/16] target-m68k: fix get_mac_extf helper Michael Tokarev
2016-09-13 16:04 ` Michael Tokarev [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=eb83c2030aa037b4c6037bfa3cbe181343dc6a8b.1473782118.git.mjt@msgid.tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    --cc=xiecl.fnst@cn.fujitsu.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.