lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210111191926.3688443-1-lee.jones@linaro.org>
Date:   Mon, 11 Jan 2021 19:18:46 +0000
From:   Lee Jones <lee.jones@...aro.org>
To:     lee.jones@...aro.org
Cc:     linux-kernel@...r.kernel.org,
        Alex Deucher <alexander.deucher@....com>,
        amd-gfx@...ts.freedesktop.org, Anthony Koo <Anthony.Koo@....com>,
        Aric Cyr <aric.cyr@....com>, Aric Cyr <Aric.Cyr@....com>,
        Aurabindo Pillai <aurabindo.pillai@....com>,
        Christian König <christian.koenig@....com>,
        Colin Ian King <colin.king@...onical.com>,
        Daniel Vetter <daniel@...ll.ch>,
        David Airlie <airlied@...ux.ie>,
        dri-devel@...ts.freedesktop.org,
        Harry Wentland <harry.wentland@....com>,
        Josip Pavic <Josip.Pavic@....com>, Leo Li <sunpeng.li@....com>,
        Mauro Rossi <issor.oruam@...il.com>,
        Tony Cheng <Tony.Cheng@....com>,
        Xiaojian Du <Xiaojian.Du@....com>
Subject: [PATCH 00/40] [Set 12] Rid W=1 warnings from GPU

MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This set is part of a larger effort attempting to clean-up W=1
kernel builds, which are currently overwhelmingly riddled with
niggly little warnings.

