Skip to content

Fix opal_add_one_export

Qiujun Huang linuxppc-dev lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v5 Latest2 patches 3 repliesIn review

Changes in v5 from the cover letter

Separate the patch into two.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2powerpc/powernv: Remove redundant assignments to attr and namearch/powerpc/platforms/powernv/opal.c+3 -32 replies
2/2powerpc/powernv: Add NULL check after kzalloc in opal_add_one_exportarch/powerpc/platforms/powernv/opal.c+3 -01 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchOliver O'Halloran
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/2] Fix opal_add_one_export

We should check the return value of kzalloc, as kzalloc may fail returning NULL.

---
v4->v5:
Separate the patch into two.
v3->v4:
Added the information about coccinelle script. Added change log.
Added Oliver's Reviewed-by.
v2->v3:
Removed redundant assignment to 'attr' and 'name'.
v1->v2:
Just return -ENOMEM if attr is NULL.

Qiujun Huang (2):
powerpc/powernv: Remove redundant assignments to attr and name powerpc/powernv: Add NULL check after kzalloc in opal_add_one_export

 arch/powerpc/platforms/powernv/opal.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
Signature · 1 line
2.17.1