Re: [PATCH] blk-wbt: Declare local functions static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/23/19 12:05 PM, Bart Van Assche wrote:
> This patch avoids that sparse reports the following warnings:
> 
>   CHECK   block/blk-wbt.c
> block/blk-wbt.c:600:6: warning: symbol 'wbt_issue' was not declared. Should it be static?
> block/blk-wbt.c:620:6: warning: symbol 'wbt_requeue' was not declared. Should it be static?
>   CC      block/blk-wbt.o
> block/blk-wbt.c:600:6: warning: no previous prototype for wbt_issue [-Wmissing-prototypes]
>  void wbt_issue(struct rq_qos *rqos, struct request *rq)
>       ^~~~~~~~~
> block/blk-wbt.c:620:6: warning: no previous prototype for wbt_requeue [-Wmissing-prototypes]
>  void wbt_requeue(struct rq_qos *rqos, struct request *rq)

Thanks Bart, applied.

-- 
Jens Axboe




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux