blk-wbt: remove wbt_track stub
PATCH 1/1 blk-wbt: remove wbt_track stub
From: Tom Rix <[email protected]>
cppcheck returns this warning [block/blk-wbt.h:104] -> [block/blk-wbt.c:592]:
(warning) Function 'wbt_track' argument order different:
declaration 'rq, flags, ' definition 'rqos, rq, bio'
In commit c1c80384c8f4 ("block: remove external dependency on wbt_flags") wbt_track was removed for the real declaration, its stub should have been as well.
--- block/blk-wbt.h | 3 --- 1 file changed, 3 deletions(-)
block/blk-wbt.h +0 -3
@@ -101,9 +101,6 @@ u64 wbt_default_latency_nsec(struct request_queue *);#else -static inline void wbt_track (struct request *rq,enum wbt_flags flags) -{ -}static inline int wbt_init (struct request_queue *q) {return -EINVAL ;
Signature · 1 line
2.26.3
Jens Axboe
maintainerOn 3/31/22 12:54 PM, [email protected] wrote:
Not sure how you sent this patch, but there's no body, just an attachment. Regular tooling doesn't like that.
Signature · 1 line
Jens Axboe
Jens Axboe
maintainerQuoted 4 lines · Jens Axboe
On 3/31/22 12:54 PM, [email protected] wrote:
Not sure how you sent this patch, but there's no body, just an attachment. Regular tooling doesn't like that.
Actually b4 likes it just fine, it just wasn't on lore yet. But for future patches, please do send with git send-email or similar. I could not view the patch without first saving the attachment and opening it separately.
Signature · 1 line
Jens Axboe
Quoted 8 lines · On Thu, 31 Mar 2022 11:54:58 -0700, [email protected] wrote:
From: Tom Rix <[email protected]>
cppcheck returns this warning [
block/blk-wbt.h:104] -> [block/blk-wbt.c:592]:
(warning) Function 'wbt_track' argument order different:
declaration 'rq, flags, ' definition 'rqos, rq, bio'[...]
Applied, thanks!
[1/1] blk-wbt: remove wbt_track stub
commit: 8d7829ebc1e48208b3c02c2a10c5f8856246033c
Best regards,
Signature · 1 line
Jens Axboe