public inbox for ecos-patches@sourceware.org
 help / color / mirror / Atom feed
From: "Rene Nielsen" <rbn@vitesse.com>
To: <ecos-patches@sourceware.org>
Subject: Compilation warning in am29xxxxx.inl
Date: Thu, 12 Feb 2009 08:29:00 -0000	[thread overview]
Message-ID: <376637F07F8A9242AD11921B15FA17DC8AF276@mx-dk.vsc.vitesse.com> (raw)

The following patch fixes a compilation warning in devs/flash/amd/am29xxxxx.inl.
 
Warning:
.../packages/devs/flash/arm/vcoreii/current/src/arm_vcoreii_flash.c:70:
.../build/obj/ecos/install/include/cyg/io/flash_am29xxxxx.inl:99:22: warning: "CYGHWR_DEVS_FLASH_ST_M29W320D" is not defined

Regards,
René Schipp von Branitz Nielsen
Vitesse Semiconductors
 
Index: flash_am29xxxxx.inl
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/flash/amd/am29xxxxx/current/include/flash_am29xxxxx.inl,v
retrieving revision 1.26
diff -u -r1.26 flash_am29xxxxx.inl
--- flash_am29xxxxx.inl 29 Jan 2009 17:48:16 -0000      1.26
+++ flash_am29xxxxx.inl 12 Feb 2009 08:23:44 -0000
@@ -96,7 +96,7 @@
 #endif
 
 
-# if (_16AS8 == 0)||CYGHWR_DEVS_FLASH_ST_M29W320D
+# if (_16AS8 == 0)|| defined(CYGHWR_DEVS_FLASH_ST_M29W320D)
 # define FLASH_Setup_Addr1              (0x555)
 # define FLASH_Setup_Addr2              (0x2AA)
 # define FLASH_VendorID_Addr            (0)

             reply	other threads:[~2009-02-12  8:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-12  8:29 Rene Nielsen [this message]
2009-02-16 22:36 ` Jonathan Larmour

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=376637F07F8A9242AD11921B15FA17DC8AF276@mx-dk.vsc.vitesse.com \
    --to=rbn@vitesse.com \
    --cc=ecos-patches@sourceware.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).