merged. Bruce
In message: [linux-yocto][linux-yocto v5.15/standard/ti-sdk-5.10/ti-j72xx & v5.15/standard/preempt-rt/ti-sdk-5.10/ti-j72xx][PATCH] i2c: core: correct the wrong exit path in function 'i2c_new_client_device' on 22/12/2022 Xulin Sun wrote: > To fix below building issue: > drivers/i2c/i2c-core-base.c: In function 'i2c_new_client_device': > drivers/i2c/i2c-core-base.c:985:1: warning: label 'out_remove_swnode' defined > but not used [-Wunused-label] > 985 | out_remove_swnode: > | ^~~~~ > > Signed-off-by: Xulin Sun <[email protected]> > --- > drivers/i2c/i2c-core-base.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/i2c/i2c-core-base.c b/drivers/i2c/i2c-core-base.c > index 9774218218ad..6c50e5c34e9c 100644 > --- a/drivers/i2c/i2c-core-base.c > +++ b/drivers/i2c/i2c-core-base.c > @@ -967,7 +967,7 @@ i2c_new_client_device(struct i2c_adapter *adap, struct > i2c_board_info const *inf > if (adap->attach_ops && > adap->attach_ops->attach_client && > adap->attach_ops->attach_client(adap, info, client) != 0) > - goto out_err_put_of_node; > + goto out_remove_swnode; > > status = device_register(&client->dev); > if (status) > -- > 2.36.1 >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12042): https://lists.yoctoproject.org/g/linux-yocto/message/12042 Mute This Topic: https://lists.yoctoproject.org/mt/95819862/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
