mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [BUG] phycard a l1 on lowlevel
Date: Thu, 24 Oct 2013 20:38:19 +0200	[thread overview]
Message-ID: <20131024183819.GB3512@pengutronix.de> (raw)
In-Reply-To: <20131024073002.GT30088@pengutronix.de>

On Thu, Oct 24, 2013 at 09:30:02AM +0200, Sascha Hauer wrote:
> Hi J,
> 
> On Wed, Oct 23, 2013 at 06:48:00PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > Hi Sasha,
> > 
> > 	I get this when compiling this board
> > 
> > Building arm phycard_a_l1_defconfig
> > Configure: OK
> > /opt/work/barebox/arch/arm/boards/phycard-a-l1/lowlevel.c: In function 'barebox_arm_reset_vector':
> > /opt/work/barebox/arch/arm/boards/phycard-a-l1/lowlevel.c:122:3: warning: array subscript is above array bounds
> 
> I don't see this here. You probably have a different gcc version.
This is from

	sdrc_config[(uchar) cfg]

where cfg is set to -1 a few lines above.

(BTW, the function hint is wrong, this is in pcaal1_sdrc_init().)

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      reply	other threads:[~2013-10-24 18:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-23 16:48 Jean-Christophe PLAGNIOL-VILLARD
2013-10-24  7:30 ` Sascha Hauer
2013-10-24 18:38   ` Uwe Kleine-König [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=20131024183819.GB3512@pengutronix.de \
    --to=u.kleine-koenig@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.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