mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-04 04:02:26 +00:00
9p: fix whitespace issues
Remove trailing whitespace and blank lines at EOF Link: http://lkml.kernel.org/m/20180724192918.31165-11-sthemmin@microsoft.com Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
This commit is contained in:
parent
10aa14527f
commit
c69f297d7f
@ -333,7 +333,7 @@ struct p9_req_t *p9_tag_lookup(struct p9_client *c, u16 tag)
|
|||||||
* buffer to read the data into */
|
* buffer to read the data into */
|
||||||
tag++;
|
tag++;
|
||||||
|
|
||||||
if(tag >= c->max_tag)
|
if (tag >= c->max_tag)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
row = tag / P9_ROW_MAXTAG;
|
row = tag / P9_ROW_MAXTAG;
|
||||||
@ -1558,7 +1558,7 @@ p9_client_read(struct p9_fid *fid, u64 offset, struct iov_iter *to, int *err)
|
|||||||
int count = iov_iter_count(to);
|
int count = iov_iter_count(to);
|
||||||
int rsize, non_zc = 0;
|
int rsize, non_zc = 0;
|
||||||
char *dataptr;
|
char *dataptr;
|
||||||
|
|
||||||
rsize = fid->iounit;
|
rsize = fid->iounit;
|
||||||
if (!rsize || rsize > clnt->msize-P9_IOHDRSZ)
|
if (!rsize || rsize > clnt->msize-P9_IOHDRSZ)
|
||||||
rsize = clnt->msize - P9_IOHDRSZ;
|
rsize = clnt->msize - P9_IOHDRSZ;
|
||||||
|
@ -456,7 +456,7 @@ p9_virtio_zc_request(struct p9_client *client, struct p9_req_t *req,
|
|||||||
out += pack_sg_list_p(chan->sg, out, VIRTQUEUE_NUM,
|
out += pack_sg_list_p(chan->sg, out, VIRTQUEUE_NUM,
|
||||||
out_pages, out_nr_pages, offs, outlen);
|
out_pages, out_nr_pages, offs, outlen);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Take care of in data
|
* Take care of in data
|
||||||
* For example TREAD have 11.
|
* For example TREAD have 11.
|
||||||
|
@ -138,4 +138,3 @@ int p9_idpool_check(int id, struct p9_idpool *p)
|
|||||||
return idr_find(&p->pool, id) != NULL;
|
return idr_find(&p->pool, id) != NULL;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(p9_idpool_check);
|
EXPORT_SYMBOL(p9_idpool_check);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user