OSDN Git Service

platform/x86/dell-wmi-sysman: Make some symbols static
authorZou Wei <zou_wei@huawei.com>
Sat, 31 Oct 2020 01:32:02 +0000 (09:32 +0800)
committerHans de Goede <hdegoede@redhat.com>
Tue, 3 Nov 2020 09:30:10 +0000 (10:30 +0100)
commit83f7a38ecd3354fd38d9024a0703452041bdc417
tree204aaafcd95b044b6d8d7730a0fc622e20e52e67
parent76adf0df04c294d2e97981ec7310f93f35dfa6ee
platform/x86/dell-wmi-sysman: Make some symbols static

Fix the following sparse warnings:

./passobj-attributes.c:38:23: warning: symbol 'po_is_pass_set' was not declared. Should it be static?
./passobj-attributes.c:70:23: warning: symbol 'po_current_password' was not declared. Should it be static?
./passobj-attributes.c:99:23: warning: symbol 'po_new_password' was not declared. Should it be static?
./passobj-attributes.c:103:23: warning: symbol 'po_min_pass_length' was not declared. Should it be static?
./passobj-attributes.c:107:23: warning: symbol 'po_max_pass_length' was not declared. Should it be static?
./passobj-attributes.c:116:23: warning: symbol 'po_mechanism' was not declared. Should it be static?
./passobj-attributes.c:129:23: warning: symbol 'po_role' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Link: https://lore.kernel.org/r/1604107922-14950-1-git-send-email-zou_wei@huawei.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/dell-wmi-sysman/passobj-attributes.c