Skip to content

error handling in of_dpa_cmd_add_acl()

Is this line reachable?

https://gitlab.com/qemu-project/qemu/-/blob/master/hw/net/rocker/rocker_of_dpa.c#L1783

1. while declaring in line 1692 err takes ROCKER_OK value

2. Calling of_dpa_cmd_add_acl() in line 1779 always returns ROCKER_OK to err too

3. ROCKER_OK is 0 by default

4. It seems that err changes nowhere in context of of_dpa_cmd_add_acl() function, except of point 2

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information