Thread (4 messages) flat view 4 messages, 3 authors, 2012-06-27

Re: [patch -resend] 9p: fix min_t() casting in p9pdu_vwritef()

From: David Miller <davem@davemloft.net>
Date: 2012-06-27 22:26:49
Also in: kernel-janitors, lkml

From: Dan Carpenter <redacted>
Date: Wed, 27 Jun 2012 12:01:41 +0300
I don't think we're actually likely to hit this limit but if we do
then the comparison should be done as size_t.  The original code
is equivalent to:
        len = strlen(sptr) % USHRT_MAX;

Signed-off-by: Dan Carpenter <redacted>
Applied, thanks Dan.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help