From 4a3ba74b67eb0e751e503238b758eba112d84d02 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Wed, 28 Oct 2015 20:39:04 +0000 Subject: [PATCH] scst_local, procfs: Kernel v4.3 build fix. See also patch "fs/seq_file: convert int seq_vprint/seq_printf/etc... returns to void" (commit ID 6798a8caaf64fa68b9ab2044e070fe4545034e03). git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6561 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst_local/scst_local.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scst_local/scst_local.c b/scst_local/scst_local.c index df7e3b862..eca959e8b 100644 --- a/scst_local/scst_local.c +++ b/scst_local/scst_local.c @@ -321,11 +321,12 @@ static int scst_local_proc_info(struct Scsi_Host *host, char *buffer, #else static int scst_local_show_info(struct seq_file *file, struct Scsi_Host *host) { - return seq_printf(file, "scst_local adapter driver, version " + seq_printf(file, "scst_local adapter driver, version " "%s [%s]\nAborts=%d, Device Resets=%d, Target Resets=%d\n", SCST_LOCAL_VERSION, scst_local_version_date, atomic_read(&num_aborts), atomic_read(&num_dev_resets), atomic_read(&num_target_resets)); + return 0; } #endif