Dan Carpenter d31bb4f062 9p: fix min_t() casting in p9pdu_vwritef()
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 <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-06-27 15:26:24 -07:00
..
2012-06-15 15:30:15 -07:00
2012-06-15 15:30:15 -07:00
2012-04-25 19:47:17 -04:00
2012-05-17 04:50:21 -04:00
2012-06-15 15:30:15 -07:00
2012-04-15 12:44:40 -04:00
2012-05-17 18:45:20 -04:00
2012-05-17 04:50:21 -04:00
2012-06-25 16:35:30 -07:00
2012-05-27 01:11:22 -04:00
2010-10-15 15:53:27 +02:00