Re: [PATCH] kselftest: arm64: Add a null pointer check

2024-04-28 Thread Will Deacon
On Tue, 23 Apr 2024 16:21:02 +0800, Kunwu Chan wrote: > There is a 'malloc' call, which can be unsuccessful. > This patch will add the malloc failure checking > to avoid possible null dereference and give more information > about test fail reasons. > > Applied to arm64 (for-next/selftests), than

Re: [PATCH] kselftest: arm64: Add a null pointer check

2024-04-23 Thread Markus Elfring
… > This patch will add the malloc failure checking … * Please use a corresponding imperative wording for the change description. * Would you like to add the tag “Fixes” accordingly? Regards, Markus

Re: [PATCH] kselftest: arm64: Add a null pointer check

2024-04-23 Thread Muhammad Usama Anjum
On 4/23/24 1:21 PM, Kunwu Chan wrote: > There is a 'malloc' call, which can be unsuccessful. > This patch will add the malloc failure checking > to avoid possible null dereference and give more information > about test fail reasons. LGTM Reviewed-by: Muhammad Usama Anjum > > Signed-off-by: Kunw

[PATCH] kselftest: arm64: Add a null pointer check

2024-04-23 Thread Kunwu Chan
There is a 'malloc' call, which can be unsuccessful. This patch will add the malloc failure checking to avoid possible null dereference and give more information about test fail reasons. Signed-off-by: Kunwu Chan --- tools/testing/selftests/arm64/tags/tags_test.c | 4 1 file changed, 4 inse