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
fbd04fca
Commit
fbd04fca
authored
Sep 19, 2002
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge nuts.ninka.net:/home/davem/src/BK/warning-2.5
into nuts.ninka.net:/home/davem/src/BK/warn-2.5
parents
461a50a3
7d05fc68
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
12 additions
and
12 deletions
+12
-12
drivers/ide/ide-proc.c
drivers/ide/ide-proc.c
+1
-1
drivers/ide/ide-taskfile.c
drivers/ide/ide-taskfile.c
+1
-1
drivers/ide/ide.c
drivers/ide/ide.c
+1
-1
drivers/net/ppp_generic.c
drivers/net/ppp_generic.c
+1
-1
drivers/pci/pool.c
drivers/pci/pool.c
+1
-1
drivers/usb/serial/visor.c
drivers/usb/serial/visor.c
+2
-2
fs/nfs/nfs2xdr.c
fs/nfs/nfs2xdr.c
+2
-2
fs/nfs/nfs3xdr.c
fs/nfs/nfs3xdr.c
+2
-2
fs/xfs/linux/xfs_aops.c
fs/xfs/linux/xfs_aops.c
+1
-1
No files found.
drivers/ide/ide-proc.c
View file @
fbd04fca
...
...
@@ -548,7 +548,7 @@ int proc_ide_read_capacity
len
=
sprintf
(
page
,
"(none)
\n
"
);
else
len
=
sprintf
(
page
,
"%llu
\n
"
,
(
u64
)
((
ide_driver_t
*
)
drive
->
driver
)
->
capacity
(
drive
));
(
long
long
)
((
ide_driver_t
*
)
drive
->
driver
)
->
capacity
(
drive
));
PROC_IDE_READ_RETURN
(
page
,
start
,
off
,
count
,
eof
,
len
);
}
...
...
drivers/ide/ide-taskfile.c
View file @
fbd04fca
...
...
@@ -271,7 +271,7 @@ u8 taskfile_dump_status (ide_drive_t *drive, const char *msg, u8 stat)
hwif
->
OUTB
(
0x80
,
IDE_CONTROL_REG
);
high
=
task_read_24
(
drive
);
sectors
=
((
u64
)
high
<<
24
)
|
low
;
printk
(
", LBAsect=%lld"
,
sectors
);
printk
(
", LBAsect=%lld"
,
(
long
long
)
sectors
);
}
else
{
u8
cur
=
hwif
->
INB
(
IDE_SELECT_REG
);
u8
low
=
hwif
->
INB
(
IDE_LCYL_REG
);
...
...
drivers/ide/ide.c
View file @
fbd04fca
...
...
@@ -567,7 +567,7 @@ u8 ide_dump_status (ide_drive_t *drive, const char *msg, u8 stat)
sectors
=
((
u64
)
high
<<
24
)
|
low
;
printk
(
", LBAsect=%llu, high=%d, low=%d"
,
(
u64
)
sectors
,
(
long
long
)
sectors
,
high
,
low
);
}
else
{
u8
cur
=
hwif
->
INB
(
IDE_SELECT_REG
);
...
...
drivers/net/ppp_generic.c
View file @
fbd04fca
...
...
@@ -1401,7 +1401,7 @@ ppp_receive_frame(struct ppp *ppp, struct sk_buff *skb, struct channel *pch)
if
(
skb
->
len
>
0
)
/* note: a 0-length skb is used as an error indication */
++
ppp
->
stats
.
rx_length_errors
;
err:
kfree_skb
(
skb
);
ppp_receive_error
(
ppp
);
}
...
...
drivers/pci/pool.c
View file @
fbd04fca
...
...
@@ -69,7 +69,7 @@ show_pools (struct device *dev, char *buf, size_t count, loff_t off)
}
/* per-pool info, no real statistics yet */
temp
=
snprintf
(
next
,
size
,
"%-16s %4u %4
u %4
u %2u
\n
"
,
temp
=
snprintf
(
next
,
size
,
"%-16s %4u %4
Zu %4Z
u %2u
\n
"
,
pool
->
name
,
blocks
,
pages
*
pool
->
blocks_per_page
,
pool
->
size
,
pages
);
...
...
drivers/usb/serial/visor.c
View file @
fbd04fca
...
...
@@ -591,7 +591,7 @@ static int visor_probe (struct usb_serial *serial)
info
(
"%s: port %d, is for %s use"
,
serial
->
type
->
name
,
connection_info
->
connections
[
i
].
port
,
string
);
/* save off our num_ports info so that we can use it in the calc_num_ports call */
serial
->
private
=
(
void
*
)
num_ports
;
serial
->
private
=
(
void
*
)
(
long
)
num_ports
;
}
}
...
...
@@ -637,7 +637,7 @@ static int visor_calc_num_ports (struct usb_serial *serial)
int
num_ports
=
0
;
if
(
serial
->
private
)
{
num_ports
=
(
int
)
serial
->
private
;
num_ports
=
(
int
)
(
long
)
serial
->
private
;
serial
->
private
=
NULL
;
}
return
num_ports
;
...
...
fs/nfs/nfs2xdr.c
View file @
fbd04fca
...
...
@@ -251,7 +251,7 @@ nfs_xdr_readres(struct rpc_rqst *req, u32 *p, struct nfs_readres *res)
hdrlen
=
(
u8
*
)
p
-
(
u8
*
)
iov
->
iov_base
;
if
(
iov
->
iov_len
<
hdrlen
)
{
printk
(
KERN_WARNING
"NFS: READ reply header overflowed:"
"length %d > %
d
\n
"
,
hdrlen
,
iov
->
iov_len
);
"length %d > %
Zu
\n
"
,
hdrlen
,
iov
->
iov_len
);
return
-
errno_NFSERR_IO
;
}
else
if
(
iov
->
iov_len
!=
hdrlen
)
{
dprintk
(
"NFS: READ header is short. iovec will be shifted.
\n
"
);
...
...
@@ -404,7 +404,7 @@ nfs_xdr_readdirres(struct rpc_rqst *req, u32 *p, void *dummy)
hdrlen
=
(
u8
*
)
p
-
(
u8
*
)
iov
->
iov_base
;
if
(
iov
->
iov_len
<
hdrlen
)
{
printk
(
KERN_WARNING
"NFS: READDIR reply header overflowed:"
"length %d > %
d
\n
"
,
hdrlen
,
iov
->
iov_len
);
"length %d > %
Zu
\n
"
,
hdrlen
,
iov
->
iov_len
);
return
-
errno_NFSERR_IO
;
}
else
if
(
iov
->
iov_len
!=
hdrlen
)
{
dprintk
(
"NFS: READDIR header is short. iovec will be shifted.
\n
"
);
...
...
fs/nfs/nfs3xdr.c
View file @
fbd04fca
...
...
@@ -525,7 +525,7 @@ nfs3_xdr_readdirres(struct rpc_rqst *req, u32 *p, struct nfs3_readdirres *res)
hdrlen
=
(
u8
*
)
p
-
(
u8
*
)
iov
->
iov_base
;
if
(
iov
->
iov_len
<
hdrlen
)
{
printk
(
KERN_WARNING
"NFS: READDIR reply header overflowed:"
"length %d > %
d
\n
"
,
hdrlen
,
iov
->
iov_len
);
"length %d > %
Zu
\n
"
,
hdrlen
,
iov
->
iov_len
);
return
-
errno_NFSERR_IO
;
}
else
if
(
iov
->
iov_len
!=
hdrlen
)
{
dprintk
(
"NFS: READDIR header is short. iovec will be shifted.
\n
"
);
...
...
@@ -808,7 +808,7 @@ nfs3_xdr_readres(struct rpc_rqst *req, u32 *p, struct nfs_readres *res)
hdrlen
=
(
u8
*
)
p
-
(
u8
*
)
iov
->
iov_base
;
if
(
iov
->
iov_len
<
hdrlen
)
{
printk
(
KERN_WARNING
"NFS: READ reply header overflowed:"
"length %d > %
d
\n
"
,
hdrlen
,
iov
->
iov_len
);
"length %d > %
Zu
\n
"
,
hdrlen
,
iov
->
iov_len
);
return
-
errno_NFSERR_IO
;
}
else
if
(
iov
->
iov_len
!=
hdrlen
)
{
dprintk
(
"NFS: READ header is short. iovec will be shifted.
\n
"
);
...
...
fs/xfs/linux/xfs_aops.c
View file @
fbd04fca
...
...
@@ -609,7 +609,7 @@ linvfs_get_block_core(
if
(
blocks
)
{
size
=
(
pbmap
.
pbm_bsize
-
pbmap
.
pbm_delta
);
bh_result
->
b_size
=
min
(
size
,
blocks
<<
inode
->
i_blkbits
);
bh_result
->
b_size
=
min
_t
(
ssize_t
,
size
,
blocks
<<
inode
->
i_blkbits
);
}
return
0
;
...
...
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