[U-Boot] [PATCH 3/5 v4] gen: Change return type to int for hash_func_ws function pointer