• Colin Ian King's avatar
    RDMA/hns: make various function static, fixes warnings · 281d0ccf
    Colin Ian King authored
    The functions hns_roce_table_mhop_get, hns_roce_table_mhop_put,
    hns_roce_cleanup_mhop_hem_table,  hns_roce_v1_post_mbox,
    hns_roce_cmq_setup_basic_desc, hns_roce_cmq_send,
    hns_roce_cmq_query_hw_info are all local to the source and do
    not need to be in global scope, so make them static.
    
    Cleans up sparse warnings:
    symbol 'hns_roce_table_mhop_get' was not declared. Should it be static?
    symbol 'hns_roce_table_mhop_put' was not declared. Should it be static?
    symbol 'hns_roce_cleanup_mhop_hem_table' was not declared. Should it be
    static?
    symbol 'hns_roce_v1_post_mbox' was not declared. Should it be static?
    symbol 'hns_roce_cmq_setup_basic_desc' was not declared. Should it be
    static?
    symbol 'hns_roce_cmq_send' was not declared. Should it be static?
    symbol 'hns_roce_cmq_query_hw_info' was not declared. Should it be static?
    Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
    Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
    281d0ccf
hns_roce_hem.c 27.8 KB