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
This commit is contained in:
Bart Van Assche
2015-10-28 20:39:04 +00:00
parent b5c5a3eb7e
commit 4a3ba74b67

View File

@@ -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