
15 Jul
2016
15 Jul
'16
9:38 a.m.
Hi Simon!
Am 15.07.2016 um 05:19 schrieb Simon Glass:
[...] Presumably hitting the default would be an internal error. So in that case there is no point in returning an error, I think, and what you have is best.
Regards, Simon
It's not pretty, but a "catch all" solution. The alternative is to handle all possible env_op_* constants explicitly, even if they don't affect (or relate to) eth*_addr at all. But that would mean this code has to be touched and adjusted every time someone comes up with a new env_op_*...
Regards, B. Nortmann