+55
−52
Loading
mainline inclusion from mainline-v6.10-rc2 commit 97b1974547c517d8b5cba1fa0cc7213399ff0d2c category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IBBU4K CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=97b1974547c517d8b5cba1fa0cc7213399ff0d2c ---------------------------------------------------------------------- Refactor do-while loops to move break condition within the loop's scope. This modification is in preparation to move the declaration of the device_node directly within the loop and take advantage of the automatic cleanup feature provided by the __free(device_node) attribute. Acked-by:Sudeep Holla <sudeep.holla@arm.com> Signed-off-by:
Vincenzo Mezzela <vincenzo.mezzela@gmail.com> Link: https://lore.kernel.org/r/20240607163350.392971-2-vincenzo.mezzela@gmail.com Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
Hongye Lin <linhongye@h-partners.com>