Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp508433pxb; Fri, 3 Sep 2021 07:04:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyX3TKqjJZYFOi76kfSusec+0R+5e1EuA0JLEGss541IdRmzs5Mr1e0XOMHvO6s/uVyflXc X-Received: by 2002:a50:a452:: with SMTP id v18mr4223409edb.17.1630677890549; Fri, 03 Sep 2021 07:04:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630677890; cv=none; d=google.com; s=arc-20160816; b=UnT78n40SchdfVaUc7i90Ht3WxAIJs8FZc8rG4eahPLUjR0l2Fl12p5kWxV4l5m2Cq Q9ukf4LsNgC+GBYeE1gGv+rc/v4W6ubP34O4Bs0XdbjwuNMfAUGnQmMzxwnmCR47GNX0 5g0grIxYiUdyhzTdNBuzuVr9mrXty/yeaxvfymzmbmc82O8QHYogUduA7ozfEGk8qP9w Ot/CDpzifQ7ecmG7l3jmPFnENo0c5FfiJqiHLBO28wcpuDr9IkeiahWUNkON4hpQGE5t h8/l+6HTUc2zde/AwNAVtBoL1nP6YPTLgNN3br96wqjl+3YFafu0srNGmvpxsmBoZzr5 3CEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=gnzVb8mHv15u+/S85Bjs1puYCsU45RASECntRmgjk90=; b=qoaEHu8IZZiCArHygPs0MRkfjIqDwouTT7t6EDSVAmq7BTv/X9YNAFQGsK1m97oSJZ JTBwEL+US6q6W40K7WqwBWAx3t1ZiocTPtqIz7pSoXLk5QpGivZo8adZ9Bv/yT8WdaIJ 6cnLDP3xgUgvdRjqVQykuBHe2/wR61uHRsh4UluOFmmUGdbIybIauF+J755WUciMyviY 4KAZmvRYqaJIfQ7z+i4pk78ApggXFRZtYNp3TFVBr/v+A+qfzeZxaag/K1HuC/Aaeb9g cnv/U0DXqMP3aYTDifwoxmMkhfQbNazk8q+kPWa+x5YNM0Lra49mOVm5wE3SwmNe/VpG Je7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=o3pQxYUR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e7si749631ejm.265.2021.09.03.07.04.09; Fri, 03 Sep 2021 07:04:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=o3pQxYUR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242849AbhICNmi (ORCPT + 99 others); Fri, 3 Sep 2021 09:42:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235128AbhICNmh (ORCPT ); Fri, 3 Sep 2021 09:42:37 -0400 Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CF63C061575 for ; Fri, 3 Sep 2021 06:41:36 -0700 (PDT) Received: by mail-io1-xd2a.google.com with SMTP id a15so6779597iot.2 for ; Fri, 03 Sep 2021 06:41:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=gnzVb8mHv15u+/S85Bjs1puYCsU45RASECntRmgjk90=; b=o3pQxYURqv6iDmgwAZYr3/Xkv9DwClSW/psfysStrgUSZfBnsX5gWVp4SsqkEe01+E oeWLep0eiSOFn1b4NlQAvzfrztmWabowWSN+0LRS4KOtwfRDQ9g5I4V2Uof8WYnfE0z4 banfNSpRyVkMLxUXZhukRFCbpT3MSeq51IZIBN3g/i4MH3hrGpHqD8XuenS18b3ygUwg JDNJNimWGmyhZJ563j6Td2LK4LLIC6K7KxaHFtku3DpuC1/Qag39dnfV7OXnvVczs1PQ a9DTMie5Au37ggDi9ExdK5Eq7oYUranfjoTeeESNSFYPYew67uWfz0Vni7YD6vptTeYz eZow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=gnzVb8mHv15u+/S85Bjs1puYCsU45RASECntRmgjk90=; b=lTOJGosJ+SLctbFpUYjSt+GTINEcfGInSS4GTQqjeKjqgpIR9diovIIyRFsHrP6E4m 2WHx8nqk0B3RgsqdKus6TE1p15VhjCkQtq4mzpSI49KBSTgt6LbFaZpipNvWWZ2ISTxr 6RigNPLwaah01UvQyBUQvSFB9yB3taGbOoYA4p/rJaabAM95tDfwdry8nDmSFES4SN3H P/uN/UlgK4pM8qBeog0ltOaOhbzu44/5Ifv6LdCduuzwETXyajGF6ub2bdGuZYoOFFzz Cvdn/JBwWpRBuPH/2Kl1O1Syba5VASEs1epk7yF7Y3tlUqXSlQWnKlWbAY8eBZqXgsqQ hNVA== X-Gm-Message-State: AOAM532TgfiinV4ygzXOZN1vd/33CcDUdE7sjFh/j/bXWf+pxIciVMa5 tX2349QC91c/hCkhJWLgZGStrsfr0M7UBg== X-Received: by 2002:a6b:8d8a:: with SMTP id p132mr3084472iod.81.1630676495884; Fri, 03 Sep 2021 06:41:35 -0700 (PDT) Received: from [192.168.1.30] ([207.135.234.126]) by smtp.gmail.com with ESMTPSA id s7sm2666579ioe.11.2021.09.03.06.41.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 03 Sep 2021 06:41:35 -0700 (PDT) Subject: Re: linux-next: build warning after merge of the block tree To: Stephen Rothwell Cc: Linux Kernel Mailing List , Linux Next Mailing List References: <20210813194116.3a0297d6@canb.auug.org.au> <20210903164939.02f6e8c5@canb.auug.org.au> From: Jens Axboe Message-ID: Date: Fri, 3 Sep 2021 07:41:34 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210903164939.02f6e8c5@canb.auug.org.au> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/3/21 12:49 AM, Stephen Rothwell wrote: > Hi Jens, > > On Fri, 13 Aug 2021 07:54:51 -0600 Jens Axboe wrote: >> >> On 8/13/21 3:41 AM, Stephen Rothwell wrote: >>> Hi all, >>> >>> After merging the block tree, today's linux-next build (htmldocs) >>> produced this warning: >>> >>> block/bio.c:1689: warning: Function parameter or member 'nr_vecs' not described in 'bio_alloc_kiocb' >>> >>> Introduced by commit >>> >>> 1cbbd31c4ada ("bio: add allocation cache abstraction") >> >> Thanks, fixed up. > > Not really :-( I am now also getting this (the above has moved to line > 1704 as well): > > block/bio.c:1704: warning: Excess function parameter 'nr_iovecs' description in 'bio_alloc_kiocb' This should fix that one up: diff --git a/block/bio.c b/block/bio.c index e16849f46b0e..5df3dd282e40 100644 --- a/block/bio.c +++ b/block/bio.c @@ -1688,7 +1688,7 @@ EXPORT_SYMBOL(bioset_init_from_src); /** * bio_alloc_kiocb - Allocate a bio from bio_set based on kiocb * @kiocb: kiocb describing the IO - * @nr_iovecs: number of iovecs to pre-allocate + * @nr_vecs: number of iovecs to pre-allocate * @bs: bio_set to allocate from * * Description: -- Jens Axboe