From 357c3f106744b740a083cf7650fbd5103cdfe711 Mon Sep 17 00:00:00 2001 From: Antony Pavlov Date: Sun, 19 Jul 2015 23:07:10 +0300 Subject: [PATCH] fs/nfs.c: use uint16_t for port numbers Signed-off-by: Antony Pavlov Signed-off-by: Sascha Hauer --- fs/nfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/nfs.c b/fs/nfs.c index 5bff54a4d..0269814de 100644 --- a/fs/nfs.c +++ b/fs/nfs.c @@ -132,8 +132,8 @@ struct nfs_priv { struct net_connection *con; IPaddr_t server; char *path; - unsigned short mount_port; - unsigned short nfs_port; + uint16_t mount_port; + uint16_t nfs_port; uint32_t rpc_id; uint32_t rootfh_len; char rootfh[NFS3_FHSIZE];