public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Antonio Quartulli <ordex@autistici.org>
To: Simon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>
Cc: b.a.t.m.a.n@lists.open-mesh.org,
	Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Subject: Re: [B.A.T.M.A.N.] [PATCH] batman-adv: change compat code to remove sparse warning
Date: Thu, 28 Feb 2013 12:13:30 +0100	[thread overview]
Message-ID: <20130228111330.GC4530@ritirata.org> (raw)
In-Reply-To: <1362049727-16411-1-git-send-email-siwu@hrz.tu-chemnitz.de>

[-- Attachment #1: Type: text/plain, Size: 764 bytes --]

On Thu, Feb 28, 2013 at 12:08:47 +0100, Simon Wunderlich wrote:
> The latest compat patch fixing rtnl ops compile errors from 2.6.32
> ("batman-adv: add compat support for the new netlink ops") fixes
> the compilation, but leaves some sparse errors:
> batman-adv/soft-interface.c:573:10: warning: Initializer entry defined twice
> batman-adv/soft-interface.c:574:10: also defined here
> 
> This patch uses another approach by moving the initializers in a dummy
> struct instead. This also removes the sparse errors.
> 
> Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>

Acked-by: Antonio Quartulli <ordex@autistici.org>


Thank you Simon!
Cheers,

-- 
Antonio Quartulli

..each of us alone is worth nothing..
Ernesto "Che" Guevara

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2013-02-28 11:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-28 11:08 [B.A.T.M.A.N.] [PATCH] batman-adv: change compat code to remove sparse warning Simon Wunderlich
2013-02-28 11:13 ` Antonio Quartulli [this message]
2013-03-01  2:15   ` Marek Lindner

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=20130228111330.GC4530@ritirata.org \
    --to=ordex@autistici.org \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    --cc=simon.wunderlich@s2003.tu-chemnitz.de \
    --cc=siwu@hrz.tu-chemnitz.de \
    /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