Loading drivers/char/mbcs.c +4 −3 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ #include <linux/delay.h> #include <linux/device.h> #include <linux/mm.h> #include <linux/fs.h> #include <linux/uio.h> #include <asm/io.h> #include <asm/uaccess.h> Loading Loading @@ -447,15 +448,15 @@ loff_t mbcs_sram_llseek(struct file * filp, loff_t off, int whence) loff_t newpos; switch (whence) { case 0: /* SEEK_SET */ case SEEK_SET: newpos = off; break; case 1: /* SEEK_CUR */ case SEEK_CUR: newpos = filp->f_pos + off; break; case 2: /* SEEK_END */ case SEEK_END: newpos = MBCS_SRAM_SIZE + off; break; Loading Loading
drivers/char/mbcs.c +4 −3 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ #include <linux/delay.h> #include <linux/device.h> #include <linux/mm.h> #include <linux/fs.h> #include <linux/uio.h> #include <asm/io.h> #include <asm/uaccess.h> Loading Loading @@ -447,15 +448,15 @@ loff_t mbcs_sram_llseek(struct file * filp, loff_t off, int whence) loff_t newpos; switch (whence) { case 0: /* SEEK_SET */ case SEEK_SET: newpos = off; break; case 1: /* SEEK_CUR */ case SEEK_CUR: newpos = filp->f_pos + off; break; case 2: /* SEEK_END */ case SEEK_END: newpos = MBCS_SRAM_SIZE + off; break; Loading