]> git.baikalelectronics.ru Git - kernel.git/commit
ptp_kvm: Make kvm_ptp_lock static
authorYueHaibing <yuehaibing@huawei.com>
Sat, 18 Apr 2020 01:51:54 +0000 (09:51 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Apr 2020 18:02:56 +0000 (11:02 -0700)
commit4fac5c1233303a3adf89a0634c67b1d5fccbc98d
treea35081f4ca6076c60c12da94c571bec5a354e6a6
parent30cb22dfb3c0d760af68e32c0b4408fde6865353
ptp_kvm: Make kvm_ptp_lock static

Fix sparse warning:

drivers/ptp/ptp_kvm.c:25:1: warning:
 symbol 'kvm_ptp_lock' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_kvm.c