Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp951610rwl; Wed, 5 Apr 2023 09:46:39 -0700 (PDT) X-Google-Smtp-Source: AKy350bQQno9zXb/YZ0QF3L47qcPIhHTBCtu45QUaVSqqrcQxMDeufzMVYNe/1uDu7Zz1NqiF1M3 X-Received: by 2002:a17:906:24b:b0:93e:9362:75fa with SMTP id 11-20020a170906024b00b0093e936275famr4126863ejl.47.1680713199628; Wed, 05 Apr 2023 09:46:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680713199; cv=none; d=google.com; s=arc-20160816; b=z4VE9idsxJ+r3JDiZGCCpKR9AvfjAicfYWPAi91D2M5hkJLC2GFwF3LyQ6PEcPjA/E Kz8a6+RmmzIawHyQnhN1fToW3thiklainzEPWWn9BvYmNSVA9DADWRi7p3hBOlmLpeS+ Ag8nJ3SB+eITwuvW1JjN3Dse5UqeKLbyHh+M9BlRQveVFbE+W5n52VKxmaLINjQLV3yZ ucreiqQaggec2yxP+q7etjWjO7+o8IbfsTb4kETpXvQUegpzcdF+rQEhYr3UAhPMfM14 Kvh0tiOYxurXOOo7HtuJ+mWdH77+zOpasT0OPHJeeHChHaDAJXns4scXFd6mj1//9+F4 AQYw== 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=S3BbSP7QoLURhGGWyyNyR3yJ+XJS86nCh5XxQVrqAnE=; b=tTxcP6x95OHa1cKGwuiCfEQT4C+TfwOWRHNwHD0wo8rbjR+nFZeJCpLT/PCJjGMsGp gcs+3Ed3HfRr8QfS3wnYWkt6YF34RF1+6rCf3QdWkd6r+acrxWcvRFH+PF5Aab2DBITa 7IBUYCUaMHyyr4GiK96YTFnBcN3Dv3+D0dZSBNeTWVSs8GjKFbTLJ/Fb2FIP9aNWOEgs +gxxa4a41XdZTWUA9tIkU9d5zEdpDXlD8+ax3K6kimd6KiywZ3Z1OcGL0y89BtfZs6rL zggJxEX2aNigYCIPGUCrYbpGuvAFWw84fZi0JS+fDyhi/QB2RSHC3DHoiwFonw+6wroP sJ2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=giYLlI6E; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s8-20020a056402164800b004fef30e1027si11621035edx.621.2023.04.05.09.46.14; Wed, 05 Apr 2023 09:46:39 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=giYLlI6E; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232661AbjDEQlN (ORCPT + 99 others); Wed, 5 Apr 2023 12:41:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232004AbjDEQlM (ORCPT ); Wed, 5 Apr 2023 12:41:12 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10A92E75 for ; Wed, 5 Apr 2023 09:41:11 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9C51A62A73 for ; Wed, 5 Apr 2023 16:41:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 383CDC433EF; Wed, 5 Apr 2023 16:41:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680712870; bh=DV0/yjdD/+FEcW0k9WYhDje1AP1oYkbQXJY73iIbEvo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=giYLlI6EETXpR4/c/J+NZDFti5eGPMXnL6nscnQvcZ8jeUSYsW1ZEGGF0czEZS22d /r4CLg1kygBtLNHI+7wzGWnyahOQGSZx3F1jDEZdUKNCgPdS16gP3gYlqKIx3PfY69 s6L/US5Ybq3zUF6uEaT3SQSLZVnqFGyNFDpe5LCYHT6MbWrQS3e23pVfOGMKIgxTgX ircGp63ITTW4MY6W9Whg7k+PWvnLYEjRL86gNGUffCcDrU0zpi929kilLSyzpSvwEK HTFl5T0Oo4KC2SV5vhA96xXfpAKScaHHyhDI+J6Mef5Tq8WxkC3UBc2gLzVYY/hGYC v792PEs4N65UA== Date: Wed, 5 Apr 2023 17:41:05 +0100 From: Lee Jones To: Jani Nikula Cc: linux-kernel@vger.kernel.org, Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin , David Airlie , Daniel Vetter , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH 01/19] drm/i915/i915_scatterlist: Fix kerneldoc formatting issue - missing '@' Message-ID: <20230405164105.GU8371@google.com> References: <20230331092607.700644-1-lee@kernel.org> <20230331092607.700644-2-lee@kernel.org> <87jzyt0yil.fsf@intel.com> <20230403162059.GC8371@google.com> <878rf80ynz.fsf@intel.com> <20230405134526.GE8371@google.com> <87jzyqz52y.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87jzyqz52y.fsf@intel.com> X-Spam-Status: No, score=-5.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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 Wed, 05 Apr 2023, Jani Nikula wrote: > On Wed, 05 Apr 2023, Lee Jones wrote: > > On Tue, 04 Apr 2023, Jani Nikula wrote: > > > >> On Mon, 03 Apr 2023, Lee Jones wrote: > >> > On Mon, 03 Apr 2023, Jani Nikula wrote: > >> > > >> >> On Fri, 31 Mar 2023, Lee Jones wrote: > >> >> > Fixes the following W=1 kernel build warning(s): > >> >> > > >> >> > drivers/gpu/drm/i915/i915_scatterlist.c:62: warning: Function parameter or member 'size' not described in 'i915_refct_sgt_init' > >> >> > > >> >> > Cc: Jani Nikula > >> >> > Cc: Joonas Lahtinen > >> >> > Cc: Rodrigo Vivi > >> >> > Cc: Tvrtko Ursulin > >> >> > Cc: David Airlie > >> >> > Cc: Daniel Vetter > >> >> > Cc: intel-gfx@lists.freedesktop.org > >> >> > Cc: dri-devel@lists.freedesktop.org > >> >> > Signed-off-by: Lee Jones > >> >> > >> >> Thanks for the patches! > >> >> > >> >> Applied all but one of the drm/i915 patches to drm-intel-next or > >> >> drm-intel-gt-next depending on the area. There were a couple of issues > >> >> that I fixed while applying. There was a conflict with patch 5/19 > >> >> against drm-intel-gt-next so I left that one out. > >> > > >> > Thanks Jani. I'll rebase and see what's left. > >> > >> We also took notice and aim to track this more aggressively [1]. > > > > Thanks. > > > > I did clean-up all of the GPU warnings already a couple of years ago, > > but they seem to have crept back over time. It would be great if we > > could put some extra checks in place to prevent them in the future. > > We are pretty zealous about warnings in general in i915. We have a bunch > of extra warnings in our local Makefile and use -Werror in > development. Inspired by this series, we added kernel-doc check to the > build, and hope to add kernel-doc -Werror too once we're done. Sounds good that you're on it. At least in your part of GPU. kernel-doc warnings are surfaced by enabling W=1. > > My aim, albeit ambitious, is to clean-up all of the W=1 warnings in the > > kernel, then have them promoted to W=0, so they warn more loudly during > > development, thus keeping them from reappearing. > > I wish it was easier to do the equivalent of W=1 on a driver or Makefile > basis. I like to keep i915 clean, but I don't like to use W=1 because > there are just so many warnings currently. Well that's what I hope to improve (again). :) > The other alternative is fixing and moving extra warnings from W=1 to > W=0 one by one. Right, that's where I'd like to end up eventually. -- Lee Jones [李琼斯]