Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp3890632rwj; Tue, 20 Dec 2022 03:26:09 -0800 (PST) X-Google-Smtp-Source: AMrXdXtfWAab6SjBr2w74r2FGhS42zqKwHJ8om7lt3V3V3hG2wvdeLNReM2l3Luop/YsBI/O6m7X X-Received: by 2002:a17:90b:2747:b0:223:7513:adfd with SMTP id qi7-20020a17090b274700b002237513adfdmr20633575pjb.3.1671535569489; Tue, 20 Dec 2022 03:26:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671535569; cv=none; d=google.com; s=arc-20160816; b=vTi7chk+qIwszl742DiMEdjywgytFIXbJUWle+QZgxseBLIIKlR7ws8DGOS4e0PdTN 4e4Pb14FkyWUavlY5IZRCS9B2D7zckvl5IjAn73m9YSuiR89dfg3jaXI778pcpXO25u1 dOJCluV1ht15rAAHinhHISfwwhhTvEIMG8L7yncOMvGWEf80Flm0Wf/5WwwBo/ZpL6mc TZhAXEUU3Txh43SgoCk+EhM53Hiz9JUnXeQMK+T+2cHUsuExRJxYMYcMLef3It/3fp8N qVCxxWh9J1ApWdXh6AHIGwp/bQcSk0FxO5kUkvg9raQbWdlYkarnHUYYpOaM9QhKKZje xLfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=sFprmyhyXtWWl/GWswLwnRk9bAltqimW1rgZ5muozxA=; b=QIJVH+SDFXJRPF78Pe/DAxxA8XoaaXL30iSeX4Buy0ZpUnCGYwUWT6jL9NoQHwN7oo +PrOWaDbPdFRkdof/2R/Xr0ht48k3WxbwSHBdR/BHeOvDUD7FhpNsP/cs6ZwphC6SxJv +oFH9NKE0UL/9YojxgQyTyD9aprp9P4HFcLL8nlbB5ZLe7CbM3Y6xAslL1ltYQdG/778 O7QLPsGKdXR9dIwEBL0HiyEELxRUvy+vnKqr7QobDQSEOrPumchmzgY1/6w1wTIfJQ5x NqMczOEAbM3x+xkEh280OLFlusMzzJykLVEAAFTDIyfJ/2JjACdykMHXpsLDgzlmzN58 xe1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=eWymMlDN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qb11-20020a17090b280b00b0021812e71e68si13597150pjb.84.2022.12.20.03.25.59; Tue, 20 Dec 2022 03:26:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=eWymMlDN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230100AbiLTK0B (ORCPT + 70 others); Tue, 20 Dec 2022 05:26:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230074AbiLTKZ4 (ORCPT ); Tue, 20 Dec 2022 05:25:56 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9BF0A192 for ; Tue, 20 Dec 2022 02:25:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1671531912; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sFprmyhyXtWWl/GWswLwnRk9bAltqimW1rgZ5muozxA=; b=eWymMlDNyS2cwMbV44K2X8X7rabeSf+urDbglyNnES0eZnQTbyp4PyE2yGjxFU5CSzNBnK 39XPgSCPeaoQSJTAfKJbuL9PMLwMiNgd5J6EDhBlmT8NG53qWXe69eU9FrZOMGsWsmlUWv eMxzjWdtty2m1DuG9o5wp2W6aOlBly8= Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com [209.85.219.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-59-HmaWikEIO5eKT3UsCUQAsg-1; Tue, 20 Dec 2022 05:25:11 -0500 X-MC-Unique: HmaWikEIO5eKT3UsCUQAsg-1 Received: by mail-qv1-f69.google.com with SMTP id r10-20020ad4522a000000b004d28fcbfe17so6870105qvq.4 for ; Tue, 20 Dec 2022 02:25:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=sFprmyhyXtWWl/GWswLwnRk9bAltqimW1rgZ5muozxA=; b=AB0ikRldIHvhCxJSaLuv1a9kzI68YlrAAOYdXfw6FKH9p2jpm8upBYCqQ9UDyxLX0P m/SLRlA4mfTgOm7m9vnzyk+acK1RVlfY/fBLTZHnqPtlN8h2BAt0ZNNYRTs04NBQhPw5 KdsscWmrEvLoZjOaA0EFg7fJBJQMwpd1KK+1A1ee1s7tq88DjuLihW7aaitKJr1mHwub s5PDpRVTcY9WYx/oOqxgQ2yzfhVdHy5BjQ5T0zsmQKCXIbJSjP+S99prTDiEqzNOg9qK BoZJcbt8x0uAq4lcRZXLnmb550YsEbjhz63Fs664h8stTJexpBjIWu8mLGHf0TgvcAwJ 95Sg== X-Gm-Message-State: ANoB5pkx1xae+dMUeNyYh0wxu6/pad/+S6VbUYZAjOqguY4fV8WvqR02 R3LSu9/+7RXiQo/zvVSvVd82qw8KFr/EmFF3GttaAUQxQwqLw/QHCqFj0ZlkFEJKE86pHGbCI78 ubkjQaPhGKaSTbyq4kmaPnLHw X-Received: by 2002:ac8:5196:0:b0:3a8:2ccb:f55d with SMTP id c22-20020ac85196000000b003a82ccbf55dmr31369909qtn.33.1671531910849; Tue, 20 Dec 2022 02:25:10 -0800 (PST) X-Received: by 2002:ac8:5196:0:b0:3a8:2ccb:f55d with SMTP id c22-20020ac85196000000b003a82ccbf55dmr31369889qtn.33.1671531910547; Tue, 20 Dec 2022 02:25:10 -0800 (PST) Received: from redhat.com ([37.19.199.118]) by smtp.gmail.com with ESMTPSA id a12-20020ac84d8c000000b003434d3b5938sm7346943qtw.2.2022.12.20.02.25.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Dec 2022 02:25:10 -0800 (PST) Date: Tue, 20 Dec 2022 05:25:04 -0500 From: "Michael S. Tsirkin" To: Ricardo =?iso-8859-1?Q?Ca=F1uelo?= Cc: Bagas Sanjaya , sfr@canb.auug.org.au, linux-kernel@vger.kernel.org, linux-next@vger.kernel.org, virtualization@lists.linux-foundation.org, kernel@collabora.com Subject: Re: [PATCH] virtio: fix virtio_config_ops kerneldocs Message-ID: <20221220052333-mutt-send-email-mst@kernel.org> References: <20221220073709.2687151-1-ricardo.canuelo@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 20, 2022 at 10:54:17AM +0100, Ricardo Ca?uelo wrote: > Hi Bagas, > > Thanks for the review, some comments below: > > On 20/12/22 10:12, Bagas Sanjaya wrote:> On Tue, Dec 20, 2022 at 08:37:09AM +0100, Ricardo Ca?uelo wrote: > > Describe the steps needed to fix both warnings above. I see in the diff that: > > > > * move vq_callback_t() declaration above; > > * match entity type of virtio_config_ops; and > > * reformat @finalize_features description. > > I wouldn't like to add redundant info in the commit message for > such a trivial patch. The commit message describes _what_ the > patch does. The _how_ is just as clear in the patch itself as in > this description, IMO. Yea it's overkill for this patch. > > > > > Signed-off-by: Ricardo Ca?uelo > > > > You need to add appropriate tags: > > > > Link: https://lore.kernel.org/linux-next/20221220105956.4786852d@canb.auug.org.au/ > > Fixes: 333723e8bc393d ("docs: driver-api: virtio: virtio on Linux") > > Reported-by: Stephen Rothwell > > Thanks for the tip although, actually, it's not that commit that > needs to be fixed but the kerneldoc itself. This doesn't matter I think, what Fixes tag does is tell tools if you have commit A you want this one on top. > The warnings were > made visible after that commit but not introduced by it. I'll add > the Reported-by tag in v2. > > Cheers, > Ricardo