From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] net: make net_rand.h inclusion depend on BOOTP_RANDOM_DELAY
Date: Sun, 08 Jul 2012 22:40:02 +0200 [thread overview]
Message-ID: <20120708204002.D5B5220012A@gemini.denx.de> (raw)
In-Reply-To: <20120705181932.351bb5e527cb14b435961d66@freescale.com>
Dear Kim Phillips,
In message <20120705181932.351bb5e527cb14b435961d66@freescale.com> you wrote:
> commit "net: use common rand()/srand() functions" introduced the following
> build warning on the current u-boot-arm tree:
>
> $ ./MAKEALL MPC8313ERDB_66
> Configuring for MPC8313ERDB_66 - Board: MPC8313ERDB, Options: SYS_66MHZ
> text data bss dec hex filename
> 271988 13976 41768 327732 50034 ./u-boot
> In file included from bootp.c:15:0:
> net_rand.h: In function 'srand_mac':
> net_rand.h:40:2: warning: implicit declaration of function 'srand' [-Wimplicit-function-declaration]
>
> adding this dependency fixes it.
>
> Cc: Michael Walle <michael@walle.cc>
> Cc: Joe Hershberger <joe.hershberger@ni.com>
> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
> ---
> net/bootp.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
Applied, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If it happens once, it's a bug.
If it happens twice, it's a feature.
If it happens more than twice, it's a design philosophy.
next prev parent reply other threads:[~2012-07-08 20:40 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-01 20:39 [U-Boot] [PATCH v8 0/4] Kirkwood: add lschlv2 and lsxhl board support Michael Walle
2012-06-01 20:39 ` [U-Boot] [PATCH v8 1/4] lib: add rand() function Michael Walle
2012-06-01 20:39 ` [U-Boot] [PATCH v8 2/4] net: use common rand()/srand() functions Michael Walle
2012-06-04 20:10 ` Joe Hershberger
2012-07-05 18:18 ` Kim Phillips
2012-07-05 21:37 ` Michael Walle
2012-07-05 23:19 ` [U-Boot] [PATCH] net: make net_rand.h inclusion depend on BOOTP_RANDOM_DELAY Kim Phillips
2012-07-06 7:00 ` Michael Walle
2012-07-08 20:40 ` Wolfgang Denk [this message]
2012-06-01 20:39 ` [U-Boot] [PATCH v8 3/4] net: add helper to generate random mac address Michael Walle
2012-06-01 20:39 ` [U-Boot] [PATCH v8 4/4] Kirkwood: add lschlv2 and lsxhl board support Michael Walle
2012-06-05 11:09 ` [U-Boot] [PATCH v8 0/4] " Michael Walle
2012-06-05 14:10 ` Prafulla Wadaskar
2012-06-05 14:31 ` Joe Hershberger
2012-06-05 14:26 ` Prafulla Wadaskar
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=20120708204002.D5B5220012A@gemini.denx.de \
--to=wd@denx.de \
--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