Tag: 56567c6f8751c633581ca7c8e1cf08eed503f5ea

drivers/net/ethernet/sfc/ptp.c: adjust duplicate test

Author: Julia Lawall <Julia.Lawall@lip6.fr> Delete successive tests to the same location. rc was previously tested and not subsequently updated. efx_phc_adjtime can return an error code, so the call is updated so that is tested instead. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @s exists@ local idexpression …

Continue reading