projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ARM: dts: imx6ul-14x14-evk: Pass the "broken-cd" property
[oweals/u-boot.git]
/
tools
/
gen_eth_addr.c
diff --git
a/tools/gen_eth_addr.c
b/tools/gen_eth_addr.c
index bf9d935efdca205328de190f911d70c6ac594df2..ad36f3f0c21d2f17d862b07a2928b0849463a331 100644
(file)
--- a/
tools/gen_eth_addr.c
+++ b/
tools/gen_eth_addr.c
@@
-1,8
+1,7
@@
+// SPDX-License-Identifier: GPL-2.0+
/*
* (C) Copyright 2001
* Murray Jensen <Murray.Jensen@cmst.csiro.au>
/*
* (C) Copyright 2001
* Murray Jensen <Murray.Jensen@cmst.csiro.au>
- *
- * SPDX-License-Identifier: GPL-2.0+
*/
#include <stdio.h>
*/
#include <stdio.h>
@@
-15,7
+14,7
@@
main(int argc, char *argv[])
{
unsigned long ethaddr_low, ethaddr_high;
{
unsigned long ethaddr_low, ethaddr_high;
- srand(time(0)
| getpid(
));
+ srand(time(0)
+ (getpid() << 8
));
/*
* setting the 2nd LSB in the most significant byte of
/*
* setting the 2nd LSB in the most significant byte of