mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-29 18:00:18 +00:00
Patch from Bart Van Assche <bart.vanassche@gmail.com>:
The patch below fixes the following checkpatch warning: WARNING: Use #include <linux/...> instead of <asm/...> This patch has been tested as follows: - Verified the patch by rereading it. - Checked that make -s clean && make -s iscsi scst && make -s -C srpt still works. - Checked that the patch generated by generate-kernel-patch still applies cleanly to the 2.6.25.4 kernel, and that the patched kernel tree still compiles, installs and boots fine, and that the iscsi-scst, ib_srpt, scst_disk and scst_vdisk modules still load. Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@399 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <asm/types.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/scatterlist.h>
|
||||
|
||||
#include "iscsi.h"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#define __SCST_DEBUG_H
|
||||
|
||||
#include <linux/autoconf.h> /* for CONFIG_* */
|
||||
#include <asm/bug.h> /* for WARN_ON_ONCE */
|
||||
#include <linux/bug.h> /* for WARN_ON_ONCE */
|
||||
|
||||
#if !defined(EXTRACHECKS) && defined(CONFIG_SCSI_TARGET_EXTRACHECKS)
|
||||
#define EXTRACHECKS
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <asm/uaccess.h>
|
||||
#include <linux/uaccess.h>
|
||||
#include <linux/file.h>
|
||||
#include <linux/fs.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
#include <linux/sched.h>
|
||||
#include <linux/kthread.h>
|
||||
#include <linux/cdrom.h>
|
||||
#include <asm/unistd.h>
|
||||
#include <asm/string.h>
|
||||
#include <linux/unistd.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
#ifdef SCST_HIGHMEM
|
||||
#include <linux/highmem.h>
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/slab.h>
|
||||
#include <linux/sched.h>
|
||||
#include <asm/unistd.h>
|
||||
#include <asm/string.h>
|
||||
#include <linux/unistd.h>
|
||||
#include <linux/string.h>
|
||||
#include <linux/kthread.h>
|
||||
|
||||
#include "scst.h"
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
#include <linux/slab.h>
|
||||
#include <linux/sched.h>
|
||||
#include <linux/mm.h>
|
||||
#include <asm/unistd.h>
|
||||
#include <asm/string.h>
|
||||
#include <linux/unistd.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
#ifdef SCST_HIGHMEM
|
||||
#include <linux/highmem.h>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <asm/scatterlist.h>
|
||||
#include <linux/scatterlist.h>
|
||||
#include <linux/workqueue.h>
|
||||
#include <linux/seq_file.h>
|
||||
|
||||
|
||||
@@ -24,9 +24,9 @@
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/slab.h>
|
||||
#include <linux/sched.h>
|
||||
#include <asm/unistd.h>
|
||||
#include <asm/string.h>
|
||||
#include <asm/uaccess.h>
|
||||
#include <linux/unistd.h>
|
||||
#include <linux/string.h>
|
||||
#include <linux/uaccess.h>
|
||||
#include <linux/proc_fs.h>
|
||||
#include <linux/seq_file.h>
|
||||
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
#include <linux/slab.h>
|
||||
#include <linux/sched.h>
|
||||
#include <linux/smp_lock.h>
|
||||
#include <asm/unistd.h>
|
||||
#include <asm/string.h>
|
||||
#include <linux/unistd.h>
|
||||
#include <linux/string.h>
|
||||
#include <linux/kthread.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user