From: Ben Warren <biggerbadderben@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/3] miiphy: constify device name
Date: Thu, 29 Jul 2010 10:51:18 -0700 [thread overview]
Message-ID: <4C51BF96.30906@gmail.com> (raw)
In-Reply-To: <1280270110-22879-1-git-send-email-vapier@gentoo.org>
Hi Mike,
On 7/27/2010 3:35 PM, Mike Frysinger wrote:
> The driver name does not need to be writable, so constify it.
>
> Signed-off-by: Mike Frysinger<vapier@gentoo.org>
> ---
> arch/arm/cpu/arm920t/at91rm9200/ether.c | 4 +-
> arch/arm/cpu/ixp/npe/include/npe.h | 4 +-
> arch/arm/cpu/ixp/npe/miiphy.c | 4 +-
> arch/m68k/include/asm/fec.h | 4 +-
> arch/mips/cpu/au1x00_eth.c | 4 +-
> arch/powerpc/cpu/mpc8220/fec.c | 8 +++---
> arch/powerpc/cpu/mpc8xx/fec.c | 8 +++---
> arch/powerpc/cpu/ppc4xx/miiphy.c | 4 +-
> board/evb64260/eth.c | 6 ++--
> board/prodrive/p3mx/mv_eth.c | 8 +++---
> common/cmd_mii.c | 2 +-
> common/miiphyutil.c | 41 ++++++++++++++++---------------
> drivers/net/4xx_enet.c | 4 +-
> drivers/net/altera_tse.c | 4 +-
> drivers/net/at91_emac.c | 4 +-
> drivers/net/bfin_mac.c | 4 +-
> drivers/net/davinci_emac.c | 4 +-
> drivers/net/designware.c | 4 +-
> drivers/net/eepro100.c | 4 +-
> drivers/net/ep93xx_eth.c | 8 +++---
> drivers/net/fec_mxc.c | 4 +-
> drivers/net/macb.c | 4 +-
> drivers/net/mcfmii.c | 4 +-
> drivers/net/mpc512x_fec.c | 8 +++---
> drivers/net/mpc5xxx_fec.c | 8 +++---
> drivers/net/mvgbe.c | 4 +-
> drivers/net/ns7520_eth.c | 4 +-
> drivers/net/tsec.c | 8 +++---
> drivers/qe/uec.c | 6 ++--
> include/miiphy.h | 30 +++++++++++-----------
> 30 files changed, 107 insertions(+), 106 deletions(-)
As usually happens when going for const-correctness, it becomes an
exercise in peeling back the layers of compile warnings. When I run
MAKEALL ppc, I get all sorts of 'discards qualifier' warnings. Anyway,
I think they're fixed and as soon as MAKEALL finishes running I'll post
a follow-on patch.
thanks,
Ben
prev parent reply other threads:[~2010-07-29 17:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-27 22:35 [U-Boot] [PATCH 1/3] miiphy: constify device name Mike Frysinger
2010-07-27 22:35 ` [U-Boot] [PATCH 2/3] miiphy: unify device list lookup Mike Frysinger
2010-07-27 22:35 ` [U-Boot] [PATCH 3/3] miiphy: leverage current_mii cache more Mike Frysinger
2010-07-29 17:51 ` Ben Warren [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=4C51BF96.30906@gmail.com \
--to=biggerbadderben@gmail.com \
--cc=u-boot@lists.denx.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