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
e5241c44
Commit
e5241c44
authored
Jun 11, 2009
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ieee802154: Use '%Zu' printf format for size_t.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
84503ddd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
net/ieee802154/dgram.c
net/ieee802154/dgram.c
+1
-1
net/ieee802154/raw.c
net/ieee802154/raw.c
+1
-1
No files found.
net/ieee802154/dgram.c
View file @
e5241c44
...
@@ -248,7 +248,7 @@ static int dgram_sendmsg(struct kiocb *iocb, struct sock *sk,
...
@@ -248,7 +248,7 @@ static int dgram_sendmsg(struct kiocb *iocb, struct sock *sk,
goto
out_skb
;
goto
out_skb
;
if
(
size
>
mtu
)
{
if
(
size
>
mtu
)
{
pr_debug
(
"size = %u, mtu = %u
\n
"
,
size
,
mtu
);
pr_debug
(
"size = %
Z
u, mtu = %u
\n
"
,
size
,
mtu
);
err
=
-
EINVAL
;
err
=
-
EINVAL
;
goto
out_skb
;
goto
out_skb
;
}
}
...
...
net/ieee802154/raw.c
View file @
e5241c44
...
@@ -132,7 +132,7 @@ static int raw_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
...
@@ -132,7 +132,7 @@ static int raw_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
pr_debug
(
"name = %s, mtu = %u
\n
"
,
dev
->
name
,
mtu
);
pr_debug
(
"name = %s, mtu = %u
\n
"
,
dev
->
name
,
mtu
);
if
(
size
>
mtu
)
{
if
(
size
>
mtu
)
{
pr_debug
(
"size = %u, mtu = %u
\n
"
,
size
,
mtu
);
pr_debug
(
"size = %
Z
u, mtu = %u
\n
"
,
size
,
mtu
);
err
=
-
EINVAL
;
err
=
-
EINVAL
;
goto
out_dev
;
goto
out_dev
;
}
}
...
...
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