OpenSBI Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/6] lib: fixes for fdt functions
@ 2022-11-28  9:14 Heinrich Schuchardt
  2022-11-28  9:14 ` [PATCH v2 1/6] lib: simplify fdt_parse_plmt_node() Heinrich Schuchardt
                   ` (6 more replies)
  0 siblings, 7 replies; 22+ messages in thread
From: Heinrich Schuchardt @ 2022-11-28  9:14 UTC (permalink / raw)
  To: opensbi

* Use correct type for variables used in error checks
* Check correct variables
* Avoid duplicates checks
* Don't assign values that are never used.

v2:
	check correct variables
	fix fdt_parse_aclint_node() too

Heinrich Schuchardt (6):
  lib: simplify fdt_parse_plmt_node()
  lib: simplify fdt_parse_plicsw_node()
  lib: fix fdt_parse_plmt_node()
  lib: fix fdt_parse_plicsw_node()
  lib: simplify fdt_translate_address()
  lib: fix fdt_parse_aclint_node()

 lib/utils/fdt/fdt_helper.c | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

-- 
2.37.2



^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2022-12-05  5:15 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-28  9:14 [PATCH v2 0/6] lib: fixes for fdt functions Heinrich Schuchardt
2022-11-28  9:14 ` [PATCH v2 1/6] lib: simplify fdt_parse_plmt_node() Heinrich Schuchardt
2022-12-02 15:55   ` Bin Meng
2022-11-28  9:14 ` [PATCH v2 2/6] lib: simplify fdt_parse_plicsw_node() Heinrich Schuchardt
2022-12-02 15:55   ` Bin Meng
2022-11-28  9:14 ` [PATCH v2 3/6] lib: fix fdt_parse_plmt_node() Heinrich Schuchardt
2022-11-28 12:52   ` Xiang W
2022-11-28 12:52   ` Xiang W
2022-11-29 10:42   ` Yu-Chien Peter Lin
2022-12-02 15:55   ` Bin Meng
2022-11-28  9:14 ` [PATCH v2 4/6] lib: fix fdt_parse_plicsw_node() Heinrich Schuchardt
2022-11-28 12:53   ` Xiang W
2022-11-28 12:53   ` Xiang W
2022-11-29 10:44   ` Yu-Chien Peter Lin
2022-12-02 15:55   ` Bin Meng
2022-11-28  9:14 ` [PATCH v2 5/6] lib: simplify fdt_translate_address() Heinrich Schuchardt
2022-12-02 15:55   ` Bin Meng
2022-11-28  9:14 ` [PATCH v2 6/6] lib: fix fdt_parse_aclint_node() Heinrich Schuchardt
2022-11-28 12:54   ` Xiang W
2022-11-28 12:54   ` Xiang W
2022-12-02 15:55   ` Bin Meng
2022-12-05  5:15 ` [PATCH v2 0/6] lib: fixes for fdt functions Anup Patel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox