diff options
| author | Anshuman Gupta <anshuman.gupta@intel.com> | 2021-01-20 13:30:32 +0300 | 
|---|---|---|
| committer | Anshuman Gupta <anshuman.gupta@intel.com> | 2021-01-22 13:34:25 +0300 | 
| commit | 40a6cead28f841ac350bd38dd7260ecacd5eab03 (patch) | |
| tree | f351e6684c01b2f60ff0bbf1d65d6480fbd9719a /scripts/gdb/linux/symbols.py | |
| parent | 7fde594fd866dcec4d126fff9a284ccb2fe1266a (diff) | |
| download | linux-40a6cead28f841ac350bd38dd7260ecacd5eab03.tar.xz | |
drm/i915/hdcp: Fix uninitialized symbol
Move (num_hdcp_streams > 0) condition to stream_encryption()
code block, where it actually belongs.
This fixes the static analysis error of uninitialized symbol 'ret'.
v2:
- return 0 as the return value is already checked. [Ankit]
Cc: Ramalingam C <ramalingam.c@intel.com>
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210120103032.15198-1-anshuman.gupta@intel.com
Diffstat (limited to 'scripts/gdb/linux/symbols.py')
0 files changed, 0 insertions, 0 deletions
