Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
45aab7d4
Commit
45aab7d4
authored
Feb 25, 2003
by
Michael Hayes
Committed by
Linus Torvalds
Feb 25, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Spelling fixes: guarantee
guarentee -> guarantee guarenteed -> guaranteed guarentees -> guarantees
parent
943a8df8
Changes
26
Hide whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
31 additions
and
31 deletions
+31
-31
arch/alpha/kernel/pci_iommu.c
arch/alpha/kernel/pci_iommu.c
+1
-1
arch/ia64/lib/swiotlb.c
arch/ia64/lib/swiotlb.c
+1
-1
arch/mips64/sgi-ip27/ip27-pci-dma.c
arch/mips64/sgi-ip27/ip27-pci-dma.c
+1
-1
arch/sparc/kernel/ioport.c
arch/sparc/kernel/ioport.c
+1
-1
arch/sparc/mm/sun4c.c
arch/sparc/mm/sun4c.c
+1
-1
arch/sparc64/kernel/traps.c
arch/sparc64/kernel/traps.c
+1
-1
arch/sparc64/lib/U3copy_from_user.S
arch/sparc64/lib/U3copy_from_user.S
+2
-2
arch/sparc64/lib/U3copy_in_user.S
arch/sparc64/lib/U3copy_in_user.S
+2
-2
arch/sparc64/lib/U3copy_to_user.S
arch/sparc64/lib/U3copy_to_user.S
+2
-2
arch/sparc64/lib/U3memcpy.S
arch/sparc64/lib/U3memcpy.S
+2
-2
drivers/block/cciss_scsi.c
drivers/block/cciss_scsi.c
+1
-1
drivers/char/vt.c
drivers/char/vt.c
+1
-1
drivers/net/pppoe.c
drivers/net/pppoe.c
+1
-1
drivers/net/sungem.c
drivers/net/sungem.c
+1
-1
drivers/net/sungem.h
drivers/net/sungem.h
+1
-1
drivers/net/tg3.c
drivers/net/tg3.c
+2
-2
fs/bio.c
fs/bio.c
+1
-1
fs/mpage.c
fs/mpage.c
+1
-1
include/asm-alpha/pci.h
include/asm-alpha/pci.h
+1
-1
include/asm-mips/pci.h
include/asm-mips/pci.h
+1
-1
include/asm-mips64/pci.h
include/asm-mips64/pci.h
+1
-1
include/asm-sh/pci.h
include/asm-sh/pci.h
+1
-1
include/asm-sparc/pci.h
include/asm-sparc/pci.h
+1
-1
include/asm-sparc64/pbm.h
include/asm-sparc64/pbm.h
+1
-1
include/asm-sparc64/pci.h
include/asm-sparc64/pci.h
+1
-1
net/ipv4/netfilter/ip_conntrack_irc.c
net/ipv4/netfilter/ip_conntrack_irc.c
+1
-1
No files found.
arch/alpha/kernel/pci_iommu.c
View file @
45aab7d4
...
@@ -318,7 +318,7 @@ pci_map_page(struct pci_dev *pdev, struct page *page, unsigned long offset,
...
@@ -318,7 +318,7 @@ pci_map_page(struct pci_dev *pdev, struct page *page, unsigned long offset,
/* Unmap a single streaming mode DMA translation. The DMA_ADDR and
/* Unmap a single streaming mode DMA translation. The DMA_ADDR and
SIZE must match what was provided for in a previous pci_map_single
SIZE must match what was provided for in a previous pci_map_single
call. All other usages are undefined. After this call, reads by
call. All other usages are undefined. After this call, reads by
the cpu to the buffer are guar
e
nteed to see whatever the device
the cpu to the buffer are guar
a
nteed to see whatever the device
wrote there. */
wrote there. */
void
void
...
...
arch/ia64/lib/swiotlb.c
View file @
45aab7d4
...
@@ -359,7 +359,7 @@ mark_clean (void *addr, size_t size)
...
@@ -359,7 +359,7 @@ mark_clean (void *addr, size_t size)
* was provided for in a previous swiotlb_map_single call. All other usages are
* was provided for in a previous swiotlb_map_single call. All other usages are
* undefined.
* undefined.
*
*
* After this call, reads by the cpu to the buffer are guar
e
nteed to see whatever the
* After this call, reads by the cpu to the buffer are guar
a
nteed to see whatever the
* device wrote there.
* device wrote there.
*/
*/
void
void
...
...
arch/mips64/sgi-ip27/ip27-pci-dma.c
View file @
45aab7d4
...
@@ -74,7 +74,7 @@ dma_addr_t pci_map_single(struct pci_dev *hwdev, void *ptr, size_t size,
...
@@ -74,7 +74,7 @@ dma_addr_t pci_map_single(struct pci_dev *hwdev, void *ptr, size_t size,
* must match what was provided for in a previous pci_map_single call. All
* must match what was provided for in a previous pci_map_single call. All
* other usages are undefined.
* other usages are undefined.
*
*
* After this call, reads by the cpu to the buffer are guar
e
nteed to see
* After this call, reads by the cpu to the buffer are guar
a
nteed to see
* whatever the device wrote there.
* whatever the device wrote there.
*/
*/
void
pci_unmap_single
(
struct
pci_dev
*
hwdev
,
dma_addr_t
dma_addr
,
void
pci_unmap_single
(
struct
pci_dev
*
hwdev
,
dma_addr_t
dma_addr
,
...
...
arch/sparc/kernel/ioport.c
View file @
45aab7d4
...
@@ -599,7 +599,7 @@ dma_addr_t pci_map_single(struct pci_dev *hwdev, void *ptr, size_t size,
...
@@ -599,7 +599,7 @@ dma_addr_t pci_map_single(struct pci_dev *hwdev, void *ptr, size_t size,
* must match what was provided for in a previous pci_map_single call. All
* must match what was provided for in a previous pci_map_single call. All
* other usages are undefined.
* other usages are undefined.
*
*
* After this call, reads by the cpu to the buffer are guar
e
nteed to see
* After this call, reads by the cpu to the buffer are guar
a
nteed to see
* whatever the device wrote there.
* whatever the device wrote there.
*/
*/
void
pci_unmap_single
(
struct
pci_dev
*
hwdev
,
dma_addr_t
ba
,
size_t
size
,
void
pci_unmap_single
(
struct
pci_dev
*
hwdev
,
dma_addr_t
ba
,
size_t
size
,
...
...
arch/sparc/mm/sun4c.c
View file @
45aab7d4
...
@@ -1042,7 +1042,7 @@ static struct thread_info *sun4c_alloc_thread_info(void)
...
@@ -1042,7 +1042,7 @@ static struct thread_info *sun4c_alloc_thread_info(void)
get_locked_segment
(
addr
);
get_locked_segment
(
addr
);
/* We are changing the virtual color of the page(s)
/* We are changing the virtual color of the page(s)
* so we must flush the cache to guar
e
ntee consistency.
* so we must flush the cache to guar
a
ntee consistency.
*/
*/
sun4c_flush_page
(
pages
);
sun4c_flush_page
(
pages
);
#ifndef CONFIG_SUN4
#ifndef CONFIG_SUN4
...
...
arch/sparc64/kernel/traps.c
View file @
45aab7d4
...
@@ -571,7 +571,7 @@ unsigned long __init cheetah_tune_scheduling(void)
...
@@ -571,7 +571,7 @@ unsigned long __init cheetah_tune_scheduling(void)
unsigned
long
flush_linesize
=
ecache_flush_linesize
;
unsigned
long
flush_linesize
=
ecache_flush_linesize
;
unsigned
long
flush_size
=
ecache_flush_size
;
unsigned
long
flush_size
=
ecache_flush_size
;
/* Run through the whole cache to guar
e
ntee the timed loop
/* Run through the whole cache to guar
a
ntee the timed loop
* is really displacing cache lines.
* is really displacing cache lines.
*/
*/
__asm__
__volatile__
(
"1: subcc %0, %4, %0
\n\t
"
__asm__
__volatile__
(
"1: subcc %0, %4, %0
\n\t
"
...
...
arch/sparc64/lib/U3copy_from_user.S
View file @
45aab7d4
...
@@ -416,7 +416,7 @@ U3copy_from_user_toosmall:
...
@@ -416,7 +416,7 @@ U3copy_from_user_toosmall:
2
:
VISEntryHalf
!
MS
+
MS
2
:
VISEntryHalf
!
MS
+
MS
/
*
Compute
(
len
-
(
len
%
8
))
into
%
g2
.
This
is
guar
e
nteed
/
*
Compute
(
len
-
(
len
%
8
))
into
%
g2
.
This
is
guar
a
nteed
*
to
be
nonzero
.
*
to
be
nonzero
.
*/
*/
andn
%
o2
,
0x7
,
%
g2
!
A0
Group
andn
%
o2
,
0x7
,
%
g2
!
A0
Group
...
@@ -425,7 +425,7 @@ U3copy_from_user_toosmall:
...
@@ -425,7 +425,7 @@ U3copy_from_user_toosmall:
*
one
8
-
byte
longword
past
the
end
of
src
.
It
actually
*
one
8
-
byte
longword
past
the
end
of
src
.
It
actually
*
does
not
,
as
%
g2
is
subtracted
as
loads
are
done
from
*
does
not
,
as
%
g2
is
subtracted
as
loads
are
done
from
*
src
,
so
we
always
stop
before
running
off
the
end
.
*
src
,
so
we
always
stop
before
running
off
the
end
.
*
Also
,
we
are
guar
e
nteed
to
have
at
least
0x10
bytes
*
Also
,
we
are
guar
a
nteed
to
have
at
least
0x10
bytes
*
to
move
here
.
*
to
move
here
.
*/
*/
sub
%
g2
,
0x8
,
%
g2
!
A0
Group
(
reg
-
dep
)
sub
%
g2
,
0x8
,
%
g2
!
A0
Group
(
reg
-
dep
)
...
...
arch/sparc64/lib/U3copy_in_user.S
View file @
45aab7d4
...
@@ -447,7 +447,7 @@ U3copy_in_user_toosmall:
...
@@ -447,7 +447,7 @@ U3copy_in_user_toosmall:
2
:
VISEntryHalf
!
MS
+
MS
2
:
VISEntryHalf
!
MS
+
MS
/
*
Compute
(
len
-
(
len
%
8
))
into
%
g2
.
This
is
guar
e
nteed
/
*
Compute
(
len
-
(
len
%
8
))
into
%
g2
.
This
is
guar
a
nteed
*
to
be
nonzero
.
*
to
be
nonzero
.
*/
*/
andn
%
o2
,
0x7
,
%
g2
!
A0
Group
andn
%
o2
,
0x7
,
%
g2
!
A0
Group
...
@@ -456,7 +456,7 @@ U3copy_in_user_toosmall:
...
@@ -456,7 +456,7 @@ U3copy_in_user_toosmall:
*
one
8
-
byte
longword
past
the
end
of
src
.
It
actually
*
one
8
-
byte
longword
past
the
end
of
src
.
It
actually
*
does
not
,
as
%
g2
is
subtracted
as
loads
are
done
from
*
does
not
,
as
%
g2
is
subtracted
as
loads
are
done
from
*
src
,
so
we
always
stop
before
running
off
the
end
.
*
src
,
so
we
always
stop
before
running
off
the
end
.
*
Also
,
we
are
guar
e
nteed
to
have
at
least
0x10
bytes
*
Also
,
we
are
guar
a
nteed
to
have
at
least
0x10
bytes
*
to
move
here
.
*
to
move
here
.
*/
*/
sub
%
g2
,
0x8
,
%
g2
!
A0
Group
(
reg
-
dep
)
sub
%
g2
,
0x8
,
%
g2
!
A0
Group
(
reg
-
dep
)
...
...
arch/sparc64/lib/U3copy_to_user.S
View file @
45aab7d4
...
@@ -463,7 +463,7 @@ U3copy_to_user_toosmall:
...
@@ -463,7 +463,7 @@ U3copy_to_user_toosmall:
2
:
VISEntryHalf
!
MS
+
MS
2
:
VISEntryHalf
!
MS
+
MS
/
*
Compute
(
len
-
(
len
%
8
))
into
%
g2
.
This
is
guar
e
nteed
/
*
Compute
(
len
-
(
len
%
8
))
into
%
g2
.
This
is
guar
a
nteed
*
to
be
nonzero
.
*
to
be
nonzero
.
*/
*/
andn
%
o2
,
0x7
,
%
g2
!
A0
Group
andn
%
o2
,
0x7
,
%
g2
!
A0
Group
...
@@ -472,7 +472,7 @@ U3copy_to_user_toosmall:
...
@@ -472,7 +472,7 @@ U3copy_to_user_toosmall:
*
one
8
-
byte
longword
past
the
end
of
src
.
It
actually
*
one
8
-
byte
longword
past
the
end
of
src
.
It
actually
*
does
not
,
as
%
g2
is
subtracted
as
loads
are
done
from
*
does
not
,
as
%
g2
is
subtracted
as
loads
are
done
from
*
src
,
so
we
always
stop
before
running
off
the
end
.
*
src
,
so
we
always
stop
before
running
off
the
end
.
*
Also
,
we
are
guar
e
nteed
to
have
at
least
0x10
bytes
*
Also
,
we
are
guar
a
nteed
to
have
at
least
0x10
bytes
*
to
move
here
.
*
to
move
here
.
*/
*/
sub
%
g2
,
0x8
,
%
g2
!
A0
Group
(
reg
-
dep
)
sub
%
g2
,
0x8
,
%
g2
!
A0
Group
(
reg
-
dep
)
...
...
arch/sparc64/lib/U3memcpy.S
View file @
45aab7d4
...
@@ -344,7 +344,7 @@ U3memcpy_toosmall:
...
@@ -344,7 +344,7 @@ U3memcpy_toosmall:
2
:
VISEntryHalf
!
MS
+
MS
2
:
VISEntryHalf
!
MS
+
MS
/
*
Compute
(
len
-
(
len
%
8
))
into
%
g2
.
This
is
guar
e
nteed
/
*
Compute
(
len
-
(
len
%
8
))
into
%
g2
.
This
is
guar
a
nteed
*
to
be
nonzero
.
*
to
be
nonzero
.
*/
*/
andn
%
o2
,
0x7
,
%
g2
!
A0
Group
andn
%
o2
,
0x7
,
%
g2
!
A0
Group
...
@@ -353,7 +353,7 @@ U3memcpy_toosmall:
...
@@ -353,7 +353,7 @@ U3memcpy_toosmall:
*
one
8
-
byte
longword
past
the
end
of
src
.
It
actually
*
one
8
-
byte
longword
past
the
end
of
src
.
It
actually
*
does
not
,
as
%
g2
is
subtracted
as
loads
are
done
from
*
does
not
,
as
%
g2
is
subtracted
as
loads
are
done
from
*
src
,
so
we
always
stop
before
running
off
the
end
.
*
src
,
so
we
always
stop
before
running
off
the
end
.
*
Also
,
we
are
guar
e
nteed
to
have
at
least
0x10
bytes
*
Also
,
we
are
guar
a
nteed
to
have
at
least
0x10
bytes
*
to
move
here
.
*
to
move
here
.
*/
*/
sub
%
g2
,
0x8
,
%
g2
!
A0
Group
(
reg
-
dep
)
sub
%
g2
,
0x8
,
%
g2
!
A0
Group
(
reg
-
dep
)
...
...
drivers/block/cciss_scsi.c
View file @
45aab7d4
...
@@ -210,7 +210,7 @@ scsi_cmd_stack_setup(int ctlr, struct cciss_scsi_adapter_data_t *sa)
...
@@ -210,7 +210,7 @@ scsi_cmd_stack_setup(int ctlr, struct cciss_scsi_adapter_data_t *sa)
stk
=
&
sa
->
cmd_stack
;
stk
=
&
sa
->
cmd_stack
;
size
=
sizeof
(
struct
cciss_scsi_cmd_stack_elem_t
)
*
CMD_STACK_SIZE
;
size
=
sizeof
(
struct
cciss_scsi_cmd_stack_elem_t
)
*
CMD_STACK_SIZE
;
// pci_alloc_consistent guar
e
ntees 32-bit DMA address will
// pci_alloc_consistent guar
a
ntees 32-bit DMA address will
// be used
// be used
stk
->
pool
=
(
struct
cciss_scsi_cmd_stack_elem_t
*
)
stk
->
pool
=
(
struct
cciss_scsi_cmd_stack_elem_t
*
)
...
...
drivers/char/vt.c
View file @
45aab7d4
...
@@ -1882,7 +1882,7 @@ static int do_con_write(struct tty_struct * tty, int from_user,
...
@@ -1882,7 +1882,7 @@ static int do_con_write(struct tty_struct * tty, int from_user,
buf
=
con_buf
;
buf
=
con_buf
;
}
}
/* At this point 'buf' is guar
e
nteed to be a kernel buffer
/* At this point 'buf' is guar
a
nteed to be a kernel buffer
* and therefore no access to userspace (and therefore sleeping)
* and therefore no access to userspace (and therefore sleeping)
* will be needed. The con_buf_sem serializes all tty based
* will be needed. The con_buf_sem serializes all tty based
* console rendering and vcs write/read operations. We hold
* console rendering and vcs write/read operations. We hold
...
...
drivers/net/pppoe.c
View file @
45aab7d4
...
@@ -292,7 +292,7 @@ static void pppoe_flush_dev(struct net_device *dev)
...
@@ -292,7 +292,7 @@ static void pppoe_flush_dev(struct net_device *dev)
/* Now restart from the beginning of this
/* Now restart from the beginning of this
* hash chain. We always NULL out pppoe_dev
* hash chain. We always NULL out pppoe_dev
* so we are guar
e
nteed to make forward
* so we are guar
a
nteed to make forward
* progress.
* progress.
*/
*/
po
=
item_hash_table
[
hash
];
po
=
item_hash_table
[
hash
];
...
...
drivers/net/sungem.c
View file @
45aab7d4
...
@@ -2991,7 +2991,7 @@ static int __devinit gem_init_one(struct pci_dev *pdev,
...
@@ -2991,7 +2991,7 @@ static int __devinit gem_init_one(struct pci_dev *pdev,
gem_begin_auto_negotiation
(
gp
,
NULL
);
gem_begin_auto_negotiation
(
gp
,
NULL
);
spin_unlock_irq
(
&
gp
->
lock
);
spin_unlock_irq
(
&
gp
->
lock
);
/* It is guar
e
nteed that the returned buffer will be at least
/* It is guar
a
nteed that the returned buffer will be at least
* PAGE_SIZE aligned.
* PAGE_SIZE aligned.
*/
*/
gp
->
init_block
=
(
struct
gem_init_block
*
)
gp
->
init_block
=
(
struct
gem_init_block
*
)
...
...
drivers/net/sungem.h
View file @
45aab7d4
...
@@ -830,7 +830,7 @@ struct gem_txd {
...
@@ -830,7 +830,7 @@ struct gem_txd {
* RX Kick register) by the driver it must make sure the buffers are
* RX Kick register) by the driver it must make sure the buffers are
* truly ready and that the ownership bits are set properly.
* truly ready and that the ownership bits are set properly.
*
*
* Even though GEM modifies the RX descriptors, it guar
e
ntees that the
* Even though GEM modifies the RX descriptors, it guar
a
ntees that the
* buffer DMA address field will stay the same when it performs these
* buffer DMA address field will stay the same when it performs these
* updates. Therefore it can be used to keep track of DMA mappings
* updates. Therefore it can be used to keep track of DMA mappings
* by the host driver just as in the TX descriptor case above.
* by the host driver just as in the TX descriptor case above.
...
...
drivers/net/tg3.c
View file @
45aab7d4
...
@@ -2194,7 +2194,7 @@ static int tigon3_4gb_hwbug_workaround(struct tg3 *tp, struct sk_buff *skb,
...
@@ -2194,7 +2194,7 @@ static int tigon3_4gb_hwbug_workaround(struct tg3 *tp, struct sk_buff *skb,
int
i
;
int
i
;
#if !PCI_DMA_BUS_IS_PHYS
#if !PCI_DMA_BUS_IS_PHYS
/* IOMMU, just map the guilty area again which is guar
e
nteed to
/* IOMMU, just map the guilty area again which is guar
a
nteed to
* use different addresses.
* use different addresses.
*/
*/
...
@@ -2229,7 +2229,7 @@ static int tigon3_4gb_hwbug_workaround(struct tg3 *tp, struct sk_buff *skb,
...
@@ -2229,7 +2229,7 @@ static int tigon3_4gb_hwbug_workaround(struct tg3 *tp, struct sk_buff *skb,
return
-
1
;
return
-
1
;
}
}
/* New SKB is guar
e
nteed to be linear. */
/* New SKB is guar
a
nteed to be linear. */
entry
=
*
start
;
entry
=
*
start
;
new_addr
=
pci_map_single
(
tp
->
pdev
,
new_skb
->
data
,
new_skb
->
len
,
new_addr
=
pci_map_single
(
tp
->
pdev
,
new_skb
->
data
,
new_skb
->
len
,
PCI_DMA_TODEVICE
);
PCI_DMA_TODEVICE
);
...
...
fs/bio.c
View file @
45aab7d4
...
@@ -334,7 +334,7 @@ struct bio *bio_copy(struct bio *bio, int gfp_mask, int copy)
...
@@ -334,7 +334,7 @@ struct bio *bio_copy(struct bio *bio, int gfp_mask, int copy)
* @bdev: I/O target
* @bdev: I/O target
*
*
* Return the approximate number of pages we can send to this target.
* Return the approximate number of pages we can send to this target.
* There's no guar
e
ntee that you will be able to fit this number of pages
* There's no guar
a
ntee that you will be able to fit this number of pages
* into a bio, it does not account for dynamic restrictions that vary
* into a bio, it does not account for dynamic restrictions that vary
* on offset.
* on offset.
*/
*/
...
...
fs/mpage.c
View file @
45aab7d4
...
@@ -598,7 +598,7 @@ mpage_writepage(struct bio *bio, struct page *page, get_block_t get_block,
...
@@ -598,7 +598,7 @@ mpage_writepage(struct bio *bio, struct page *page, get_block_t get_block,
* If a page is already under I/O, generic_writepages() skips it, even
* If a page is already under I/O, generic_writepages() skips it, even
* if it's dirty. This is desirable behaviour for memory-cleaning writeback,
* if it's dirty. This is desirable behaviour for memory-cleaning writeback,
* but it is INCORRECT for data-integrity system calls such as fsync(). fsync()
* but it is INCORRECT for data-integrity system calls such as fsync(). fsync()
* and msync() need to guar
e
ntee that all the data which was dirty at the time
* and msync() need to guar
a
ntee that all the data which was dirty at the time
* the call was made get new I/O started against them. So if called_for_sync()
* the call was made get new I/O started against them. So if called_for_sync()
* is true, we must wait for existing IO to complete.
* is true, we must wait for existing IO to complete.
*
*
...
...
include/asm-alpha/pci.h
View file @
45aab7d4
...
@@ -97,7 +97,7 @@ extern dma_addr_t pci_map_page(struct pci_dev *, struct page *,
...
@@ -97,7 +97,7 @@ extern dma_addr_t pci_map_page(struct pci_dev *, struct page *,
/* Unmap a single streaming mode DMA translation. The DMA_ADDR and
/* Unmap a single streaming mode DMA translation. The DMA_ADDR and
SIZE must match what was provided for in a previous pci_map_single
SIZE must match what was provided for in a previous pci_map_single
call. All other usages are undefined. After this call, reads by
call. All other usages are undefined. After this call, reads by
the cpu to the buffer are guar
e
nteed to see whatever the device
the cpu to the buffer are guar
a
nteed to see whatever the device
wrote there. */
wrote there. */
extern
void
pci_unmap_single
(
struct
pci_dev
*
,
dma_addr_t
,
size_t
,
int
);
extern
void
pci_unmap_single
(
struct
pci_dev
*
,
dma_addr_t
,
size_t
,
int
);
...
...
include/asm-mips/pci.h
View file @
45aab7d4
...
@@ -102,7 +102,7 @@ extern inline dma_addr_t pci_map_single(struct pci_dev *hwdev, void *ptr,
...
@@ -102,7 +102,7 @@ extern inline dma_addr_t pci_map_single(struct pci_dev *hwdev, void *ptr,
* must match what was provided for in a previous pci_map_single call. All
* must match what was provided for in a previous pci_map_single call. All
* other usages are undefined.
* other usages are undefined.
*
*
* After this call, reads by the cpu to the buffer are guar
e
nteed to see
* After this call, reads by the cpu to the buffer are guar
a
nteed to see
* whatever the device wrote there.
* whatever the device wrote there.
*/
*/
extern
inline
void
pci_unmap_single
(
struct
pci_dev
*
hwdev
,
dma_addr_t
dma_addr
,
extern
inline
void
pci_unmap_single
(
struct
pci_dev
*
hwdev
,
dma_addr_t
dma_addr
,
...
...
include/asm-mips64/pci.h
View file @
45aab7d4
...
@@ -126,7 +126,7 @@ static inline dma_addr_t pci_map_single(struct pci_dev *hwdev, void *ptr,
...
@@ -126,7 +126,7 @@ static inline dma_addr_t pci_map_single(struct pci_dev *hwdev, void *ptr,
* must match what was provided for in a previous pci_map_single call. All
* must match what was provided for in a previous pci_map_single call. All
* other usages are undefined.
* other usages are undefined.
*
*
* After this call, reads by the cpu to the buffer are guar
e
nteed to see
* After this call, reads by the cpu to the buffer are guar
a
nteed to see
* whatever the device wrote there.
* whatever the device wrote there.
*/
*/
static
inline
void
pci_unmap_single
(
struct
pci_dev
*
hwdev
,
dma_addr_t
dma_addr
,
static
inline
void
pci_unmap_single
(
struct
pci_dev
*
hwdev
,
dma_addr_t
dma_addr
,
...
...
include/asm-sh/pci.h
View file @
45aab7d4
...
@@ -118,7 +118,7 @@ static inline dma_addr_t pci_map_single(struct pci_dev *hwdev, void *ptr,
...
@@ -118,7 +118,7 @@ static inline dma_addr_t pci_map_single(struct pci_dev *hwdev, void *ptr,
* must match what was provided for in a previous pci_map_single call. All
* must match what was provided for in a previous pci_map_single call. All
* other usages are undefined.
* other usages are undefined.
*
*
* After this call, reads by the cpu to the buffer are guar
e
nteed to see
* After this call, reads by the cpu to the buffer are guar
a
nteed to see
* whatever the device wrote there.
* whatever the device wrote there.
*/
*/
static
inline
void
pci_unmap_single
(
struct
pci_dev
*
hwdev
,
dma_addr_t
dma_addr
,
static
inline
void
pci_unmap_single
(
struct
pci_dev
*
hwdev
,
dma_addr_t
dma_addr
,
...
...
include/asm-sparc/pci.h
View file @
45aab7d4
...
@@ -59,7 +59,7 @@ extern dma_addr_t pci_map_single(struct pci_dev *hwdev, void *ptr, size_t size,
...
@@ -59,7 +59,7 @@ extern dma_addr_t pci_map_single(struct pci_dev *hwdev, void *ptr, size_t size,
* must match what was provided for in a previous pci_map_single call. All
* must match what was provided for in a previous pci_map_single call. All
* other usages are undefined.
* other usages are undefined.
*
*
* After this call, reads by the cpu to the buffer are guar
e
nteed to see
* After this call, reads by the cpu to the buffer are guar
a
nteed to see
* whatever the device wrote there.
* whatever the device wrote there.
*/
*/
extern
void
pci_unmap_single
(
struct
pci_dev
*
hwdev
,
dma_addr_t
dma_addr
,
size_t
size
,
int
direction
);
extern
void
pci_unmap_single
(
struct
pci_dev
*
hwdev
,
dma_addr_t
dma_addr
,
size_t
size
,
int
direction
);
...
...
include/asm-sparc64/pbm.h
View file @
45aab7d4
...
@@ -59,7 +59,7 @@ struct pci_iommu {
...
@@ -59,7 +59,7 @@ struct pci_iommu {
unsigned
long
iommu_ctxflush
;
/* IOMMU context flush register */
unsigned
long
iommu_ctxflush
;
/* IOMMU context flush register */
/* This is a register in the PCI controller, which if
/* This is a register in the PCI controller, which if
* read will have no side-effects but will guar
e
ntee
* read will have no side-effects but will guar
a
ntee
* completion of all previous writes into IOMMU/STC.
* completion of all previous writes into IOMMU/STC.
*/
*/
unsigned
long
write_complete_reg
;
unsigned
long
write_complete_reg
;
...
...
include/asm-sparc64/pci.h
View file @
45aab7d4
...
@@ -67,7 +67,7 @@ extern dma_addr_t pci_map_single(struct pci_dev *hwdev, void *ptr, size_t size,
...
@@ -67,7 +67,7 @@ extern dma_addr_t pci_map_single(struct pci_dev *hwdev, void *ptr, size_t size,
* must match what was provided for in a previous pci_map_single call. All
* must match what was provided for in a previous pci_map_single call. All
* other usages are undefined.
* other usages are undefined.
*
*
* After this call, reads by the cpu to the buffer are guar
e
nteed to see
* After this call, reads by the cpu to the buffer are guar
a
nteed to see
* whatever the device wrote there.
* whatever the device wrote there.
*/
*/
extern
void
pci_unmap_single
(
struct
pci_dev
*
hwdev
,
dma_addr_t
dma_addr
,
size_t
size
,
int
direction
);
extern
void
pci_unmap_single
(
struct
pci_dev
*
hwdev
,
dma_addr_t
dma_addr
,
size_t
size
,
int
direction
);
...
...
net/ipv4/netfilter/ip_conntrack_irc.c
View file @
45aab7d4
...
@@ -107,7 +107,7 @@ int parse_dcc(char *data, char *data_end, u_int32_t * ip, u_int16_t * port,
...
@@ -107,7 +107,7 @@ int parse_dcc(char *data, char *data_end, u_int32_t * ip, u_int16_t * port,
static
int
help
(
const
struct
iphdr
*
iph
,
size_t
len
,
static
int
help
(
const
struct
iphdr
*
iph
,
size_t
len
,
struct
ip_conntrack
*
ct
,
enum
ip_conntrack_info
ctinfo
)
struct
ip_conntrack
*
ct
,
enum
ip_conntrack_info
ctinfo
)
{
{
/* tcplen not negative guar
e
nteed by ip_conntrack_tcp.c */
/* tcplen not negative guar
a
nteed by ip_conntrack_tcp.c */
struct
tcphdr
*
tcph
=
(
void
*
)
iph
+
iph
->
ihl
*
4
;
struct
tcphdr
*
tcph
=
(
void
*
)
iph
+
iph
->
ihl
*
4
;
const
char
*
data
=
(
const
char
*
)
tcph
+
tcph
->
doff
*
4
;
const
char
*
data
=
(
const
char
*
)
tcph
+
tcph
->
doff
*
4
;
const
char
*
_data
=
data
;
const
char
*
_data
=
data
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment