Re: [PATCH v2 2/3] hw/loongarch/virt: Remove unnecessary NULL pointer checking

2025-03-14 Thread bibo mao
On 2025/3/14 下午5:11, Markus Armbruster wrote: Bibo Mao writes: There is NULL pointer checking function error_propagate() already, it is not necessary to add checking for function parameter. Here remove NULL pointer checking with function parameter. Signed-off-by: Bibo Mao --- hw/loongar

Re: [PATCH v2 2/3] hw/loongarch/virt: Remove unnecessary NULL pointer checking

2025-03-14 Thread bibo mao
On 2025/3/14 下午5:38, Markus Armbruster wrote: bibo mao writes: On 2025/3/14 下午5:11, Markus Armbruster wrote: Bibo Mao writes: There is NULL pointer checking function error_propagate() already, it is not necessary to add checking for function parameter. Here remove NULL pointer checking w

Re: [PATCH v2 2/3] hw/loongarch/virt: Remove unnecessary NULL pointer checking

2025-03-14 Thread Markus Armbruster
bibo mao writes: On 2025/3/14 下午5:11, Markus Armbruster wrote: >> Bibo Mao writes: >> >>> There is NULL pointer checking function error_propagate() already, >>> it is not necessary to add checking for function parameter. Here remove >>> NULL pointer checking with function parameter. >>> >>> Sig

Re: [PATCH v2 2/3] hw/loongarch/virt: Remove unnecessary NULL pointer checking

2025-03-14 Thread Markus Armbruster
Bibo Mao writes: > There is NULL pointer checking function error_propagate() already, > it is not necessary to add checking for function parameter. Here remove > NULL pointer checking with function parameter. > > Signed-off-by: Bibo Mao > --- > hw/loongarch/virt.c | 25 +++--

[PATCH v2 2/3] hw/loongarch/virt: Remove unnecessary NULL pointer checking

2025-03-14 Thread Bibo Mao
There is NULL pointer checking function error_propagate() already, it is not necessary to add checking for function parameter. Here remove NULL pointer checking with function parameter. Signed-off-by: Bibo Mao --- hw/loongarch/virt.c | 25 +++-- 1 file changed, 11 insertions(