Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3551384pxb; Mon, 9 Nov 2020 14:25:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJygTsrl4p5cr665CWSzWyLzvcks63bPJI4swPNaRZ0/mxNbxBuCRV8KY5LQdgtBr8tBRLDM X-Received: by 2002:aa7:da01:: with SMTP id r1mr10268461eds.45.1604960703232; Mon, 09 Nov 2020 14:25:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604960703; cv=none; d=google.com; s=arc-20160816; b=f3BfwplnXNl0/AIZpuullDVPj9u9FIzdVyukNYePPZVhjEA3I2jpoeDQaXK9Z8SBNU D2pAvPKyswBU5osGe5/TRzLGHrEwwZcH7sNzScAqr0Tb80dSGNDPYiGj4tRTjCz4XZCh h8M5TUm0jYLmrbIwQcjMXtjAEZd98jC7d8EN2DUSqrEguwDrZwDz5U2trt5rWg4/VC/v QEoKLtcOd86JCE3xXYMTP3b/AYxfABMzTunnN31uTju9LeF/8z2HinMtNWQIbOozuGkT Wg6c4Dd3siShcw52p/72pP8JcKmDtCVkJpJT5Uvd/jpoi7S30kD0SD/1CGpMhrAhAAZs PgMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=HIMdkonH/M8RHuv/jMDRV8k2qN0Wz0T+rWEsqMPSnwA=; b=x75KiWisNGlx7qq939DraX1eG7Luf+wsJUKUUAAghMowAygf+CThCyEOri/Ls0s0vT VDnxyadtvQt3nNvY2Zmc3QZN+zPYQzmrhymbKoqkp867YIfH9IvzNVfU4tpbwQRkyD8/ 1DFdNug2MmNXCHLDTZ8LgvwhS9lhUrXG+5STN2Fnr/6JF6RAdqy9U2NEbLUF1isJRxGG QQ+QZAqcEqIZY1kMBYin4XLtBHqboOcyFJz6TYYyvnLTRve427zO+8+3ojNJ4sHIJfWA BSVXACtoevPhnoJerwVFtXxFJyoQLp3GeQYZn7UN/Dj/5C0NXSddpbrhbV0q2zVpI6lE 2qiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qXD2SUCf; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v7si8506103ejg.393.2020.11.09.14.24.39; Mon, 09 Nov 2020 14:25:03 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=qXD2SUCf; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729886AbgKIWXM (ORCPT + 99 others); Mon, 9 Nov 2020 17:23:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729247AbgKIWXM (ORCPT ); Mon, 9 Nov 2020 17:23:12 -0500 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35574C0613CF; Mon, 9 Nov 2020 14:23:12 -0800 (PST) Received: by mail-wr1-x444.google.com with SMTP id o15so2695395wru.6; Mon, 09 Nov 2020 14:23:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=HIMdkonH/M8RHuv/jMDRV8k2qN0Wz0T+rWEsqMPSnwA=; b=qXD2SUCfRXs2Son41xS9JrmModwUyi7zW8lHeER2+tNs+uLvRQ/DEASEaivbDeyq7N te/ZdwmqkOmiQ9aSgFbKP0DbNupVOJGRVcDNvVDGdBc4a77uq+b8XCjbQm+lcc4G6BFJ S4nENyYsMN/GK1oPm5ivx7auaI4cjA1Udqhuwsbk9y3meAheXjLm7NkEWRBQ6HQnBcZG GMfZU8vd7THL0I7JuY22nEBwdgxHpDpCNyjlNO9Ti9opIDFNRsgahgezGCZvsof36WMw L3t+67irsIWyrvKOBfVwjNd1VvRdyGEQ4Z5lgKzAqDkHy2MF0EOnsfxL11ikqj5timPT iUgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=HIMdkonH/M8RHuv/jMDRV8k2qN0Wz0T+rWEsqMPSnwA=; b=KQy4C3iS1xLlQqx1XIXWmWaKG0dQvFjvjax18VofJXYl4abifWgiVkfA64CWn/1N73 06M2nGE1g2WKPXSbkEYB1Y8J9px6egY46svjtO0+pO/Mj4DF6ObYa+kA9VvFIshGT6li Dno1Mt8fpR6V331UJ3AuEKPBBE1ecph37eiXTQ7XRnBYVgLisfcPkmKYcWldljtGckg6 Ml/Be5ypdjZyhRR4eO/NIwNyku68YoK+yhLCyxl7bh2+w4R8ngk4ZGV89fmeUKexwA9n ZeQBk5OLQ0Ubk3Rux+gUbOGGi5v1ZYC9/qgHlOh6ChOW9qMvBDGQ5mlCDBb7N9Eu5dsE BiaQ== X-Gm-Message-State: AOAM533cPM67yH0hsGwXRNxJzfhcSVBqVzNLrUWEMhbJz/kpyp2J/JP+ FO67yZrmaAB4YgQpVhXJfGzQb75cSvjYI+rXJPs= X-Received: by 2002:adf:f246:: with SMTP id b6mr20074356wrp.111.1604960590933; Mon, 09 Nov 2020 14:23:10 -0800 (PST) MIME-Version: 1.0 References: <20201109211855.3340030-1-lee.jones@linaro.org> In-Reply-To: <20201109211855.3340030-1-lee.jones@linaro.org> From: Alex Deucher Date: Mon, 9 Nov 2020 17:22:59 -0500 Message-ID: Subject: Re: [PATCH 00/20] [Set 3] Rid W=1 warnings from GPU To: Lee Jones Cc: David Airlie , LKML , amd-gfx list , Slava Grigorev , "moderated list:DMA BUFFER SHARING FRAMEWORK" , Jerome Glisse , Maling list - DRI developers , Alex Deucher , report to , =?UTF-8?Q?Christian_K=C3=B6nig?= , linux-media Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 9, 2020 at 4:19 PM Lee Jones wrote: > > This set is part of a larger effort attempting to clean-up W=3D1 > kernel builds, which are currently overwhelmingly riddled with > niggly little warnings. > > This set takes the running (decreasing) total from 5000 before > [Set 1] down to 2300. > > Lee Jones (20): > drm/radeon/radeon_ttm: Place declaration of 'rdev' in same clause as > its use > drm/radeon: Move radeon_ttm{init,fini} to shared location > drm/radeon/radeon_fence: Demote some non-conformant kernel-doc headers > and fix another > drm/radeon: Move 'radeon_add_legacy_encoder' prototype to shared > header > drm/radeon: Move 'radeon_add_legacy_encoder's prototype to shared > location > drm/radeon/radeon_connectors: Strip out set but unused variable 'ret' > drm/radeon/radeon_display: Remove unused variable 'mod' > drm/radeon/radeon_i2c: Remove pointless function header > drm/radeon/radeon_irq_kms: Demote non-conformant kernel-doc fix > another > drm/radeon/radeon_ring: Add missing function parameters 'rdev' and > 'data' > drm/radeon/r600: Strip out set but unused 'tmp' variables > drm/radeon/radeon_cs: Fix a bunch of doc-rot issues > drm/radeon/evergreen: Move 'rv770_set_clk_bypass_mode' prototype to > shared location > drm/radeon: Move 'radeon_pm_acpi_event_handler' prototype into shared > header > drm/radeon/r600d: Move 'rc600_*' prototypes into shared header > drm/radeon/radeon_audio: Move 'dce3_2_*' prototypes to shared location > drm/radeon/evergreend: Move 'evergreen_*' and 'sumo_*' prototypes out > to shared location > drm/radeon/radeon_display: Fix function doc formatting and missing > param issues > drm/radeon/r600: Fix a misnamed parameter description and a formatting > issue > drm/radeon/cik: Fix a bunch of function parameter descriptions > > drivers/gpu/drm/radeon/cik.c | 10 +++---- > drivers/gpu/drm/radeon/evergreen.c | 1 - > drivers/gpu/drm/radeon/ni.c | 16 ---------- > drivers/gpu/drm/radeon/r600.c | 11 +++---- > drivers/gpu/drm/radeon/r600d.h | 14 +++++++++ > drivers/gpu/drm/radeon/radeon.h | 34 ++++++++++++++++++++++ > drivers/gpu/drm/radeon/radeon_acpi.c | 2 -- > drivers/gpu/drm/radeon/radeon_atombios.c | 5 ---- > drivers/gpu/drm/radeon/radeon_audio.c | 23 +-------------- > drivers/gpu/drm/radeon/radeon_audio.h | 12 ++++++++ > drivers/gpu/drm/radeon/radeon_combios.c | 5 ---- > drivers/gpu/drm/radeon/radeon_connectors.c | 4 +-- > drivers/gpu/drm/radeon/radeon_cs.c | 12 ++++---- > drivers/gpu/drm/radeon/radeon_display.c | 17 +++++------ > drivers/gpu/drm/radeon/radeon_encoders.c | 3 -- > drivers/gpu/drm/radeon/radeon_fence.c | 6 ++-- > drivers/gpu/drm/radeon/radeon_i2c.c | 4 --- > drivers/gpu/drm/radeon/radeon_irq_kms.c | 6 ++-- > drivers/gpu/drm/radeon/radeon_object.c | 2 -- > drivers/gpu/drm/radeon/radeon_ring.c | 3 ++ > drivers/gpu/drm/radeon/radeon_ttm.c | 8 ++--- > drivers/gpu/drm/radeon/si.c | 6 ---- > 22 files changed, 96 insertions(+), 108 deletions(-) Instead of just dumping everything in radeon.h, I think it would be cleaner to add new headers that match the .c files that define them. E.g., add evergreen.h and put all the stuff from evergreen.c in there. Add rv770.h and add all the stuff defined in rv770.c, etc. Alex > > Cc: Alex Deucher > Cc: amd-gfx@lists.freedesktop.org > Cc: "Christian K=C3=B6nig" > Cc: Daniel Vetter > Cc: David Airlie > Cc: dri-devel@lists.freedesktop.org > Cc: Jerome Glisse > Cc: linaro-mm-sig@lists.linaro.org > Cc: linux-media@vger.kernel.org > Cc: report to > Cc: Slava Grigorev > Cc: Sumit Semwal > -- > 2.25.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel