From: Al Viro Date: Sun, 31 Mar 2013 03:58:05 +0000 (-0400) Subject: scsi: saner replacements for ->proc_info() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~74^2~149 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ffddfbb834557b8babc7f050b83d11dbcbb1008;p=pandora-kernel.git scsi: saner replacements for ->proc_info() It's still an obsolete interface; don't introduce those in new drivers. However, it's saner than the ->proc_info() and commits after this one will convert the existing ->proc_info() users to it. The read side is ->show_info(seq_file *, struct Scsi_Host *); use seq_... for generating contents. The write side is ->write_info(struct Scsi_Host *, char *, int). Again, this is driven by procfs needs; we are going to kill ->write_proc() and ->read_proc() and this is the main obstacle to burying that piece of shit. Signed-off-by: Al Viro --- Reading git-diff-tree failed