aboutsummaryrefslogtreecommitdiff
path: root/kmod
diff options
context:
space:
mode:
authorThanos Makatos <thanos.makatos@nutanix.com>2019-09-20 09:01:56 -0400
committerThanos <tmakatos@gmail.com>2019-09-27 15:59:11 +0100
commit3a15f985f24bde35868de297e27e0a48730e1dc4 (patch)
treea7ea96a7954f01b3304e558f5c7dd3db28a1c2ad /kmod
parent1d40a7dc7720bf427048ab4a150fc878febcea53 (diff)
downloadlibvfio-user-3a15f985f24bde35868de297e27e0a48730e1dc4.zip
libvfio-user-3a15f985f24bde35868de297e27e0a48730e1dc4.tar.gz
libvfio-user-3a15f985f24bde35868de297e27e0a48730e1dc4.tar.bz2
make function muser_read static
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'kmod')
-rw-r--r--kmod/muser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmod/muser.c b/kmod/muser.c
index 4ed388d..487bd6b 100644
--- a/kmod/muser.c
+++ b/kmod/muser.c
@@ -975,8 +975,8 @@ void dump_buffer(unsigned char const *const buf, uint32_t count)
#endif
}
-ssize_t muser_read(struct mdev_device *mdev, char __user *buf, size_t count,
- loff_t *ppos)
+static ssize_t muser_read(struct mdev_device *mdev, char __user *buf,
+ size_t count, loff_t *ppos)
{
struct muser_dev *mudev = mdev_get_drvdata(mdev);
struct mudev_cmd mucmd = { 0 };