Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 160544 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]
svn-based patch
scatterlist-fix.patch (text/plain), 1.04 KB, created by
Rafał Mużyło
on 2008-07-16 11:45:40 UTC
(
hide
)
Description:
svn-based patch
Filename:
MIME Type:
Creator:
Rafał Mużyło
Created:
2008-07-16 11:45:40 UTC
Size:
1.04 KB
patch
obsolete
>Index: kat/scatterlist_has_page.c >=================================================================== >--- kat/scatterlist_has_page.c (revision 393) >+++ kat/scatterlist_has_page.c (working copy) >@@ -1,7 +1,10 @@ > #include <linux/autoconf.h> > #include <linux/scatterlist.h> > >+/* Note: scatterlist.page is used in kernel (2.6.0 <= version < 2.6.24) */ >+ >-struct scatterlist s = { .page = 0 }; >+struct scatterlist s = { .page_link = 0 }; > >-//T#define KAT_SCATTERLIST_HAS_PAGE >+//T#define KAT_SCATTERLIST_HAS_PAGE_LINK > //F#include <linux/scatterlist.h> >+ >Index: vhba.c >=================================================================== >--- vhba.c (revision 393) >+++ vhba.c (working copy) >@@ -566,10 +566,10 @@ > } > uaddr += len; > >-#ifdef KAT_SCATTERLIST_HAS_PAGE >+#ifdef KAT_SCATTERLIST_HAS_PAGE_LINK >+ kaddr = kmap_atomic(sg_page(&sg[i]), KM_USER0); >+#else > kaddr = kmap_atomic(sg[i].page, KM_USER0); >-#else >- kaddr = kmap_atomic(sg_page(&sg[i]), KM_USER0); > #endif > memcpy(kaddr + sg[i].offset, kbuf, len); > kunmap_atomic(kaddr, KM_USER0);
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