mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
fs/9p: change an int to unsigned int
Without this msize=4294967295 will result in a crash Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
This commit is contained in:
parent
4d5077f1b2
commit
ef6b0807e2
2 changed files with 3 additions and 2 deletions
|
@ -201,7 +201,8 @@ free_and_return:
|
|||
*
|
||||
*/
|
||||
|
||||
static struct p9_req_t *p9_tag_alloc(struct p9_client *c, u16 tag, int max_size)
|
||||
static struct p9_req_t *
|
||||
p9_tag_alloc(struct p9_client *c, u16 tag, unsigned int max_size)
|
||||
{
|
||||
unsigned long flags;
|
||||
int row, col;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue