Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 160555 Details for
Bug 198672
userspace cdemu - keywording
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
remove invasive api tester
vhba-1.1.0-api.patch (text/plain), 1.17 KB, created by
Ambroz Bizjak
on 2008-07-16 13:44:38 UTC
(
hide
)
Description:
remove invasive api tester
Filename:
MIME Type:
Creator:
Ambroz Bizjak
Created:
2008-07-16 13:44:38 UTC
Size:
1.17 KB
patch
obsolete
>diff -urN vhba-module-1.1.0.orig/Makefile vhba-module-1.1.0/Makefile >--- vhba-module-1.1.0.orig/Makefile 2008-06-28 12:08:33.000000000 +0200 >+++ vhba-module-1.1.0/Makefile 2008-07-16 15:33:07.000000000 +0200 >@@ -12,7 +12,7 @@ > KDIR := /lib/modules/$(KERNELRELEASE)/build > KMAKE := $(MAKE) -C $(KDIR) M=$(PWD) > >-all: kernel.api.h modules >+all: modules > > kernel.api.h: kat/*.c > kat/kat ${KDIR} $@ $^ >diff -urN vhba-module-1.1.0.orig/vhba.c vhba-module-1.1.0/vhba.c >--- vhba-module-1.1.0.orig/vhba.c 2008-06-28 12:08:33.000000000 +0200 >+++ vhba-module-1.1.0/vhba.c 2008-07-16 15:37:45.000000000 +0200 >@@ -18,6 +18,7 @@ > * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. > */ > >+#include <linux/version.h> > #include <linux/init.h> > #include <linux/module.h> > #include <linux/highmem.h> >@@ -32,7 +33,14 @@ > #include <scsi/scsi_cmnd.h> > #include <scsi/scsi_device.h> > >-#include <kernel.api.h> >+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24) >+#include <linux/scatterlist.h> >+#define KAT_SCATTERLIST_HAS_PAGE >+#endif >+ >+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,23) >+#define KAT_HAVE_SCSI_MACROS >+#endif > > MODULE_AUTHOR("Chia-I Wu"); > MODULE_VERSION(VHBA_VERSION);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 198672
:
135631
|
135633
|
135634
|
135635
|
135637
|
135638
|
135639
|
137297
|
137402
|
139813
|
139815
|
139817
|
139819
|
139821
|
139822
|
139823
|
140056
|
140058
|
140640
|
140642
|
140643
|
143207
|
145284
|
145286
|
146241
|
159468
|
160539
|
160544
| 160555 |
160556
|
160982