diff options
author | Kefeng Wang <[email protected]> | 2019-07-02 11:38:08 -0600 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2019-07-02 11:38:08 -0600 |
commit | 4b2dbd566c7b91740e32b30a68a7f2b38e3495b9 (patch) | |
tree | 2051947cc65671374b16da5cacce4a742542cb58 /net/lapb/lapb_timer.c | |
parent | 6fbc7275c7a9ba97877050335f290341a1fd8dbf (diff) |
vfio-mdev/samples: make some symbols static
Make some structs and functions static to fix build warning, parts of
warning shown below,
samples/vfio-mdev/mtty.c:730:5: warning: symbol 'mtty_create' was not declared. Should it be static?
samples/vfio-mdev/mtty.c:780:5: warning: symbol 'mtty_remove' was not declared. Should it be static?
samples/vfio-mdev/mtty.c:802:5: warning: symbol 'mtty_reset' was not declared. Should it be static?
samples/vfio-mdev/mtty.c:818:9: warning: symbol 'mtty_read' was not declared. Should it be static?
samples/vfio-mdev/mtty.c:877:9: warning: symbol 'mtty_write' was not declared. Should it be static?
samples/vfio-mdev/mtty.c:1070:5: warning: symbol 'mtty_get_region_info' was not declared. Should it be static?
samples/vfio-mdev/mtty.c:1119:5: warning: symbol 'mtty_get_irq_info' was not declared. Should it be static?
samples/vfio-mdev/mtty.c:1143:5: warning: symbol 'mtty_get_device_info' was not declared. Should it be static?
samples/vfio-mdev/mtty.c:1275:5: warning: symbol 'mtty_open' was not declared. Should it be static?
samples/vfio-mdev/mtty.c:1281:6: warning: symbol 'mtty_close' was not declared. Should it be static?
samples/vfio-mdev/mtty.c:1305:30: warning: symbol 'mtty_dev_groups' was not declared. Should it be static?
Cc: Andy Shevchenko <[email protected]>
Cc: Alex Williamson <[email protected]>
Cc: Kirti Wankhede <[email protected]>
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Kefeng Wang <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
[aw: wrap long lines]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions