Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp906277rwl; Wed, 5 Apr 2023 09:11:15 -0700 (PDT) X-Google-Smtp-Source: AKy350blrHDSXqyiTic3IKbLw0Ayd28uGe8SyT1pSIo14pTYWAokiYvUoKmrqFdHKKWQX/BxJlfg X-Received: by 2002:a17:902:ca14:b0:19e:7880:1c2 with SMTP id w20-20020a170902ca1400b0019e788001c2mr5695503pld.47.1680711074827; Wed, 05 Apr 2023 09:11:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680711074; cv=none; d=google.com; s=arc-20160816; b=gJsCw+gBxInQeciRITZDTuqBhEzqQW4QgdowoqAxJyJf1aGFlYfqmotqREivcPalii lGmuW9FP6RqZs6RkE8tEkYapyRwskoGc1VGM7HfG0zPgGKIUUCxo1R3vmcZfxfWf/gug WRiRcLTAU8nqS8u2EPyuvbI25n4fu2ezv5RLS3zrfvDFY/US9JHyep/CgehU3rIvq7vF qFGBxU0ddwcK5eGd/7fDsTuv52IgbHdh0Zfmrg5GLE/OGco05ogqLaSmzq76MxmglLnz aaYirNcVKAQfgpSOlwTQ98j+InIpms7YfbhDfzGsvyXnMT5PFd+HpwZ5rCoOxJHSifwb nsYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :organization:in-reply-to:subject:cc:to:from:dkim-signature; bh=6UnjiOXzt8oGo94XrV1EQgaEI3WEXz+N4opZzQxALyU=; b=S8yIALYQL9iS7afSRJVVjg/A9eO4b9pAQEPIWA1JSwUutmcMsgkRR5sQmJc/nlMF42 CffxzGVovNtyNhZRbNn8GI7Qqnd++VO9x46pFqXZqmUalwyF1TqM5wk38ZVKj7I3Q+2o a/aQeylqGghjuTCoANWTkMCmrwht5fN7w872verCwwwIdh3KrMzOQR3H8js8uAtYRZ5v dtzMOMTVI0OL68UyMLf7y1ak7If9BUQhX7SIHuF5s7cYhDawExN99NezUKs9NbTdDZch VmvABRK8snPX0k35tQe0dMW3/+3GRUuAf1ZlswZFykV9A/U/IzPjkd0iL9oC844dYBMq 2Wsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=DgH9z4O4; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a4-20020a170902b58400b001a04202f782si12588928pls.122.2023.04.05.09.10.58; Wed, 05 Apr 2023 09:11:14 -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=@intel.com header.s=Intel header.b=DgH9z4O4; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234442AbjDEQGl (ORCPT + 99 others); Wed, 5 Apr 2023 12:06:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233317AbjDEQGk (ORCPT ); Wed, 5 Apr 2023 12:06:40 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FD45420F for ; Wed, 5 Apr 2023 09:06:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1680710797; x=1712246797; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version; bh=sqg0P88YoT8lsSN0phoEeZOOz98+mdr1CWyuLIJ3O8o=; b=DgH9z4O4QNOcukmb8TMoRdMa+KW4FlyEf/LebEUp6YeMins629MoRESA ErhvLfQpLi1c+4Xbn9WN5fcscYCaD063T4kZ4MmiRNJAnKouCQAXAdW7l XEOrFhqN7webL/qJcZEFQboBEyJw2fWAdn41FhvYTg5LpvHqeFYGDm7XR jKm+GcoSFqlD7zToIDNBi6xsHgrjIn6hhB9fLhGETtHxBXA1qJ8F9rGuj npEB1hiEWEGyjzeUTE5co8a8QtZJywKhtNdZT/7OxyDUgA7Ek72pDxl2j XryalJTSNrBwov1TH504CuDrifnvK9OyQsWK3g9MORa+wBWEr13ym8ADt A==; X-IronPort-AV: E=McAfee;i="6600,9927,10671"; a="428781597" X-IronPort-AV: E=Sophos;i="5.98,321,1673942400"; d="scan'208";a="428781597" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Apr 2023 09:06:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10671"; a="719374688" X-IronPort-AV: E=Sophos;i="5.98,321,1673942400"; d="scan'208";a="719374688" Received: from dlemiech-mobl.ger.corp.intel.com (HELO localhost) ([10.252.43.158]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Apr 2023 09:06:33 -0700 From: Jani Nikula To: Lee Jones 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 '@' In-Reply-To: <20230405134526.GE8371@google.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo 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> Date: Wed, 05 Apr 2023 19:06:29 +0300 Message-ID: <87jzyqz52y.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE 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, 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. > 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. The other alternative is fixing and moving extra warnings from W=1 to W=0 one by one. BR, Jani. -- Jani Nikula, Intel Open Source Graphics Center