Lee Jones (40):
  drm/amd/display/dc/dce/dce_aux: Mark 'dce_aux_transfer_raw' as
    __maybe_unused
  drm/amd/display/dc/dce/dce_link_encoder: Remove unused variable
    'value0'
  drm/amd/display/dc/gpio/hw_ddc: Remove unused variable 'reg2'
  drm/amd/display/dc/dce/dce_opp: Demote non-compliant kernel-doc
    headers
  drm/amd/display/dc/dce/dce_transform: Demote kernel-doc abuse
  drm/amd/display/dc/gpio/diagnostics/hw_translate_diag: Include our own
    header containing prototypes
  drm/amd/display/dc/irq/irq_service: Make local function static
  drm/amd/display/dc/gpio/diagnostics/hw_factory_diag: Fix struct
    declared inside parameter list error
  drm/amd/display/dc/gpio/diagnostics/hw_factory_diag: Include our own
    header containing prototypes
  drm/amd/display/dc/dce120/dce120_hw_sequencer: Encompass defines in
    same clause as their use
  drm/amd/display/dc/dce120/dce120_timing_generator:
  drm/amd/display/dc/dce120/Makefile: Ignore -Woverride-init warning
  drm/amd/display/dc/calcs/dce_calcs: Move some large variables from the
    stack to the heap
  drm/amd/display/dc/calcs/dce_calcs: Remove some large variables from
    the stack
  drm/amd/display/dc/dce120/dce120_resource: Staticify local functions
  drm/amd/display/dc/dce120/dce120_timing_generator: Demote
    non-kerneldoc headers
  drm/amd/display/dc/dce/dce_aux: Remove duplicate line causing 'field
    overwritten' issue
  drm/amd/display/dc/dce112/Makefile: Ignore -Woverride-init warning
  drm/amd/display/dc/dce/dce_opp: Remove duplicate entries causing
    'field overwritten' issues
  drm/amd/display/dc/dce110/dce110_timing_generator: Remove unused
    variable 'value_crtc_vtotal'
  drm/amd/display/dc/dce110/dce110_compressor: Remove unused function
    'dce110_get_required_compressed_surfacesize
  drm/amd/display/dc/dce110/dce110_hw_sequencer: Demote non-conformant
    kernel-doc header
  drm/amd/display/dc/dce110/dce110_mem_input_v: Make local functions
    static
  drm/amd/pm/swsmu/smu11/vangogh_ppt: Make local function
    'vangogh_clk_dpm_is_enabled' static
  drm/amd/display/dc/dce120/dce120_timing_generator: Remove unused
    function 'dce120_timing_generator_get_position'
  drm/amd/display/dc/dce110/dce110_timing_generator: Demote kernel-doc
    abuses to standard function headers
  drm/amd/display/dc/dce110/dce110_compressor: Strip out unused function
    'controller_id_to_index'
  drm/amd/display/dc/calcs/dce_calcs: Demote non-conformant kernel-doc
    function headers
  drm/amd/display/dc/dce112/dce112_resource: Make local functions and
    ones called by reference static
  drm/amd/display/dc/dce110/dce110_timing_generator_v: Demote kernel-doc
    abuse and line up comments
  drm/amd/display/dc/dce110/dce110_mem_input_v: Include our own header,
    containing prototypes
  drm/amd/display/dc/dce110/Makefile: Ignore -Woverride-init warning
  drm/amd/display/dc/dce110/dce110_resource: Make local functions
    invoked by reference static
  drm/amd/display/dc/dce110/dce110_transform_v: Demote kernel-doc abuse
  drm/amd/display/dc/dce60/dce60_timing_generator: Make
    'dce60_configure_crc' invoked by reference static
  drm/amd/display/dc/dce100/dce100_resource: Make local functions and
    ones called by reference static
  drm/amd/display/dc/dce60/dce60_resource: Make local functions static
  drm/amd/display/dc/dce80/dce80_resource: Make local functions static
  drm/amd/display/dc/core/dc_surface: Demote kernel-doc abuse
  drm/amd/display/dc/core/dc_stream: Demote non-conformant kernel-doc
    headers

 .../gpu/drm/amd/display/dc/calcs/dce_calcs.c  | 1141 +++++++++--------
 .../gpu/drm/amd/display/dc/core/dc_stream.c   |    5 +-
 .../gpu/drm/amd/display/dc/core/dc_surface.c  |    2 +-
 drivers/gpu/drm/amd/display/dc/dce/dce_aux.c  |    2 +-
 drivers/gpu/drm/amd/display/dc/dce/dce_aux.h  |    1 -
 .../drm/amd/display/dc/dce/dce_link_encoder.c |    3 +-
 drivers/gpu/drm/amd/display/dc/dce/dce_opp.c  |   16 +-
 drivers/gpu/drm/amd/display/dc/dce/dce_opp.h  |    2 -
 .../drm/amd/display/dc/dce/dce_transform.c    |    2 +-
 .../amd/display/dc/dce100/dce100_resource.c   |   16 +-
 .../gpu/drm/amd/display/dc/dce110/Makefile    |    2 +
 .../amd/display/dc/dce110/dce110_compressor.c |   55 -
 .../display/dc/dce110/dce110_hw_sequencer.c   |    2 +-
 .../display/dc/dce110/dce110_mem_input_v.c    |   17 +-
 .../amd/display/dc/dce110/dce110_resource.c   |   16 +-
 .../dc/dce110/dce110_timing_generator.c       |   76 +-
 .../dc/dce110/dce110_timing_generator_v.c     |   19 +-
 .../display/dc/dce110/dce110_transform_v.c    |   19 +-
 .../gpu/drm/amd/display/dc/dce112/Makefile    |    2 +
 .../amd/display/dc/dce112/dce112_resource.c   |   16 +-
 .../gpu/drm/amd/display/dc/dce120/Makefile    |    2 +
 .../display/dc/dce120/dce120_hw_sequencer.c   |    2 +-
 .../amd/display/dc/dce120/dce120_resource.c   |    6 +-
 .../dc/dce120/dce120_timing_generator.c       |   99 +-
 .../drm/amd/display/dc/dce60/dce60_resource.c |   16 +-
 .../display/dc/dce60/dce60_timing_generator.c |    4 +-
 .../drm/amd/display/dc/dce80/dce80_resource.c |   16 +-
 .../dc/gpio/diagnostics/hw_factory_diag.c     |    1 +
 .../dc/gpio/diagnostics/hw_factory_diag.h     |    2 +
 .../dc/gpio/diagnostics/hw_translate_diag.c   |    1 +
 drivers/gpu/drm/amd/display/dc/gpio/hw_ddc.c  |    7 +-
 .../gpu/drm/amd/display/dc/irq/irq_service.c  |    2 +-
 .../gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c  |    4 +-
 33 files changed, 746 insertions(+), 830 deletions(-)

Cc: Alex Deucher <alexander.deucher@....com>
Cc: amd-gfx@...ts.freedesktop.org
Cc: Anthony Koo <Anthony.Koo@....com>
Cc: Aric Cyr <aric.cyr@....com>
Cc: Aric Cyr <Aric.Cyr@....com>
Cc: Aurabindo Pillai <aurabindo.pillai@....com>
Cc: "Christian König" <christian.koenig@....com>
Cc: Colin Ian King <colin.king@...onical.com>
Cc: Daniel Vetter <daniel@...ll.ch>
Cc: David Airlie <airlied@...ux.ie>
Cc: dri-devel@...ts.freedesktop.org
Cc: Harry Wentland <harry.wentland@....com>
Cc: Josip Pavic <Josip.Pavic@....com>
Cc: Lee Jones <lee.jones@...aro.org>
Cc: Leo Li <sunpeng.li@....com>
Cc: Mauro Rossi <issor.oruam@...il.com>
Cc: Tony Cheng <Tony.Cheng@....com>
Cc: Xiaojian Du <Xiaojian.Du@....com>
-- 
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