diff options
| author | Greg Kroah-Hartman <[email protected]> | 2018-04-25 12:24:34 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-04-25 12:24:34 +0000 |
| commit | 0c718676ab3f02e98e85e7049e03d2879c62cb10 (patch) | |
| tree | e217d1994de317ae4495ef94ea46314049084579 /drivers/gpu/drm/omapdrm/omap_fbdev.c | |
| parent | typec: tcpm: Add support for sink PPS related messages (diff) | |
| download | kernel-0c718676ab3f02e98e85e7049e03d2879c62cb10.tar.gz kernel-0c718676ab3f02e98e85e7049e03d2879c62cb10.zip | |
typec: tcpm: fix compiler warning about stupid things
gcc thinks it is too smart and gives off a "you might be using this
variable before it is initialized" warning in tcpm_pd_build_request(),
because it can not follow the logic through the tcpm_pd_select_pdo()
call.
So just make gcc quiet by initializing things to 0, to prevent the
myriad of people complaining that we now have a build warning.
Cc: Adam Thomson <[email protected]>
Cc: Heikki Krogerus <[email protected]>
Cc: Guenter Roeck <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fbdev.c')
0 files changed, 0 insertions, 0 deletions
