mbox series

[ndctl,0/2] fix errors pointed out by static analysis

Message ID 20240503205456.80004-1-jmoyer@redhat.com (mailing list archive)
Headers show
Series fix errors pointed out by static analysis | expand

Message

Jeff Moyer May 3, 2024, 8:54 p.m. UTC
From: Jeff Moyer <jmoyer@redhat.com>

This series fixes a couple of minor issues flagged by coverity.

Jeff Moyer (2):
  ndctl/keys.c: don't leak fd in error cases
  libndctl.c: major and minor numbers are unsigned

 ndctl/keys.c         | 16 ++++++++--------
 ndctl/lib/libndctl.c |  7 ++++---
 2 files changed, 12 insertions(+), 11 deletions(-)