Skip to content

-Wuninitialized in drivers/gpu/drm/i915/display/intel_combo_phy.c #1094

@nathanchance

Description

@nathanchance
drivers/gpu/drm/i915/display/intel_combo_phy.c:268:3: warning: variable 'ret' is uninitialized when used here [-Wuninitialized]
                ret &= check_phy_reg(dev_priv, phy, ICL_PORT_TX_DW8_LN0(phy),
                ^~~
drivers/gpu/drm/i915/display/intel_combo_phy.c:261:10: note: initialize the variable 'ret' to silence this warning
        bool ret;
                ^
                 = 0
1 warning generated.

Patch submitted: https://lore.kernel.org/lkml/20200716042742.123169-1-natechancellor@gmail.com/

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions