[PATCH] rockchip: use stable MAC-address for NanoPi R2S

Karl Palsson karlp at tweak.net.au
Sun Jan 17 05:25:36 EST 2021


"Adrian Schmutzler" <mail at adrianschmutzler.de> wrote:
> > +	local mac_base=$(macaddr_canonicalize "$(echo "${sd_hash}" | dd
> > bs=1 count=12 2>/dev/null)")
> 
> bs=12 count=1 ?


Why? unless you're passing other flags to try and magically avoid
the block layer, you're only operating on a 1k block read out
anyway. This sort of suggestion is pointless noise that just
makes things harder to read.

Sincerely,
Karl Palsson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP-digital-signature.html
Type: application/pgp-signature
Size: 1175 bytes
Desc: OpenPGP Digital Signature
URL: <http://lists.openwrt.org/pipermail/openwrt-devel/attachments/20210117/9370bc0d/attachment.sig>


More information about the openwrt-devel mailing list