[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20091108.004351.236432748.davem@davemloft.net>
Date: Sun, 08 Nov 2009 00:43:51 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: avorontsov@...mvista.com
Cc: afleming@...escale.com, Sandeep.Kumar@...escale.com,
netdev@...r.kernel.org, linuxppc-dev@...abs.org
Subject: Re: [PATCH 2/3] fsl_pq_mdio: Fix compiler/sparse warnings (part 2)
From: Anton Vorontsov <avorontsov@...mvista.com>
Date: Thu, 5 Nov 2009 01:52:57 +0300
> This patch fixes following warnings:
>
> fsl_pq_mdio.c:112:38: warning: cast adds address space to expression (<asn:2>)
> fsl_pq_mdio.c:124:38: warning: cast adds address space to expression (<asn:2>)
> fsl_pq_mdio.c:133:38: warning: cast adds address space to expression (<asn:2>)
> fsl_pq_mdio.c:414:11: warning: cast adds address space to expression (<asn:2>)
>
> Instead of adding __force all over the place, introduce convenient
> fsl_pq_mdio_get_regs() call that does the ugly casting just once.
>
> Signed-off-by: Anton Vorontsov <avorontsov@...mvista.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists