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
e920c3d5
Commit
e920c3d5
authored
Aug 23, 2004
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix up 0/NULL confusion
parent
db47111e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
drivers/ide/ide.c
drivers/ide/ide.c
+1
-1
include/asm-ppc64/checksum.h
include/asm-ppc64/checksum.h
+2
-2
No files found.
drivers/ide/ide.c
View file @
e920c3d5
...
...
@@ -442,7 +442,7 @@ u8 ide_dump_status (ide_drive_t *drive, const char *msg, u8 stat)
int
opcode
=
0x100
;
spin_lock
(
&
ide_lock
);
rq
=
0
;
rq
=
NULL
;
if
(
HWGROUP
(
drive
))
rq
=
HWGROUP
(
drive
)
->
rq
;
spin_unlock
(
&
ide_lock
);
...
...
include/asm-ppc64/checksum.h
View file @
e920c3d5
...
...
@@ -84,10 +84,10 @@ static inline unsigned short ip_compute_csum(unsigned char * buff, int len)
}
#define csum_partial_copy_from_user(src, dst, len, sum, errp) \
csum_partial_copy_generic((src), (dst), (len), (sum), (errp),
0
)
csum_partial_copy_generic((src), (dst), (len), (sum), (errp),
NULL
)
#define csum_partial_copy_nocheck(src, dst, len, sum) \
csum_partial_copy_generic((src), (dst), (len), (sum),
0, 0
)
csum_partial_copy_generic((src), (dst), (len), (sum),
NULL, NULL
)
static
inline
u32
csum_tcpudp_nofold
(
u32
saddr
,
u32
daddr
,
...
...
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