Continue to the next line if current one does not contain async event
information.
Signed-off-by: Keith Busch <kbusch@kernel.org>
#include <unistd.h>
#include <time.h>
#include <libnvme.h>
-
+
struct events {
nvme_ctrl_t c;
int uevent_fd;
else
printf("telemetry log save as %s, wrote:%d size:%d\n", buf,
ret, log_size);
-
close(fd);
free(log);
}
__u32 aen, type, info, lid;
if (sscanf(p, "NVME_AEN=0x%08x", &aen) != 1)
- break;
+ continue;
type = aen & 0x07;
info = (aen >> 8) & 0xff;