Skip to content

add -Wmaybe-uninitialized

Vishal Verma linux-nvdimm nvdimm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ndctl, inject-smart: cleanup uninitialized variable warningsndctl/inject-smart.c+2 -20 replies
2/3ndctl, update: fix uninitialized variable warningsndctl/update.c+1 -10 replies
3/3ndctl, update: remove the check for !cmd when dereferencing itndctl/update.c+2 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [ndctl PATCH 0/3] add -Wmaybe-uninitialized

A few misc updates. Add the -Wmaybe-uninitialized flag to configure, and fix the warnings it results in.
Also in update.c, remove a new unnecessary if (cmd) - unref checks as unref already handles the NULL case.

Vishal Verma (3):
ndctl, inject-smart: cleanup uninitialized variable warnings ndctl, update: fix uninitialized variable warnings ndctl, update: remove the check for !cmd when dereferencing it

 ndctl/inject-smart.c | 4 ++--
 ndctl/update.c       | 8 +++-----
 2 files changed, 5 insertions(+), 7 deletions(-)
Signature · 6 lines
2.14.3

_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm