Skip to content

Commit

Permalink
Update to v6.12
Browse files Browse the repository at this point in the history
no_llseek has been taken out, see cb787f4ac0.

asm/unaligned.h has been replaced by linux/unaligned.h, see 7ec462100e.

Signed-off-by: Umer Saleem <[email protected]>
  • Loading branch information
usaleem-ix committed Oct 29, 2024
1 parent c59ed0e commit ee335d8
Show file tree
Hide file tree
Showing 20 changed files with 19 additions and 22 deletions.
2 changes: 1 addition & 1 deletion fcst/ft_sess.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/hash.h>
#include <asm/unaligned.h>
#include <linux/unaligned.h>
#include <scsi/libfc.h>
#include <scsi/fc/fc_els.h>
#include "fcst.h"
Expand Down
2 changes: 1 addition & 1 deletion iscsi-scst/kernel/iscsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include <net/tcp.h>
#include <scsi/scsi.h>
#include <asm/byteorder.h>
#include <asm/unaligned.h>
#include <linux/unaligned.h>
#ifdef INSIDE_KERNEL_TREE
#include <scst/iscsit_transport.h>
#else
Expand Down
2 changes: 0 additions & 2 deletions iscsi-scst/kernel/isert-scst/isert_login.c
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,6 @@ static dev_t devno;

static const struct file_operations listener_fops = {
.owner = THIS_MODULE,
.llseek = no_llseek,
.read = isert_listen_read,
.unlocked_ioctl = isert_listen_ioctl,
.compat_ioctl = isert_listen_ioctl,
Expand All @@ -900,7 +899,6 @@ static const struct file_operations listener_fops = {

static const struct file_operations conn_fops = {
.owner = THIS_MODULE,
.llseek = no_llseek,
.read = isert_read,
.write = isert_write,
.unlocked_ioctl = isert_ioctl,
Expand Down
2 changes: 1 addition & 1 deletion qla2x00t-32gbit/qla2x00-target/qla_tgt.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#include <linux/delay.h>
#include <linux/list.h>
#include <linux/workqueue.h>
#include <asm/unaligned.h>
#include <linux/unaligned.h>
#include <scsi/scsi.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_tcq.h>
Expand Down
2 changes: 1 addition & 1 deletion qla2x00t-32gbit/qla2x00-target/scst_qla2xxx.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
#include <linux/types.h>
#include <linux/delay.h>
#include <linux/list.h>
#include <asm/unaligned.h>
#include <linux/unaligned.h>
#include <linux/vmalloc.h>
#ifdef INSIDE_KERNEL_TREE
#include <scst/scst.h>
Expand Down
2 changes: 1 addition & 1 deletion qla2x00t-32gbit/qla_dsd.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef _QLA_DSD_H_
#define _QLA_DSD_H_

#include <asm/unaligned.h>
#include <linux/unaligned.h>

/* 32-bit data segment descriptor (8 bytes) */
struct dsd32 {
Expand Down
2 changes: 1 addition & 1 deletion qla2x00t-32gbit/qla_target.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include <linux/delay.h>
#include <linux/list.h>
#include <linux/workqueue.h>
#include <asm/unaligned.h>
#include <linux/unaligned.h>
#include <scsi/scsi.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_tcq.h>
Expand Down
2 changes: 1 addition & 1 deletion qla2x00t-32gbit/qla_target.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#define __QLA_TARGET_H

#include <linux/version.h>
#include <asm/unaligned.h>
#include <linux/unaligned.h>
#include "qla_def.h"
#include "qla_dsd.h"

Expand Down
2 changes: 1 addition & 1 deletion qla2x00t/qla2x00-target/qla2x00t.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include <linux/delay.h>
#include <linux/list.h>
#include <linux/workqueue.h>
#include <asm/unaligned.h>
#include <linux/unaligned.h>

#ifdef INSIDE_KERNEL_TREE
#include <scst/scst.h>
Expand Down
3 changes: 1 addition & 2 deletions scst/include/backport.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
#include <scsi/scsi_eh.h> /* scsi_build_sense_buffer() */
struct scsi_target;
#include <scsi/scsi_transport_fc.h> /* struct bsg_job */
#include <asm/unaligned.h> /* get_unaligned_be64() */
#include <linux/unaligned.h> /* get_unaligned_be64() */

/* <asm-generic/barrier.h> */

Expand Down Expand Up @@ -432,7 +432,6 @@ static const struct file_operations __fops = { \
.release = simple_attr_release, \
.read = debugfs_attr_read, \
.write = debugfs_attr_write, \
.llseek = no_llseek, \
}

static inline ssize_t debugfs_attr_read(struct file *file, char __user *buf,
Expand Down
2 changes: 1 addition & 1 deletion scst/include/scst.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
#include <linux/wait.h>
#include <linux/cpumask.h>
#include <linux/dlm.h>
#include <asm/unaligned.h>
#include <linux/unaligned.h>

#if 0 /* Let's disable it for now to see if users will complain about it */
#define CONFIG_SCST_PER_DEVICE_CMD_COUNT_LIMIT
Expand Down
2 changes: 1 addition & 1 deletion scst/src/dev_handlers/scst_cdrom.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <linux/cdrom.h>
#include <scsi/scsi_host.h>
#include <linux/slab.h>
#include <asm/unaligned.h>
#include <linux/unaligned.h>

#define LOG_PREFIX "dev_cdrom"

Expand Down
2 changes: 1 addition & 1 deletion scst/src/dev_handlers/scst_disk.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <linux/blkdev.h>
#include <scsi/scsi_host.h>
#include <linux/slab.h>
#include <asm/unaligned.h>
#include <linux/unaligned.h>

#define LOG_PREFIX "dev_disk"

Expand Down
2 changes: 1 addition & 1 deletion scst/src/dev_handlers/scst_modisk.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include <linux/init.h>
#include <scsi/scsi_host.h>
#include <linux/slab.h>
#include <asm/unaligned.h>
#include <linux/unaligned.h>

#define LOG_PREFIX "dev_modisk"

Expand Down
2 changes: 1 addition & 1 deletion scst/src/dev_handlers/scst_tape.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include <linux/init.h>
#include <scsi/scsi_host.h>
#include <linux/slab.h>
#include <asm/unaligned.h>
#include <linux/unaligned.h>

#define LOG_PREFIX "dev_tape"

Expand Down
2 changes: 1 addition & 1 deletion scst/src/dev_handlers/scst_vdisk.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
#include <linux/delay.h>
#include <linux/namei.h>
#include <asm/div64.h>
#include <asm/unaligned.h>
#include <linux/unaligned.h>
#include <linux/slab.h>
#include <linux/bio.h>
#include <linux/crc32c.h>
Expand Down
2 changes: 1 addition & 1 deletion scst/src/scst_copy_mgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <linux/types.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <asm/unaligned.h>
#include <linux/unaligned.h>
#include <linux/delay.h>

#ifdef INSIDE_KERNEL_TREE
Expand Down
2 changes: 1 addition & 1 deletion scst/src/scst_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include <linux/ctype.h>
#include <linux/delay.h>
#include <linux/vmalloc.h>
#include <asm/unaligned.h>
#include <linux/unaligned.h>
#include <asm/checksum.h>
#ifndef INSIDE_KERNEL_TREE
#include <linux/version.h>
Expand Down
2 changes: 1 addition & 1 deletion scst/src/scst_pres.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#include <linux/version.h>
#endif
#include <linux/vmalloc.h>
#include <asm/unaligned.h>
#include <linux/unaligned.h>

#ifdef INSIDE_KERNEL_TREE
#include <scst/scst.h>
Expand Down
2 changes: 1 addition & 1 deletion scst/src/scst_tg.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <linux/moduleparam.h>
#include <linux/delay.h>
#include <linux/kmod.h>
#include <asm/unaligned.h>
#include <linux/unaligned.h>
#ifdef INSIDE_KERNEL_TREE
#include <scst/scst.h>
#include <scst/scst_event.h>
Expand Down

0 comments on commit ee335d8

Please sign in to comment.