]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
virtium: Declare local symbols static
authorBart Van Assche <bvanassche@acm.org>
Tue, 18 Jun 2019 18:14:15 +0000 (11:14 -0700)
committerBart Van Assche <bvanassche@acm.org>
Wed, 19 Jun 2019 16:17:14 +0000 (09:17 -0700)
This patch avoids that sparse complains about missing declarations.

Cc: Quyen Truong <quyen.truong@virtium.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
plugins/virtium/virtium-nvme.c

index ca5f5774af8cdc31d0f61e5a07c88be86593e3f4..7d91ef8d29dd8ee779f6a54b6fea110f0d66b968 100644 (file)
@@ -377,7 +377,9 @@ static int vt_update_vtview_log_header(const int fd, const char *path, const str
     return (ret);
 }
 
-void vt_build_identify_lv2(unsigned int data, unsigned int start, unsigned int count, const char **table, bool isEnd)
+static void vt_build_identify_lv2(unsigned int data, unsigned int start,
+                                 unsigned int count, const char **table,
+                                 bool isEnd)
 {
     unsigned int i, end, pos, sh = 1;
     unsigned int temp;