Re: linux-next: build warning after merge of the block tree
From: Jens Axboe
Date: Thu Aug 29 2019 - 11:44:28 EST
On 8/29/19 9:41 AM, Tejun Heo wrote:
> On Thu, Aug 29, 2019 at 02:08:28PM +1000, Stephen Rothwell wrote:
>> From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
>> Date: Thu, 29 Aug 2019 14:03:43 +1000
>> Subject: [PATCH] blkcg: blk-iocost: predeclare used structs
>>
>> Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
>
> Acked-by: Tejun Heo <tj@xxxxxxxxxx>
>
> Thanks.
>
>> ---
>> include/trace/events/iocost.h | 4 ++++
>> 1 file changed, 4 insertions(+)
>>
>> diff --git a/include/trace/events/iocost.h b/include/trace/events/iocost.h
>> index ec2217dd57ac..7ecaa65b7106 100644
>> --- a/include/trace/events/iocost.h
>> +++ b/include/trace/events/iocost.h
>> @@ -2,6 +2,10 @@
>> #undef TRACE_SYSTEM
>> #define TRACE_SYSTEM iocost
>>
>> +struct ioc;
>> +struct ioc_now;
>> +struct ioc_gq;
>> +
>> #if !defined(_TRACE_BLK_IOCOST_H) || defined(TRACE_HEADER_MULTI_READ)
>> #define _TRACE_BLK_IOCOST_H
Added, thanks.
--
Jens Axboe