Task #112353 - fixed.err

back to task #112353
download
Error: SHELLCHECK_WARNING (CWE-156):
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:18:22: warning[SC2046]: Quote this to prevent word splitting.
#   16|   # under BPF_FS_PARENT.
#   17|   BPF_DIR="$BPF_FS_PARENT/test_$TESTNAME"
#   18|-> SCRIPT_DIR=$(dirname $(realpath "$0"))
#   19|   BPF_FILE_PATH="$SCRIPT_DIR/$BPF_FILE"
#   20|   BPF_ITER_FILE_PATH="$SCRIPT_DIR/$BPF_ITER_FILE"

Error: SHELLCHECK_WARNING (CWE-563):
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:23:1: warning[SC2034]: KDIR_ROOT_DIR appears unused. Verify use (or export if used externally).
#   21|   BPFTOOL_PATH="bpftool"
#   22|   # Assume the script is located under tools/testing/selftests/bpf/
#   23|-> KDIR_ROOT_DIR=$(realpath "$SCRIPT_DIR"/../../../../)
#   24|   
#   25|   _cleanup()

Error: SHELLCHECK_WARNING (CWE-156):
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:69:7: warning[SC2046]: Quote this to prevent word splitting.
#   67|   
#   68|   check_root_privileges() {
#   69|-> 	if [ $(id -u) -ne 0 ]; then
#   70|   		echo "Need root privileges"
#   71|   		exit $ksft_skip

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:79:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#   77|   #   $1: bpftool path
#   78|   verify_bpftool_path() {
#   79|-> 	local bpftool_path="$1"
#   80|   	if ! "$bpftool_path" version > /dev/null 2>&1; then
#   81|   		echo "Could not run test without bpftool"

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:100:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#   98|   #  $2: bpftool path
#   99|   initialize_map_entries() {
#  100|-> 	local map_name="$1"
#  101|   	local bpftool_path="$2"
#  102|   

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:101:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#   99|   initialize_map_entries() {
#  100|   	local map_name="$1"
#  101|-> 	local bpftool_path="$2"
#  102|   
#  103|   	for key in 0 1 2; do

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:115:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  113|   #   $4: key
#  114|   access_for_read() {
#  115|-> 	local name_cmd="$1"
#  116|   	local map_name="$2"
#  117|   	local bpftool_path="$3"

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:116:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  114|   access_for_read() {
#  115|   	local name_cmd="$1"
#  116|-> 	local map_name="$2"
#  117|   	local bpftool_path="$3"
#  118|   	local key="$4"

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:117:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  115|   	local name_cmd="$1"
#  116|   	local map_name="$2"
#  117|-> 	local bpftool_path="$3"
#  118|   	local key="$4"
#  119|   

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:118:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  116|   	local map_name="$2"
#  117|   	local bpftool_path="$3"
#  118|-> 	local key="$4"
#  119|   
#  120|   	# Test read access to the map.

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:141:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  139|   #   $5: Whether write should succeed (true/false)
#  140|   access_for_write() {
#  141|-> 	local name_cmd="$1"
#  142|   	local map_name="$2"
#  143|   	local bpftool_path="$3"

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:142:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  140|   access_for_write() {
#  141|   	local name_cmd="$1"
#  142|-> 	local map_name="$2"
#  143|   	local bpftool_path="$3"
#  144|   	local key="$4"

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:143:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  141|   	local name_cmd="$1"
#  142|   	local map_name="$2"
#  143|-> 	local bpftool_path="$3"
#  144|   	local key="$4"
#  145|   	local write_should_succeed="$5"

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:144:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  142|   	local map_name="$2"
#  143|   	local bpftool_path="$3"
#  144|-> 	local key="$4"
#  145|   	local write_should_succeed="$5"
#  146|   	local value="1 1 1 1"

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:145:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  143|   	local bpftool_path="$3"
#  144|   	local key="$4"
#  145|-> 	local write_should_succeed="$5"
#  146|   	local value="1 1 1 1"
#  147|   

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:146:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  144|   	local key="$4"
#  145|   	local write_should_succeed="$5"
#  146|-> 	local value="1 1 1 1"
#  147|   
#  148|   	if "$bpftool_path" map update "$name_cmd" "$map_name" key $key value \

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:170:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  168|   #   $5: Whether write should succeed (true/false)
#  169|   access_for_deletion() {
#  170|-> 	local name_cmd="$1"
#  171|   	local map_name="$2"
#  172|   	local bpftool_path="$3"

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:171:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  169|   access_for_deletion() {
#  170|   	local name_cmd="$1"
#  171|-> 	local map_name="$2"
#  172|   	local bpftool_path="$3"
#  173|   	local key="$4"

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:172:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  170|   	local name_cmd="$1"
#  171|   	local map_name="$2"
#  172|-> 	local bpftool_path="$3"
#  173|   	local key="$4"
#  174|   	local write_should_succeed="$5"

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:173:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  171|   	local map_name="$2"
#  172|   	local bpftool_path="$3"
#  173|-> 	local key="$4"
#  174|   	local write_should_succeed="$5"
#  175|   	local value="1 1 1 1"

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:174:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  172|   	local bpftool_path="$3"
#  173|   	local key="$4"
#  174|-> 	local write_should_succeed="$5"
#  175|   	local value="1 1 1 1"
#  176|   

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:175:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  173|   	local key="$4"
#  174|   	local write_should_succeed="$5"
#  175|-> 	local value="1 1 1 1"
#  176|   
#  177|   	# Test deletion by key for the map.

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:234:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  232|   #   $5: bpf iterator object file path
#  233|   iterate_map_elem() {
#  234|-> 	local name_cmd="$1"
#  235|   	local map_name="$2"
#  236|   	local bpftool_path="$3"

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:235:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  233|   iterate_map_elem() {
#  234|   	local name_cmd="$1"
#  235|-> 	local map_name="$2"
#  236|   	local bpftool_path="$3"
#  237|   	local bpf_dir="$4"

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:236:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  234|   	local name_cmd="$1"
#  235|   	local map_name="$2"
#  236|-> 	local bpftool_path="$3"
#  237|   	local bpf_dir="$4"
#  238|   	local bpf_file="$5"

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:237:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  235|   	local map_name="$2"
#  236|   	local bpftool_path="$3"
#  237|-> 	local bpf_dir="$4"
#  238|   	local bpf_file="$5"
#  239|   	local pin_path="$bpf_dir/map_iterator"

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:238:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  236|   	local bpftool_path="$3"
#  237|   	local bpf_dir="$4"
#  238|-> 	local bpf_file="$5"
#  239|   	local pin_path="$bpf_dir/map_iterator"
#  240|   

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:239:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  237|   	local bpf_dir="$4"
#  238|   	local bpf_file="$5"
#  239|-> 	local pin_path="$bpf_dir/map_iterator"
#  240|   
#  241|   	"$bpftool_path" iter pin "$bpf_file" "$pin_path" map "$name_cmd" "$map_name"

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:262:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  260|   #   $8: bpf iterator object file path
#  261|   access_map() {
#  262|-> 	local name_cmd="$1"
#  263|   	local map_name="$2"
#  264|   	local bpftool_path="$3"

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:263:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  261|   access_map() {
#  262|   	local name_cmd="$1"
#  263|-> 	local map_name="$2"
#  264|   	local bpftool_path="$3"
#  265|   	local key_for_rw="$4"

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:264:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  262|   	local name_cmd="$1"
#  263|   	local map_name="$2"
#  264|-> 	local bpftool_path="$3"
#  265|   	local key_for_rw="$4"
#  266|   	local key_to_del="$5"

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:265:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  263|   	local map_name="$2"
#  264|   	local bpftool_path="$3"
#  265|-> 	local key_for_rw="$4"
#  266|   	local key_to_del="$5"
#  267|   	local write_should_succeed="$6"

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:266:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  264|   	local bpftool_path="$3"
#  265|   	local key_for_rw="$4"
#  266|-> 	local key_to_del="$5"
#  267|   	local write_should_succeed="$6"
#  268|   	local bpf_dir="$7"

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:267:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  265|   	local key_for_rw="$4"
#  266|   	local key_to_del="$5"
#  267|-> 	local write_should_succeed="$6"
#  268|   	local bpf_dir="$7"
#  269|   	local bpf_iter_file_path="$8"

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:268:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  266|   	local key_to_del="$5"
#  267|   	local write_should_succeed="$6"
#  268|-> 	local bpf_dir="$7"
#  269|   	local bpf_iter_file_path="$8"
#  270|   

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:269:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  267|   	local write_should_succeed="$6"
#  268|   	local bpf_dir="$7"
#  269|-> 	local bpf_iter_file_path="$8"
#  270|   
#  271|   	access_for_read "$name_cmd" "$map_name" "$bpftool_path" "$key_for_rw"

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:288:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  286|   #   $5: bpf iterator object file path
#  287|   test_map_access() {
#  288|-> 	local map_name="$1"
#  289|   	local bpftool_path="$2"
#  290|   	local bpf_dir="$3"

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:289:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  287|   test_map_access() {
#  288|   	local map_name="$1"
#  289|-> 	local bpftool_path="$2"
#  290|   	local bpf_dir="$3"
#  291|   	local pin_path="$bpf_dir/${map_name}_pinned"

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:290:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  288|   	local map_name="$1"
#  289|   	local bpftool_path="$2"
#  290|-> 	local bpf_dir="$3"
#  291|   	local pin_path="$bpf_dir/${map_name}_pinned"
#  292|   	local write_should_succeed="$4"

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:291:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  289|   	local bpftool_path="$2"
#  290|   	local bpf_dir="$3"
#  291|-> 	local pin_path="$bpf_dir/${map_name}_pinned"
#  292|   	local write_should_succeed="$4"
#  293|   	local bpf_iter_file_path="$5"

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:292:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  290|   	local bpf_dir="$3"
#  291|   	local pin_path="$bpf_dir/${map_name}_pinned"
#  292|-> 	local write_should_succeed="$4"
#  293|   	local bpf_iter_file_path="$5"
#  294|   

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:293:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  291|   	local pin_path="$bpf_dir/${map_name}_pinned"
#  292|   	local write_should_succeed="$4"
#  293|-> 	local bpf_iter_file_path="$5"
#  294|   
#  295|   	# Test access to the map by name.

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:316:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  314|   #   $2: BPF_DIR
#  315|   test_map_creation_and_map_of_maps() {
#  316|-> 	local bpftool_path="$1"
#  317|   	local bpf_dir="$2"
#  318|   	local outer_map_name="outer_map_tt"

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:317:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  315|   test_map_creation_and_map_of_maps() {
#  316|   	local bpftool_path="$1"
#  317|-> 	local bpf_dir="$2"
#  318|   	local outer_map_name="outer_map_tt"
#  319|   	local inner_map_name="inner_map_tt"

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:318:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  316|   	local bpftool_path="$1"
#  317|   	local bpf_dir="$2"
#  318|-> 	local outer_map_name="outer_map_tt"
#  319|   	local inner_map_name="inner_map_tt"
#  320|   

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:319:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  317|   	local bpf_dir="$2"
#  318|   	local outer_map_name="outer_map_tt"
#  319|-> 	local inner_map_name="inner_map_tt"
#  320|   
#  321|   	"$bpftool_path" map create "$bpf_dir/$inner_map_name" type array key 4 \

Error: SHELLCHECK_WARNING:
/usr/libexec/kselftests/bpf/test_bpftool_map.sh:354:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  352|   #   $1: bpftool path
#  353|   test_map_access_with_btf_list() {
#  354|-> 	local bpftool_path="$1"
#  355|   
#  356|   	# The btf list command iterates over maps for

Error: SHELLCHECK_WARNING (CWE-156):
/usr/libexec/kselftests/bpf/test_bpftool_metadata.sh:38:6: warning[SC2046]: Quote this to prevent word splitting.
#   36|   }
#   37|   
#   38|-> if [ $(id -u) -ne 0 ]; then
#   39|   	echo "selftests: $TESTNAME [SKIP] Need root privileges"
#   40|   	exit $ksft_skip

Error: SHELLCHECK_WARNING (CWE-156):
/usr/libexec/kselftests/mm/charge_reserved_hugetlb.sh:119:11: warning[SC2046]: Quote this to prevent word splitting.
#  117|     local path="$cgroup_path/$cgroup/hugetlb.${MB}MB.$reservation_usage_file"
#  118|     # Wait for hugetlbfs memory to get depleted.
#  119|->   while [ $(cat $path) != 0 ]; do
#  120|       echo Waiting for hugetlb memory to get depleted.
#  121|       cat $path

Error: SHELLCHECK_WARNING (CWE-156):
/usr/libexec/kselftests/mm/charge_reserved_hugetlb.sh:132:11: warning[SC2046]: Quote this to prevent word splitting.
#  130|     local path="$cgroup_path/$cgroup/hugetlb.${MB}MB.$reservation_usage_file"
#  131|     # Wait for hugetlbfs memory to get written.
#  132|->   while [ $(cat $path) != $size ]; do
#  133|       echo Waiting for hugetlb memory reservation to reach size $size.
#  134|       cat $path

Error: SHELLCHECK_WARNING (CWE-156):
/usr/libexec/kselftests/mm/charge_reserved_hugetlb.sh:145:11: warning[SC2046]: Quote this to prevent word splitting.
#  143|     local path="$cgroup_path/$cgroup/hugetlb.${MB}MB.$fault_usage_file"
#  144|     # Wait for hugetlbfs memory to get written.
#  145|->   while [ $(cat $path) != $size ]; do
#  146|       echo Waiting for hugetlb memory to reach size $size.
#  147|       cat $path

Error: SHELLCHECK_WARNING (CWE-457):
/usr/libexec/kselftests/net/hsr/hsr_ping.sh:34:11: warning[SC2154]: ns1 is referenced but not assigned.
#   32|   	echo "INFO: Initial validation ping."
#   33|   	# Each node has to be able each one.
#   34|-> 	do_ping "$ns1" 100.64.0.2
#   35|   	do_ping "$ns2" 100.64.0.1
#   36|   	do_ping "$ns3" 100.64.0.1

Error: SHELLCHECK_WARNING (CWE-457):
/usr/libexec/kselftests/net/hsr/hsr_ping.sh:35:11: warning[SC2154]: ns2 is referenced but not assigned.
#   33|   	# Each node has to be able each one.
#   34|   	do_ping "$ns1" 100.64.0.2
#   35|-> 	do_ping "$ns2" 100.64.0.1
#   36|   	do_ping "$ns3" 100.64.0.1
#   37|   	stop_if_error "Initial validation failed."

Error: SHELLCHECK_WARNING (CWE-457):
/usr/libexec/kselftests/net/hsr/hsr_ping.sh:36:11: warning[SC2154]: ns3 is referenced but not assigned.
#   34|   	do_ping "$ns1" 100.64.0.2
#   35|   	do_ping "$ns2" 100.64.0.1
#   36|-> 	do_ping "$ns3" 100.64.0.1
#   37|   	stop_if_error "Initial validation failed."
#   38|   

Error: SHELLCHECK_WARNING (CWE-563):
/usr/libexec/kselftests/net/netfilter/nft_queue.sh:540:8: warning[SC2034]: rpid1 appears unused. Verify use (or export if used externally).
#  538|   
#  539|   	timeout 10 ip netns exec "$ns2" socat UDP-LISTEN:12345,fork,pf=ipv4 OPEN:"$TMPFILE1",trunc &
#  540|-> 	local rpid1=$!
#  541|   
#  542|   	timeout 10 ip netns exec "$ns3" socat UDP-LISTEN:12345,fork,pf=ipv4 OPEN:"$TMPFILE2",trunc &

Error: SHELLCHECK_WARNING (CWE-563):
/usr/libexec/kselftests/net/netfilter/nft_queue.sh:543:8: warning[SC2034]: rpid2 appears unused. Verify use (or export if used externally).
#  541|   
#  542|   	timeout 10 ip netns exec "$ns3" socat UDP-LISTEN:12345,fork,pf=ipv4 OPEN:"$TMPFILE2",trunc &
#  543|-> 	local rpid2=$!
#  544|   
#  545|   	ip netns exec "$nsrouter" ./nf_queue -q 12 -d 1000 &

Error: SHELLCHECK_WARNING (CWE-477):
/usr/src/kernels/6.19.10-300.fc45.x86_64+debug/scripts/coccicheck:141:36: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
#  139|   		echo "Running ($NPROC in parallel): $@"
#  140|   	fi
#  141|-> 	if [ "$DEBUG_FILE" != "/dev/null" -a "$DEBUG_FILE" != "" ]; then
#  142|                   echo $@>>$DEBUG_FILE
#  143|                   $@ 2>>$DEBUG_FILE

Error: SHELLCHECK_WARNING (CWE-477):
/usr/src/kernels/6.19.10-300.fc45.x86_64+debug/scripts/coccicheck:262:35: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
#  260|   }
#  261|   
#  262|-> if [ "$DEBUG_FILE" != "/dev/null" -a "$DEBUG_FILE" != "" ]; then
#  263|   	if [ -f $DEBUG_FILE ]; then
#  264|   		echo "Debug file $DEBUG_FILE exists, bailing"

Error: SHELLCHECK_WARNING (CWE-398):
/usr/src/kernels/6.19.10-300.fc45.x86_64+debug/scripts/kconfig/merge_config.sh:165:13: error[SC1087]: Use braces when expanding arrays, e.g. ${array[idx]} (or ${var}[.. to quiet).
#  163|   		fi
#  164|   		if [ "$BUILTIN_FLAG" = "false" ]; then
#  165|-> 			sed -i "/$CFG[ =]/d" $TMP_FILE
#  166|   		else
#  167|   			sed -i "/$CFG[ =]/d" $MERGE_FILE

Error: SHELLCHECK_WARNING (CWE-398):
/usr/src/kernels/6.19.10-300.fc45.x86_64+debug/scripts/kconfig/merge_config.sh:167:13: error[SC1087]: Use braces when expanding arrays, e.g. ${array[idx]} (or ${var}[.. to quiet).
#  165|   			sed -i "/$CFG[ =]/d" $TMP_FILE
#  166|   		else
#  167|-> 			sed -i "/$CFG[ =]/d" $MERGE_FILE
#  168|   		fi
#  169|   	done

Error: SHELLCHECK_WARNING:
/usr/src/kernels/6.19.10-300.fc45.x86_64+debug/scripts/link-vmlinux.sh:113:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  111|   gen_btf()
#  112|   {
#  113|-> 	local btf_data=${1}.btf.o
#  114|   
#  115|   	info BTF "${btf_data}"

Error: SHELLCHECK_WARNING (CWE-477):
/usr/src/kernels/6.19.10-300.fc45.x86_64/scripts/coccicheck:141:36: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
#  139|   		echo "Running ($NPROC in parallel): $@"
#  140|   	fi
#  141|-> 	if [ "$DEBUG_FILE" != "/dev/null" -a "$DEBUG_FILE" != "" ]; then
#  142|                   echo $@>>$DEBUG_FILE
#  143|                   $@ 2>>$DEBUG_FILE

Error: SHELLCHECK_WARNING (CWE-477):
/usr/src/kernels/6.19.10-300.fc45.x86_64/scripts/coccicheck:262:35: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
#  260|   }
#  261|   
#  262|-> if [ "$DEBUG_FILE" != "/dev/null" -a "$DEBUG_FILE" != "" ]; then
#  263|   	if [ -f $DEBUG_FILE ]; then
#  264|   		echo "Debug file $DEBUG_FILE exists, bailing"

Error: SHELLCHECK_WARNING (CWE-398):
/usr/src/kernels/6.19.10-300.fc45.x86_64/scripts/kconfig/merge_config.sh:165:13: error[SC1087]: Use braces when expanding arrays, e.g. ${array[idx]} (or ${var}[.. to quiet).
#  163|   		fi
#  164|   		if [ "$BUILTIN_FLAG" = "false" ]; then
#  165|-> 			sed -i "/$CFG[ =]/d" $TMP_FILE
#  166|   		else
#  167|   			sed -i "/$CFG[ =]/d" $MERGE_FILE

Error: SHELLCHECK_WARNING (CWE-398):
/usr/src/kernels/6.19.10-300.fc45.x86_64/scripts/kconfig/merge_config.sh:167:13: error[SC1087]: Use braces when expanding arrays, e.g. ${array[idx]} (or ${var}[.. to quiet).
#  165|   			sed -i "/$CFG[ =]/d" $TMP_FILE
#  166|   		else
#  167|-> 			sed -i "/$CFG[ =]/d" $MERGE_FILE
#  168|   		fi
#  169|   	done

Error: SHELLCHECK_WARNING:
/usr/src/kernels/6.19.10-300.fc45.x86_64/scripts/link-vmlinux.sh:113:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
#  111|   gen_btf()
#  112|   {
#  113|-> 	local btf_data=${1}.btf.o
#  114|   
#  115|   	info BTF "${btf_data}"

Error: GCC_ANALYZER_WARNING (CWE-126):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/arch/x86/power/cpu.c:417:51: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/arch/x86/power/cpu.c:458:12: enter_function: entry to ‘msr_save_cpuid_features’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/arch/x86/power/cpu.c:467:16: call_function: calling ‘msr_build_context’ from ‘msr_save_cpuid_features’
#  415|   		u64 dummy;
#  416|   
#  417|-> 		msr_array[i].info.msr_no	= msr_id[j];
#  418|   		msr_array[i].valid		= !rdmsrq_safe(msr_id[j], &dummy);
#  419|   		msr_array[i].info.reg.q		= 0;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:172:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:100:6: enter_function: entry to ‘memcpy_sglist’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:105:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:108:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:115:41: call_function: inlined call to ‘sg_page’ from ‘memcpy_sglist’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:116:41: call_function: inlined call to ‘sg_page’ from ‘memcpy_sglist’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:154:28: branch_false: following ‘false’ branch (when ‘src_virt == dst_virt’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:161:17: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:162:20: branch_false: following ‘false’ branch (when ‘nbytes != 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:169:17: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:170:20: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:171:31: call_function: inlined call to ‘sg_next’ from ‘memcpy_sglist’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:172:25: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:172:25: danger: dereference of NULL ‘<unknown>’
#  170|   		if (src_offset >= src->offset + src->length) {
#  171|   			src = sg_next(src);
#  172|-> 			src_offset = src->offset;
#  173|   		}
#  174|   		dst_offset += len;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:177:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:100:6: enter_function: entry to ‘memcpy_sglist’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:105:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:108:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:115:41: call_function: inlined call to ‘sg_page’ from ‘memcpy_sglist’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:116:41: call_function: inlined call to ‘sg_page’ from ‘memcpy_sglist’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:162:20: branch_false: following ‘false’ branch (when ‘nbytes != 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:169:17: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:175:20: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:176:31: call_function: inlined call to ‘sg_next’ from ‘memcpy_sglist’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:177:25: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:177:25: danger: dereference of NULL ‘<unknown>’
#  175|   		if (dst_offset >= dst->offset + dst->length) {
#  176|   			dst = sg_next(dst);
#  177|-> 			dst_offset = dst->offset;
#  178|   		}
#  179|   	}

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:191:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:183:21: enter_function: entry to ‘scatterwalk_ffwd’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:188:20: branch_false: following ‘false’ branch (when ‘len != 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:191:21: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:191:20: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:194:17: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:195:23: call_function: inlined call to ‘sg_next’ from ‘scatterwalk_ffwd’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:188:20: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:188:20: branch_false: following ‘false’ branch (when ‘len != 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:191:21: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:191:21: danger: dereference of NULL ‘src’
#  189|   			return src;
#  190|   
#  191|-> 		if (src->length > len)
#  192|   			break;
#  193|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/cxl/core/port.c:1559:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘port’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/cxl/core/port.c:1550:12: enter_function: entry to ‘match_port_by_uport’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/cxl/core/port.c:1558:16: call_function: calling ‘to_cxl_port’ from ‘match_port_by_uport’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/cxl/core/port.c:1558:16: return_function: return of NULL to ‘match_port_by_uport’ from ‘to_cxl_port’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/cxl/core/port.c:1559:29: danger: dereference of NULL ‘port’
# 1557|   
# 1558|   	port = to_cxl_port(dev);
# 1559|-> 	return uport_dev == port->uport_dev;
# 1560|   }
# 1561|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/dma/altera-msgdma.c:405:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sg’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/dma/altera-msgdma.c:388:1: enter_function: entry to ‘msgdma_prep_slave_sg’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/dma/altera-msgdma.c:404:9: branch_true: following ‘true’ branch (when ‘i < sg_len’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/dma/altera-msgdma.c:405:29: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/dma/altera-msgdma.c:404:9: call_function: inlined call to ‘sg_next’ from ‘msgdma_prep_slave_sg’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/dma/altera-msgdma.c:404:9: branch_true: following ‘true’ branch (when ‘i < sg_len’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/dma/altera-msgdma.c:405:29: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/dma/altera-msgdma.c:405:29: danger: dereference of NULL ‘sg’
#  403|   
#  404|   	for_each_sg(sgl, sg, sg_len, i)
#  405|-> 		desc_cnt += DIV_ROUND_UP(sg_dma_len(sg), MSGDMA_MAX_TRANS_LEN);
#  406|   
#  407|   	spin_lock_irqsave(&mdev->lock, irqflags);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/dma/xilinx/xdma.c:613:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sg’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/dma/xilinx/xdma.c:601:1: enter_function: entry to ‘xdma_prep_device_sg’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/dma/xilinx/xdma.c:612:9: branch_true: following ‘true’ branch (when ‘i < sg_len’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/dma/xilinx/xdma.c:613:29: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/dma/xilinx/xdma.c:612:9: call_function: inlined call to ‘sg_next’ from ‘xdma_prep_device_sg’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/dma/xilinx/xdma.c:612:9: branch_true: following ‘true’ branch (when ‘i < sg_len’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/dma/xilinx/xdma.c:613:29: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/dma/xilinx/xdma.c:613:29: danger: dereference of NULL ‘sg’
#  611|   
#  612|   	for_each_sg(sgl, sg, sg_len, i)
#  613|-> 		desc_num += DIV_ROUND_UP(sg_dma_len(sg), XDMA_DESC_BLEN_MAX);
#  614|   
#  615|   	sw_desc = xdma_alloc_desc(xdma_chan, desc_num, false);

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:350:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘r’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:315:9: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:327:14: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:350:12: danger: use of uninitialized value ‘r’ here
#  348|   
#  349|   out_unlock:
#  350|-> 	if (r)
#  351|   		dev_err(adev->dev, "leaking bo va (%ld)\n", r);
#  352|   	drm_exec_fini(&exec);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:783:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bo_va’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:799:5: enter_function: entry to ‘amdgpu_gem_va_ioctl’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:823:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:830:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:830:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:839:26: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:843:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:850:14: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:857:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:869:12: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:884:12: branch_false: following ‘false’ branch (when ‘r == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:887:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:904:12: branch_false: following ‘false’ branch (when ‘abo’ is NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:910:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:910:19: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:923:45: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:921:13: call_function: calling ‘amdgpu_gem_update_timeline_node’ from ‘amdgpu_gem_va_ioctl’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:921:13: return_function: returning to ‘amdgpu_gem_va_ioctl’ from ‘amdgpu_gem_update_timeline_node’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:926:12: branch_false: following ‘false’ branch (when ‘r == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:929:17: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:958:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:958:13: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:960:49: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:959:25: call_function: calling ‘amdgpu_gem_va_update_vm’ from ‘amdgpu_gem_va_ioctl’
#  781|   			fence = dma_fence_get(vm->last_update);
#  782|   		else
#  783|-> 			fence = dma_fence_get(bo_va->last_pt_update);
#  784|   		break;
#  785|   	case AMDGPU_VA_OP_UNMAP:

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_res_cursor.h:161:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘node’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_migrate.c:911:1: enter_function: entry to ‘svm_migrate_to_vram’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_migrate.c:916:24: call_function: calling ‘svm_migrate_ram_to_vram’ from ‘svm_migrate_to_vram’
#  159|   
#  160|   		cur->node = ++node;
#  161|-> 		cur->start = node->start << PAGE_SHIFT;
#  162|   		cur->size = min(node->size << PAGE_SHIFT, cur->remaining);
#  163|   		break;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c:313:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  311|   	struct amdgpu_userq_fence *fence = to_amdgpu_userq_fence(f);
#  312|   
#  313|-> 	return fence->fence_drv->timeline_name;
#  314|   }
#  315|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c:449:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c:443:1: enter_function: entry to ‘amdgpu_userq_fence_driver_force_completion’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c:447:12: branch_true: following ‘true’ branch (when ‘f’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c:448:52: call_function: inlined call to ‘to_amdgpu_userq_fence’ from ‘amdgpu_userq_fence_driver_force_completion’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c:449:51: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c:449:51: danger: dereference of NULL ‘<unknown>’
#  447|   	if (f) {
#  448|   		struct amdgpu_userq_fence *fence = to_amdgpu_userq_fence(f);
#  449|-> 		struct amdgpu_userq_fence_driver *fence_drv = fence->fence_drv;
#  450|   		u64 wptr = fence->base.seqno;
#  451|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_device.c:669:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘knode’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_device.c:667:21: branch_true: following ‘true’ branch (when ‘i < num_nodes’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_device.c:668:25: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_device.c:675:17: release_memory: using NULL here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_device.c:667:21: branch_true: following ‘true’ branch (when ‘i < num_nodes’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_device.c:668:25: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_device.c:675:17: release_memory: using NULL here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_device.c:667:21: branch_true: following ‘true’ branch (when ‘i < num_nodes’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_device.c:668:25: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_device.c:668:17: release_memory: ‘knode’ is NULL
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_device.c:669:17: danger: dereference of NULL ‘knode’
#  667|   	for (i = 0; i < num_nodes; i++) {
#  668|   		knode = kfd->nodes[i];
#  669|-> 		device_queue_manager_uninit(knode->dqm);
#  670|   		kfd_interrupt_exit(knode);
#  671|   		kfd_topology_remove_device(knode);

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c:1481:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ret’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c:2646:12: enter_function: entry to ‘process_termination_nocpsch’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c:2657:16: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c:2661:21: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c:2664:23: call_function: calling ‘destroy_queue_nocpsch_locked’ from ‘process_termination_nocpsch’
# 1479|   	}
# 1480|   
# 1481|-> 	return ret;
# 1482|   }
# 1483|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c:3225:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c:3412:5: enter_function: entry to ‘suspend_queues’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c:3418:31: call_function: inlined call to ‘get_queue_ids’ from ‘suspend_queues’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c:3422:13: call_function: inlined call to ‘IS_ERR’ from ‘suspend_queues’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c:3422:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c:3422:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c:3426:9: call_function: inlined call to ‘q_array_invalidate’ from ‘suspend_queues’
# 3223|   
# 3224|   	for (i = 0; i < num_queues; i++)
# 3225|-> 		queue_ids[i] |= KFD_DBG_QUEUE_INVALID_MASK;
# 3226|   }
# 3227|   

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c:615:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘err’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c:603:9: branch_false: following ‘false’ branch (when ‘xcc_id == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c:615:16: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c:615:16: danger: use of uninitialized value ‘err’ here
#  613|   	}
#  614|   
#  615|-> 	return err;
#  616|   }
#  617|   

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c:642:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘err’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c:628:9: branch_false: following ‘false’ branch (when ‘xcc_id == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c:642:16: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c:642:16: danger: use of uninitialized value ‘err’ here
#  640|   	}
#  641|   
#  642|-> 	return err;
#  643|   }
#  644|   

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c:841:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘err’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c:829:9: branch_false: following ‘false’ branch (when ‘xcc_id == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c:841:16: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c:841:16: danger: use of uninitialized value ‘err’ here
#  839|   	}
#  840|   
#  841|-> 	return err;
#  842|   }
#  843|   

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c:868:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘err’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c:855:9: branch_false: following ‘false’ branch (when ‘xcc_id == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c:868:16: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c:868:16: danger: use of uninitialized value ‘err’ here
#  866|   	}
#  867|   
#  868|-> 	return err;
#  869|   }
#  870|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_process.c:1061:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pdd’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_process.c:1056:21: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_process.c:1057:50: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_process.c:1093:17: release_memory: using NULL here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_process.c:1056:21: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_process.c:1057:50: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_process.c:1093:17: release_memory: using NULL here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_process.c:1056:21: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_process.c:1057:50: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_process.c:1057:44: release_memory: ‘pdd’ is NULL
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_process.c:1061:17: danger: dereference of NULL ‘pdd’
# 1059|   		kfd_smi_event_process(pdd, false);
# 1060|   
# 1061|-> 		pr_debug("Releasing pdd (topology id %d, for pid %d)\n",
# 1062|   			pdd->dev->id, p->lead_thread->pid);
# 1063|   		kfd_process_device_destroy_cwsr_dgpu(pdd);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_process.c:1423:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pdd’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_process.c:1052:13: enter_function: entry to ‘kfd_process_destroy_pdds’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_process.c:1056:21: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_process.c:1057:50: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_process.c:1093:17: release_memory: using NULL here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_process.c:1056:21: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_process.c:1057:50: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_process.c:1093:17: release_memory: using NULL here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_process.c:1056:21: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_process.c:1057:50: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_process.c:1057:44: release_memory: ‘pdd’ is NULL
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_process.c:1063:17: call_function: calling ‘kfd_process_device_destroy_cwsr_dgpu’ from ‘kfd_process_destroy_pdds’
# 1421|   static void kfd_process_device_destroy_cwsr_dgpu(struct kfd_process_device *pdd)
# 1422|   {
# 1423|-> 	struct kfd_node *dev = pdd->dev;
# 1424|   	struct qcm_process_device *qpd = &pdd->qpd;
# 1425|   

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.c:3124:49: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘DCFCLKRequiredForPeakBandwidthPerSurface[k]’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.c:2987:22: branch_true: following ‘true’ branch (when ‘i != 40’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.c:2987:22: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.c:2988:30: branch_true: following ‘true’ branch (when ‘j != 2’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.c:2989:32: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.c:3009:37: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.c:3010:58: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.c:3022:37: branch_false: following ‘false’ branch (when ‘k >= NumberOfActiveSurfaces’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.c:3022:37: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.c:3122:37: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.c:3124:49: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.c:3124:49: danger: use of uninitialized value ‘DCFCLKRequiredForPeakBandwidthPerSurface[k]’ here
# 3122|   			for (k = 0; k <= NumberOfActiveSurfaces - 1; ++k) {
# 3123|   				DCFCLKRequiredForPeakBandwidth = DCFCLKRequiredForPeakBandwidth +
# 3124|-> 						DCFCLKRequiredForPeakBandwidthPerSurface[k];
# 3125|   			}
# 3126|   			MinimumTvmPlus2Tr0 = UrgLatency[i] * (GPUVMEnable == true ?

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c:976:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘phyd32clk’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c:949:6: enter_function: entry to ‘dcn401_enable_stream’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c:967:9: call_function: calling ‘dcn401_enable_stream_calc’ from ‘dcn401_enable_stream’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c:967:9: return_function: returning to ‘dcn401_enable_stream’ from ‘dcn401_enable_stream_calc’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c:971:20: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c:972:25: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c:973:28: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c:976:33: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c:976:33: danger: use of uninitialized value ‘phyd32clk’ here
#  974|   				dccg->funcs->disable_symclk32_se(dccg, dp_hpo_inst);
#  975|   			} else {
#  976|-> 				dccg->funcs->enable_symclk32_se(dccg, dp_hpo_inst, phyd32clk);
#  977|   			}
#  978|   		} else {

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:3506:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:3487:17: enter_function: entry to ‘smu7_dpm_get_mclk’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:3492:12: branch_false: following ‘false’ branch (when ‘hwmgr’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:3495:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:3497:12: branch_false: following ‘false’ branch (when ‘ps’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:3500:19: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:3500:19: call_function: inlined call to ‘cast_phw_smu7_power_state’ from ‘smu7_dpm_get_mclk’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:3502:12: branch_false: following ‘false’ branch (when ‘low == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:3506:34: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:3506:34: danger: dereference of NULL ‘<unknown>’
# 3504|   	else
# 3505|   		return smu7_ps->performance_levels
# 3506|-> 				[smu7_ps->performance_level_count-1].memory_clock;
# 3507|   }
# 3508|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:3528:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:3509:17: enter_function: entry to ‘smu7_dpm_get_sclk’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:3514:12: branch_false: following ‘false’ branch (when ‘hwmgr’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:3517:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:3519:12: branch_false: following ‘false’ branch (when ‘ps’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:3522:19: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:3522:19: call_function: inlined call to ‘cast_phw_smu7_power_state’ from ‘smu7_dpm_get_sclk’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:3524:12: branch_false: following ‘false’ branch (when ‘low == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:3528:34: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:3528:34: danger: dereference of NULL ‘<unknown>’
# 3526|   	else
# 3527|   		return smu7_ps->performance_levels
# 3528|-> 				[smu7_ps->performance_level_count-1].engine_clock;
# 3529|   }
# 3530|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:3808:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:3791:12: enter_function: entry to ‘smu7_get_pp_table_entry_callback_func_v0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:3796:40: call_function: inlined call to ‘cast_phw_smu7_power_state’ from ‘smu7_get_pp_table_entry_callback_func_v0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:3808:9: danger: dereference of NULL ‘<unknown>’
# 3806|   		data->highest_mclk = memory_clock;
# 3807|   
# 3808|-> 	PP_ASSERT_WITH_CODE(
# 3809|   			(ps->performance_level_count < smum_get_mac_definition(hwmgr, SMU_MAX_LEVELS_GRAPHICS)),
# 3810|   			"Performance levels exceeds SMC limit!",

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:4092:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:4083:12: enter_function: entry to ‘smu7_find_dpm_states_clocks_in_dpm_table’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:4088:25: call_function: inlined call to ‘cast_const_phw_smu7_power_state’ from ‘smu7_find_dpm_states_clocks_in_dpm_table’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:4092:26: danger: dereference of NULL ‘<unknown>’
# 4090|   	struct smu7_single_dpm_table *sclk_table = &(data->dpm_table.sclk_table);
# 4091|   	uint32_t sclk = smu7_ps->performance_levels
# 4092|-> 			[smu7_ps->performance_level_count - 1].engine_clock;
# 4093|   	struct smu7_single_dpm_table *mclk_table = &(data->dpm_table.mclk_table);
# 4094|   	uint32_t mclk = smu7_ps->performance_levels

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:4145:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘smu7_ps’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:4407:12: enter_function: entry to ‘smu7_notify_link_speed_change_after_state_change’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:4414:25: call_function: inlined call to ‘cast_const_phw_smu7_power_state’ from ‘smu7_notify_link_speed_change_after_state_change’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:4415:38: call_function: calling ‘smu7_get_maximum_link_speed’ from ‘smu7_notify_link_speed_change_after_state_change’
# 4143|   	struct smu7_dpm_table *dpm_table = &data->dpm_table;
# 4144|   
# 4145|-> 	for (i = 0; i < smu7_ps->performance_level_count; i++) {
# 4146|   		sclk = smu7_ps->performance_levels[i].engine_clock;
# 4147|   		if (max_sclk < sclk)

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:4323:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘smu7_ps’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:4342:12: enter_function: entry to ‘smu7_generate_dpm_level_enable_mask’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:4350:25: call_function: inlined call to ‘cast_const_phw_smu7_power_state’ from ‘smu7_generate_dpm_level_enable_mask’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:4353:18: call_function: calling ‘smu7_trim_dpm_states’ from ‘smu7_generate_dpm_level_enable_mask’
# 4321|   	uint32_t high_limit_count;
# 4322|   
# 4323|-> 	PP_ASSERT_WITH_CODE((smu7_ps->performance_level_count >= 1),
# 4324|   			"power state did not have any performance level",
# 4325|   			return -EINVAL);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:4730:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:4715:12: enter_function: entry to ‘smu7_check_states_equal’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:4724:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:4728:15: call_function: inlined call to ‘cast_const_phw_smu7_power_state’ from ‘smu7_check_states_equal’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:4730:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:4730:13: danger: dereference of NULL ‘<unknown>’
# 4728|   	psb = cast_const_phw_smu7_power_state(pstate2);
# 4729|   	/* If the two states don't even have the same number of performance levels they cannot be the same state. */
# 4730|-> 	if (psa->performance_level_count != psb->performance_level_count) {
# 4731|   		*equal = false;
# 4732|   		return 0;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:4730:45: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:4715:12: enter_function: entry to ‘smu7_check_states_equal’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:4724:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:4728:15: call_function: inlined call to ‘cast_const_phw_smu7_power_state’ from ‘smu7_check_states_equal’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:4730:45: danger: dereference of NULL ‘<unknown>’
# 4728|   	psb = cast_const_phw_smu7_power_state(pstate2);
# 4729|   	/* If the two states don't even have the same number of performance levels they cannot be the same state. */
# 4730|-> 	if (psa->performance_level_count != psb->performance_level_count) {
# 4731|   		*equal = false;
# 4732|   		return 0;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:5123:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:5105:12: enter_function: entry to ‘smu7_set_sclk_od’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:5118:12: branch_false: following ‘false’ branch (when ‘ps’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:5121:19: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:5121:19: call_function: inlined call to ‘cast_phw_smu7_power_state’ from ‘smu7_set_sclk_od’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:5123:37: danger: dereference of NULL ‘<unknown>’
# 5121|   	smu7_ps = cast_phw_smu7_power_state(&ps->hardware);
# 5122|   
# 5123|-> 	smu7_ps->performance_levels[smu7_ps->performance_level_count - 1].engine_clock =
# 5124|   			golden_sclk_table->dpm_levels[golden_sclk_table->count - 1].value *
# 5125|   			value / 100 +

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:5165:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:5147:12: enter_function: entry to ‘smu7_set_mclk_od’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:5160:12: branch_false: following ‘false’ branch (when ‘ps’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:5163:19: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:5163:19: call_function: inlined call to ‘cast_phw_smu7_power_state’ from ‘smu7_set_mclk_od’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:5165:37: danger: dereference of NULL ‘<unknown>’
# 5163|   	smu7_ps = cast_phw_smu7_power_state(&ps->hardware);
# 5164|   
# 5165|-> 	smu7_ps->performance_levels[smu7_ps->performance_level_count - 1].memory_clock =
# 5166|   			golden_mclk_table->dpm_levels[golden_mclk_table->count - 1].value *
# 5167|   			value / 100 +

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:5721:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:5709:12: enter_function: entry to ‘smu7_get_performance_level’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:5716:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c:5721:21: danger: dereference of NULL ‘<unknown>’
# 5719|   	ps = cast_const_phw_smu7_power_state(state);
# 5720|   
# 5721|-> 	i = index > ps->performance_level_count - 1 ?
# 5722|   			ps->performance_level_count - 1 : index;
# 5723|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c:878:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c:866:12: enter_function: entry to ‘smu8_update_low_mem_pstate’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c:872:53: call_function: inlined call to ‘cast_const_smu8_power_state’ from ‘smu8_update_low_mem_pstate’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c:874:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c:875:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c:878:21: danger: dereference of NULL ‘<unknown>’
#  876|   		enable_low_mem_state = hw_data->cc6_settings.nb_pstate_switch_disable ? false : true;
#  877|   
#  878|-> 		if (pnew_state->action == FORCE_HIGH)
#  879|   			smu8_nbdpm_pstate_enable_disable(hwmgr, false, disable_switch);
#  880|   		else if (pnew_state->action == CANCEL_FORCE_HIGH)

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c:1368:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c:1350:17: enter_function: entry to ‘smu8_dpm_get_sclk’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c:1355:12: branch_false: following ‘false’ branch (when ‘hwmgr’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c:1358:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c:1360:12: branch_false: following ‘false’ branch (when ‘ps’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c:1363:19: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c:1363:19: call_function: inlined call to ‘cast_smu8_power_state’ from ‘smu8_dpm_get_sclk’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c:1365:12: branch_false: following ‘false’ branch (when ‘low == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c:1368:40: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c:1368:40: danger: dereference of NULL ‘<unknown>’
# 1366|   		return smu8_ps->levels[0].engineClock;
# 1367|   	else
# 1368|-> 		return smu8_ps->levels[smu8_ps->level-1].engineClock;
# 1369|   }
# 1370|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c:1377:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c:1371:12: enter_function: entry to ‘smu8_dpm_patch_boot_state’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c:1375:44: call_function: inlined call to ‘cast_smu8_power_state’ from ‘smu8_dpm_patch_boot_state’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c:1377:9: danger: dereference of NULL ‘<unknown>’
# 1375|   	struct smu8_power_state *smu8_ps = cast_smu8_power_state(hw_ps);
# 1376|   
# 1377|-> 	smu8_ps->level = 1;
# 1378|   	smu8_ps->nbps_flags = 0;
# 1379|   	smu8_ps->bapm_flags = 0;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c:1405:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c:1385:12: enter_function: entry to ‘smu8_dpm_get_pp_table_entry_callback’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c:1391:44: call_function: inlined call to ‘cast_smu8_power_state’ from ‘smu8_dpm_get_pp_table_entry_callback’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c:1405:9: danger: dereference of NULL ‘<unknown>’
# 1403|   	smu8_ps->levels[index].vddcIndex = (uint8_t)table->entries[clock_info_index].v;
# 1404|   
# 1405|-> 	smu8_ps->level = index + 1;
# 1406|   
# 1407|   	if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, PHM_PlatformCaps_SclkDeepSleep)) {

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c:1622:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c:1607:12: enter_function: entry to ‘smu8_get_performance_level’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c:1616:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c:1620:14: call_function: inlined call to ‘cast_const_smu8_power_state’ from ‘smu8_get_performance_level’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c:1622:31: danger: dereference of NULL ‘<unknown>’
# 1620|   	ps = cast_const_smu8_power_state(state);
# 1621|   
# 1622|-> 	level_index = index > ps->level - 1 ? ps->level - 1 : index;
# 1623|   	level->coreClock = ps->levels[level_index].engineClock;
# 1624|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c:1652:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c:1646:12: enter_function: entry to ‘smu8_get_current_shallow_sleep_clocks’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c:1649:45: call_function: inlined call to ‘cast_const_smu8_power_state’ from ‘smu8_get_current_shallow_sleep_clocks’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c:1652:46: danger: dereference of NULL ‘<unknown>’
# 1650|   
# 1651|   	clock_info->min_eng_clk = ps->levels[0].engineClock / (1 << (ps->levels[0].ssDividerIndex));
# 1652|-> 	clock_info->max_eng_clk = ps->levels[ps->level - 1].engineClock / (1 << (ps->levels[ps->level - 1].ssDividerIndex));
# 1653|   
# 1654|   	return 0;

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c:3416:34: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘clocks.data[i].clocks_in_khz’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c:3365:12: enter_function: entry to ‘vega20_print_clock_levels’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c:3402:23: call_function: calling ‘vega20_get_current_clk_freq’ from ‘vega20_print_clock_levels’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c:3402:23: return_function: returning to ‘vega20_print_clock_levels’ from ‘vega20_get_current_clk_freq’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c:3403:17: branch_false: following ‘false’ branch (when ‘ret == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c:3407:21: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c:3407:21: call_function: calling ‘vega20_get_memclocks’ from ‘vega20_print_clock_levels’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c:3407:21: return_function: returning to ‘vega20_print_clock_levels’ from ‘vega20_get_memclocks’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c:3407:20: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c:3407:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c:3413:29: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c:3416:34: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c:3416:34: danger: use of uninitialized value ‘clocks.data[i].clocks_in_khz’ here
# 3414|   			size += sprintf(buf + size, "%d: %uMhz %s\n",
# 3415|   				i, clocks.data[i].clocks_in_khz / 1000,
# 3416|-> 				(clocks.data[i].clocks_in_khz == now * 10) ? "*" : "");
# 3417|   		break;
# 3418|   

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c:1439:56: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘clk2’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c:1417:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c:1420:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c:1420:12: branch_false: following ‘false’ branch (when ‘curr_clk > 139’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c:1428:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c:1431:29: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c:1432:32: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c:1434:28: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c:1437:28: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c:1437:28: branch_false: following ‘false’ branch (when ‘curr_clk != clk1’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c:1439:36: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c:1439:56: danger: use of uninitialized value ‘clk2’ here
# 1437|   			if (curr_clk == clk1) {
# 1438|   				level = i;
# 1439|-> 			} else if (curr_clk >= clk1 && curr_clk < clk2) {
# 1440|   				level = (curr_clk - clk1) <= (clk2 - curr_clk) ?
# 1441|   						i :

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:95:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:92:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:95:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:95:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:95:9: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:95:9: danger: dereference of NULL ‘display’
#   93|   	struct intel_panel *panel = &connector->panel;
#   94|   
#   95|-> 	drm_WARN_ON(display->drm, panel->backlight.pwm_level_max == 0);
#   96|   
#   97|   	if (display->params.invert_brightness < 0)

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:114:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:111:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:114:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:114:9: danger: dereference of NULL ‘display’
#  112|   	struct intel_panel *panel = &connector->panel;
#  113|   
#  114|-> 	drm_dbg_kms(display->drm, "[CONNECTOR:%d:%s] set backlight PWM = %d\n",
#  115|   		    connector->base.base.id, connector->base.name, val);
#  116|   	panel->backlight.pwm_funcs->set(conn_state, val);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:124:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:121:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:124:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:124:9: danger: dereference of NULL ‘display’
#  122|   	struct intel_panel *panel = &connector->panel;
#  123|   
#  124|-> 	drm_WARN_ON_ONCE(display->drm,
#  125|   			 panel->backlight.max == 0 || panel->backlight.pwm_level_max == 0);
#  126|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:138:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:135:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:138:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:138:9: danger: dereference of NULL ‘display’
#  136|   	struct intel_panel *panel = &connector->panel;
#  137|   
#  138|-> 	drm_WARN_ON_ONCE(display->drm,
#  139|   			 panel->backlight.max == 0 || panel->backlight.pwm_level_max == 0);
#  140|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:189:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:187:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:189:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:189:13: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:189:13: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:189:13: danger: dereference of NULL ‘display’
#  187|   	struct intel_display *display = to_intel_display(connector);
#  188|   
#  189|-> 	if (drm_WARN_ON(display->drm, pipe != PIPE_A && pipe != PIPE_B))
#  190|   		return 0;
#  191|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:239:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:235:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:239:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:239:13: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:239:13: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:239:13: danger: dereference of NULL ‘display’
#  237|   	u32 tmp, mask;
#  238|   
#  239|-> 	if (drm_WARN_ON(display->drm, panel->backlight.pwm_level_max == 0))
#  240|   		return;
#  241|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:243:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:235:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:239:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:239:13: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:242:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:242:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:243:40: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:243:40: danger: dereference of NULL ‘display’
#  241|   
#  242|   	if (panel->backlight.combination_mode) {
#  243|-> 		struct pci_dev *pdev = to_pci_dev(display->drm->dev);
#  244|   		u8 lbpc;
#  245|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:297:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:294:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:297:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:297:9: danger: dereference of NULL ‘display’
#  295|   	struct intel_panel *panel = &connector->panel;
#  296|   
#  297|-> 	drm_dbg_kms(display->drm, "[CONNECTOR:%d:%s] set backlight level = %d\n",
#  298|   		    connector->base.base.id, connector->base.name, level);
#  299|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:325:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:310:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:320:14: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:320:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:320:43: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:320:13: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:323:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:325:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:325:9: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:325:9: danger: dereference of NULL ‘display’
#  323|   	mutex_lock(&display->backlight.lock);
#  324|   
#  325|-> 	drm_WARN_ON(display->drm, panel->backlight.max == 0);
#  326|   
#  327|   	hw_level = clamp_user_to_hw(connector, user_level, user_max);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:459:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:447:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:450:14: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:450:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:459:13: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:459:13: danger: dereference of NULL ‘display’
#  457|   	 * another client is not activated.
#  458|   	 */
#  459|-> 	if (display->drm->switch_power_state == DRM_SWITCH_POWER_CHANGING) {
#  460|   		drm_dbg_kms(display->drm, "[CONNECTOR:%d:%s] Skipping backlight disable on vga switch\n",
#  461|   			    connector->base.base.id, connector->base.name);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:808:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:801:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:803:26: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:805:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:808:9: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:808:9: danger: dereference of NULL ‘display’
#  806|   		return;
#  807|   
#  808|-> 	drm_dbg_kms(display->drm, "pipe %c\n", pipe_name(pipe));
#  809|   
#  810|   	mutex_lock(&display->backlight.lock);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:831:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:820:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:824:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:831:9: danger: dereference of NULL ‘display’
#  829|   	mutex_unlock(&display->backlight.lock);
#  830|   
#  831|-> 	drm_dbg_kms(display->drm, "get backlight PWM = %d\n", val);
#  832|   	return val;
#  833|   }

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:859:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:850:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:854:14: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:854:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:857:9: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:859:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:859:9: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:859:9: danger: dereference of NULL ‘display’
#  857|   	mutex_lock(&display->backlight.lock);
#  858|   
#  859|-> 	drm_WARN_ON(display->drm, panel->backlight.max == 0);
#  860|   
#  861|   	hw_level = scale_user_to_hw(connector, user_level, user_max);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:876:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:873:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:876:27: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:876:27: danger: dereference of NULL ‘display’
#  874|   	struct intel_panel *panel = &connector->panel;
#  875|   
#  876|-> 	drm_modeset_lock(&display->drm->mode_config.connection_mutex, NULL);
#  877|   
#  878|   	drm_dbg_kms(display->drm, "updating intel_backlight, brightness=%d/%d\n",

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:913:35: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:907:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:910:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:910:9: branch_true: following ‘true’ branch (when ‘__UNIQUE_ID_wakeref_742’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:913:35: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:913:35: danger: dereference of NULL ‘display’
#  911|   		u32 hw_level;
#  912|   
#  913|-> 		drm_modeset_lock(&display->drm->mode_config.connection_mutex, NULL);
#  914|   
#  915|   		hw_level = intel_panel_get_backlight(connector);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:948:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:932:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:934:37: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:939:13: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:942:14: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:942:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:945:9: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:947:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:948:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:948:17: danger: dereference of NULL ‘display’
#  946|   
#  947|   	if (!acpi_video_backlight_use_native()) {
#  948|-> 		drm_info(display->drm,
#  949|   			 "Skipping intel_backlight registration\n");
#  950|   		return 0;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:986:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:932:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:934:37: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:939:13: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:942:14: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:942:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:945:9: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:947:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:953:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:971:12: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:974:14: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:975:12: branch_true: following ‘true’ branch (when ‘bd’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:976:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:986:34: danger: dereference of NULL ‘display’
#  984|   		kfree(name);
#  985|   		name = kasprintf(GFP_KERNEL, "card%d-%s-backlight",
#  986|-> 				 display->drm->primary->index,
#  987|   				 connector->base.name);
#  988|   		if (!name)

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:995:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:930:5: enter_function: entry to ‘intel_backlight_device_register’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:932:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:934:37: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:939:13: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:942:14: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:942:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:945:9: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:947:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:953:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:971:12: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:974:14: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:975:12: branch_false: following ‘false’ branch (when ‘bd’ is NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:991:14: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:994:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:995:17: call_function: inlined call to ‘PTR_ERR’ from ‘intel_backlight_device_register’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:995:17: danger: dereference of NULL ‘display’
#  993|   
#  994|   	if (IS_ERR(bd)) {
#  995|-> 		drm_err(display->drm,
#  996|   			"[CONNECTOR:%d:%s] backlight device %s register failed: %ld\n",
#  997|   			connector->base.base.id, connector->base.name, name, PTR_ERR(bd));

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1004:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:932:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:934:37: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:939:13: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:942:14: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:942:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:945:9: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:947:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:953:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:971:12: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:974:14: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:975:12: branch_false: following ‘false’ branch (when ‘bd’ is NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:991:14: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:994:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1002:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1004:9: danger: dereference of NULL ‘display’
# 1002|   	panel->backlight.device = bd;
# 1003|   
# 1004|-> 	drm_dbg_kms(display->drm,
# 1005|   		    "[CONNECTOR:%d:%s] backlight device %s registered\n",
# 1006|   		    connector->base.base.id, connector->base.name, name);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1079:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1070:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1074:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1079:13: danger: dereference of NULL ‘display’
# 1077|   		mul = 128;
# 1078|   
# 1079|-> 	if (HAS_PCH_LPT_H(display))
# 1080|   		clock = MHz(135); /* LPT:H */
# 1081|   	else

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1168:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1164:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1165:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1167:12: branch_true: following ‘true’ branch (when ‘pwm_freq_hz != 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1168:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1168:17: danger: dereference of NULL ‘display’
# 1166|   
# 1167|   	if (pwm_freq_hz) {
# 1168|-> 		drm_dbg_kms(display->drm,
# 1169|   			    "VBT defined backlight frequency %u Hz\n",
# 1170|   			    pwm_freq_hz);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1173:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1164:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1165:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1167:12: branch_false: following ‘false’ branch (when ‘pwm_freq_hz == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1173:17: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1173:17: danger: dereference of NULL ‘display’
# 1171|   	} else {
# 1172|   		pwm_freq_hz = 200;
# 1173|-> 		drm_dbg_kms(display->drm,
# 1174|   			    "default backlight frequency %u Hz\n",
# 1175|   			    pwm_freq_hz);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1189:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1321:12: enter_function: entry to ‘i9xx_setup_backlight’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1323:41: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1323:41: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1329:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1332:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1335:42: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1337:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1338:50: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1338:50: call_function: calling ‘get_backlight_max_vbt’ from ‘i9xx_setup_backlight’
# 1187|   
# 1188|   	if (!panel->backlight.pwm_funcs->hz_to_pwm) {
# 1189|-> 		drm_dbg_kms(display->drm,
# 1190|   			    "backlight frequency conversion not supported\n");
# 1191|   		return 0;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1196:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1321:12: enter_function: entry to ‘i9xx_setup_backlight’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1323:41: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1323:41: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1329:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1332:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1335:42: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1337:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1338:50: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1338:50: call_function: calling ‘get_backlight_max_vbt’ from ‘i9xx_setup_backlight’
# 1194|   	pwm = panel->backlight.pwm_funcs->hz_to_pwm(connector, pwm_freq_hz);
# 1195|   	if (!pwm) {
# 1196|-> 		drm_dbg_kms(display->drm,
# 1197|   			    "backlight frequency conversion failed\n");
# 1198|   		return 0;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1213:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1209:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1213:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1213:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1213:9: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1213:9: danger: dereference of NULL ‘display’
# 1211|   	int min;
# 1212|   
# 1213|-> 	drm_WARN_ON(display->drm, panel->backlight.pwm_level_max == 0);
# 1214|   
# 1215|   	/*

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1224:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1209:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1213:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1213:9: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1222:15: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1222:15: branch_false: following ‘false’ branch (when ‘__UNIQUE_ID_v__743 > 63’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1223:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1223:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1224:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1224:17: danger: dereference of NULL ‘display’
# 1222|   	min = clamp_t(int, connector->panel.vbt.backlight.min_brightness, 0, 64);
# 1223|   	if (min != connector->panel.vbt.backlight.min_brightness) {
# 1224|-> 		drm_dbg_kms(display->drm,
# 1225|   			    "clamping VBT min backlight %d/255 to %d/255\n",
# 1226|   			    connector->panel.vbt.backlight.min_brightness, min);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1240:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1235:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1240:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1240:13: danger: dereference of NULL ‘display’
# 1238|   	bool alt, cpu_mode;
# 1239|   
# 1240|-> 	if (HAS_PCH_LPT(display))
# 1241|   		alt = intel_de_read(display, SOUTH_CHICKEN2) & LPT_PWM_GRANULARITY;
# 1242|   	else

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1402:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1398:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1402:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1402:13: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1402:13: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1402:13: danger: dereference of NULL ‘display’
# 1400|   	u32 ctl, ctl2;
# 1401|   
# 1402|-> 	if (drm_WARN_ON(display->drm, pipe != PIPE_A && pipe != PIPE_B))
# 1403|   		return -ENODEV;
# 1404|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1471:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1497:1: enter_function: entry to ‘cnp_setup_backlight’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1499:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1507:39: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1508:14: call_function: calling ‘cnp_backlight_controller_is_valid’ from ‘cnp_setup_backlight’
# 1469|   static int cnp_num_backlight_controllers(struct intel_display *display)
# 1470|   {
# 1471|-> 	if (INTEL_PCH_TYPE(display) >= PCH_MTL)
# 1472|   		return 2;
# 1473|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1551:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1544:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1550:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1550:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1551:48: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1551:48: danger: dereference of NULL ‘display’
# 1549|   	/* Get the right PWM chip for DSI backlight according to VBT */
# 1550|   	if (connector->panel.vbt.dsi.config->pwm_blc == PPS_BLC_PMIC) {
# 1551|-> 		panel->backlight.pwm = pwm_get(display->drm->dev,
# 1552|   					       "pwm_pmic_backlight");
# 1553|   		desc = "PMIC";

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1555:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1544:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1550:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1550:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1555:48: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1555:48: danger: dereference of NULL ‘display’
# 1553|   		desc = "PMIC";
# 1554|   	} else {
# 1555|-> 		panel->backlight.pwm = pwm_get(display->drm->dev,
# 1556|   					       "pwm_soc_backlight");
# 1557|   		desc = "SoC";

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1678:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1672:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1676:14: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1676:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1677:21: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1677:20: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1678:25: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1678:25: danger: dereference of NULL ‘display’
# 1676|   	if (!connector->panel.vbt.backlight.present) {
# 1677|   		if (intel_has_quirk(display, QUIRK_BACKLIGHT_PRESENT)) {
# 1678|-> 			drm_dbg_kms(display->drm,
# 1679|   				    "[CONNECTOR:%d:%s] no backlight present per VBT, but present per quirk\n",
# 1680|   				    connector->base.base.id, connector->base.name);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1682:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1672:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1676:14: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1676:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1677:21: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1677:20: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1682:25: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1682:25: danger: dereference of NULL ‘display’
# 1680|   				    connector->base.base.id, connector->base.name);
# 1681|   		} else {
# 1682|-> 			drm_dbg_kms(display->drm,
# 1683|   				    "[CONNECTOR:%d:%s] no backlight present per VBT\n",
# 1684|   				    connector->base.base.id, connector->base.name);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1690:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1672:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1676:14: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1676:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1690:13: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1690:13: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1690:13: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1690:13: danger: dereference of NULL ‘display’
# 1688|   
# 1689|   	/* ensure intel_panel has been initialized first */
# 1690|-> 	if (drm_WARN_ON(display->drm, !panel->backlight.funcs))
# 1691|   		return -ENODEV;
# 1692|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1699:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1672:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1676:14: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1676:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1690:13: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1690:13: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1694:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1698:12: branch_true: following ‘true’ branch (when ‘ret != 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1699:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1699:17: danger: dereference of NULL ‘display’
# 1697|   
# 1698|   	if (ret) {
# 1699|-> 		drm_dbg_kms(display->drm,
# 1700|   			    "[CONNECTOR:%d:%s] failed to setup backlight\n",
# 1701|   			    connector->base.base.id, connector->base.name);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1707:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1672:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1676:14: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1676:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1690:13: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1690:13: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1694:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1698:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1705:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1707:9: danger: dereference of NULL ‘display’
# 1705|   	panel->backlight.present = true;
# 1706|   
# 1707|-> 	drm_dbg_kms(display->drm,
# 1708|   		    "[CONNECTOR:%d:%s] backlight initialized, %s, brightness %u/%u\n",
# 1709|   		    connector->base.base.id, connector->base.name,

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1826:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1818:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1820:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1824:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_backlight.c:1826:20: danger: dereference of NULL ‘display’
# 1824|   	if (display->platform.geminilake || display->platform.broxton) {
# 1825|   		panel->backlight.pwm_funcs = &bxt_pwm_funcs;
# 1826|-> 	} else if (INTEL_PCH_TYPE(display) >= PCH_CNP) {
# 1827|   		panel->backlight.pwm_funcs = &cnp_pwm_funcs;
# 1828|   	} else if (INTEL_PCH_TYPE(display) >= PCH_LPT_H) {

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:1231:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2775:12: enter_function: entry to ‘glk_assign_luts’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2777:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2779:13: call_function: inlined call to ‘glk_use_pre_csc_lut_for_gamma’ from ‘glk_assign_luts’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2783:48: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2782:29: call_function: calling ‘create_resized_lut’ from ‘glk_assign_luts’
# 1229|   	struct drm_color_lut *lut_out;
# 1230|   
# 1231|-> 	blob_out = drm_property_create_blob(display->drm,
# 1232|   					    sizeof(lut_out[0]) * lut_out_size,
# 1233|   					    NULL);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2182:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2164:1: enter_function: entry to ‘intel_color_add_affected_planes’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2167:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2169:17: call_function: inlined call to ‘intel_atomic_get_old_crtc_state’ from ‘intel_color_add_affected_planes’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2174:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2175:13: call_function: inlined call to ‘intel_crtc_needs_modeset’ from ‘intel_color_add_affected_planes’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2174:13: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2178:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2182:9: danger: dereference of NULL ‘display’
# 2180|   		return 0;
# 2181|   
# 2182|-> 	for_each_intel_plane_on_crtc(display->drm, crtc, plane) {
# 2183|   		struct intel_plane_state *plane_state;
# 2184|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2251:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2240:12: enter_function: entry to ‘check_lut_size’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2243:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2246:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2246:12: branch_false: following ‘false’ branch (when ‘lut’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2249:15: call_function: inlined call to ‘drm_color_lut_size’ from ‘check_lut_size’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2250:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2251:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2251:17: danger: dereference of NULL ‘display’
# 2249|   	len = drm_color_lut_size(lut);
# 2250|   	if (len != expected) {
# 2251|-> 		drm_dbg_kms(display->drm,
# 2252|   			    "[CRTC:%d:%s] Invalid %s LUT size; got %d, expected %d\n",
# 2253|   			    crtc->base.base.id, crtc->base.name, lut_name, len, expected);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2271:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2260:12: enter_function: entry to ‘_check_luts’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2263:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2264:35: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2270:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2270:39: call_function: inlined call to ‘lut_is_legacy’ from ‘_check_luts’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2271:17: danger: dereference of NULL ‘display’
# 2269|   	/* C8 relies on its palette being stored in the legacy LUT */
# 2270|   	if (crtc_state->c8_planes && !lut_is_legacy(crtc_state->hw.gamma_lut)) {
# 2271|-> 		drm_dbg_kms(display->drm,
# 2272|   			    "[CRTC:%d:%s] C8 pixelformat requires the legacy LUT\n",
# 2273|   			    crtc->base.base.id, crtc->base.name);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2325:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2316:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2317:37: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2325:17: danger: dereference of NULL ‘display’
# 2323|   	    i9xx_lut_10_diff(b->green, a->green) > 0x7f ||
# 2324|   	    i9xx_lut_10_diff(b->blue, a->blue) > 0x7f) {
# 2325|-> 		drm_dbg_kms(display->drm,
# 2326|   			    "[CRTC:%d:%s] Last gamma LUT entry exceeds max slope\n",
# 2327|   			    crtc->base.base.id, crtc->base.name);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2340:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2336:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2339:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2340:17: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2340:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2340:17: danger: dereference of NULL ‘display’
# 2338|   	/* make sure {pre,post}_csc_lut were correctly assigned */
# 2339|   	if (DISPLAY_VER(display) >= 11 || HAS_GMCH(display)) {
# 2340|-> 		drm_WARN_ON(display->drm,
# 2341|   			    crtc_state->pre_csc_lut != crtc_state->hw.degamma_lut);
# 2342|   		drm_WARN_ON(display->drm,

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2342:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2336:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2339:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2340:17: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2342:17: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2342:17: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2342:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2342:17: danger: dereference of NULL ‘display’
# 2340|   		drm_WARN_ON(display->drm,
# 2341|   			    crtc_state->pre_csc_lut != crtc_state->hw.degamma_lut);
# 2342|-> 		drm_WARN_ON(display->drm,
# 2343|   			    crtc_state->post_csc_lut != crtc_state->hw.gamma_lut);
# 2344|   	} else if (DISPLAY_VER(display) == 10) {

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2345:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2336:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2339:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2339:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2344:19: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2345:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2345:17: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2345:17: danger: dereference of NULL ‘display’
# 2343|   			    crtc_state->post_csc_lut != crtc_state->hw.gamma_lut);
# 2344|   	} else if (DISPLAY_VER(display) == 10) {
# 2345|-> 		drm_WARN_ON(display->drm,
# 2346|   			    crtc_state->post_csc_lut == crtc_state->hw.gamma_lut &&
# 2347|   			    crtc_state->pre_csc_lut != crtc_state->hw.degamma_lut &&

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2349:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2334:6: enter_function: entry to ‘intel_color_assert_luts’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2336:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2339:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2339:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2344:19: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2345:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2349:17: call_function: calling ‘ilk_lut_limited_range’ from ‘intel_color_assert_luts’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2349:17: return_function: returning to ‘intel_color_assert_luts’ from ‘ilk_lut_limited_range’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2349:17: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2349:17: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2349:17: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2349:17: danger: dereference of NULL ‘display’
# 2347|   			    crtc_state->pre_csc_lut != crtc_state->hw.degamma_lut &&
# 2348|   			    crtc_state->pre_csc_lut != display->color.glk_linear_degamma_lut);
# 2349|-> 		drm_WARN_ON(display->drm,
# 2350|   			    !ilk_lut_limited_range(crtc_state) &&
# 2351|   			    crtc_state->post_csc_lut != NULL &&

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2354:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2336:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2339:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2339:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2344:19: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2353:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2353:19: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2354:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2354:17: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2354:17: danger: dereference of NULL ‘display’
# 2352|   			    crtc_state->post_csc_lut != crtc_state->hw.gamma_lut);
# 2353|   	} else if (crtc_state->gamma_mode != GAMMA_MODE_MODE_SPLIT) {
# 2354|-> 		drm_WARN_ON(display->drm,
# 2355|   			    crtc_state->pre_csc_lut != crtc_state->hw.degamma_lut &&
# 2356|   			    crtc_state->pre_csc_lut != crtc_state->hw.gamma_lut);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2357:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2334:6: enter_function: entry to ‘intel_color_assert_luts’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2336:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2339:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2339:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2344:19: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2353:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2353:19: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2354:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2357:17: call_function: calling ‘ilk_lut_limited_range’ from ‘intel_color_assert_luts’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2357:17: return_function: returning to ‘intel_color_assert_luts’ from ‘ilk_lut_limited_range’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2357:17: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2357:17: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2357:17: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2357:17: danger: dereference of NULL ‘display’
# 2355|   			    crtc_state->pre_csc_lut != crtc_state->hw.degamma_lut &&
# 2356|   			    crtc_state->pre_csc_lut != crtc_state->hw.gamma_lut);
# 2357|-> 		drm_WARN_ON(display->drm,
# 2358|   			    !ilk_lut_limited_range(crtc_state) &&
# 2359|   			    crtc_state->post_csc_lut != crtc_state->hw.degamma_lut &&

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2677:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2671:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2674:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2674:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2677:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2677:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2677:9: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2677:9: danger: dereference of NULL ‘display’
# 2675|   		return ilk_assign_luts(crtc_state);
# 2676|   
# 2677|-> 	drm_WARN_ON(display->drm, drm_color_lut_size(crtc_state->hw.degamma_lut) != 1024);
# 2678|   	drm_WARN_ON(display->drm, drm_color_lut_size(crtc_state->hw.gamma_lut) != 1024);
# 2679|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2678:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2671:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2674:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2674:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2677:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2677:9: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2678:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2678:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2678:9: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:2678:9: danger: dereference of NULL ‘display’
# 2676|   
# 2677|   	drm_WARN_ON(display->drm, drm_color_lut_size(crtc_state->hw.degamma_lut) != 1024);
# 2678|-> 	drm_WARN_ON(display->drm, drm_color_lut_size(crtc_state->hw.gamma_lut) != 1024);
# 2679|   
# 2680|   	degamma_lut = create_resized_lut(display, crtc_state->hw.degamma_lut, 512,

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:3792:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:3786:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:3787:27: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_color.c:3792:16: danger: dereference of NULL ‘display’
# 3790|   	struct drm_color_lut *lut;
# 3791|   
# 3792|-> 	blob = drm_property_create_blob(display->drm,
# 3793|   					sizeof(lut[0]) * lut_size,
# 3794|   					NULL);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_crtc.c:334:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘primary’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_crtc.c:312:5: enter_function: entry to ‘intel_crtc_init’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_crtc.c:319:16: call_function: calling ‘intel_crtc_alloc’ from ‘intel_crtc_init’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_crtc.c:319:16: return_function: returning to ‘intel_crtc_init’ from ‘intel_crtc_alloc’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_crtc.c:320:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_crtc.c:323:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_crtc.c:326:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_crtc.c:334:33: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_crtc.c:334:33: danger: dereference of NULL ‘primary’
#  332|   		goto fail;
#  333|   	}
#  334|-> 	crtc->plane_ids_mask |= BIT(primary->id);
#  335|   
#  336|   	intel_init_fifo_underrun_reporting(display, crtc, false);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_crtc.c:349:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘plane’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_crtc.c:312:5: enter_function: entry to ‘intel_crtc_init’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_crtc.c:319:16: call_function: calling ‘intel_crtc_alloc’ from ‘intel_crtc_init’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_crtc.c:319:16: return_function: returning to ‘intel_crtc_init’ from ‘intel_crtc_alloc’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_crtc.c:320:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_crtc.c:323:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_crtc.c:326:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_crtc.c:327:27: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_crtc.c:330:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_crtc.c:334:33: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_crtc.c:338:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_crtc.c:341:21: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_crtc.c:349:41: danger: dereference of NULL ‘plane’
#  347|   			goto fail;
#  348|   		}
#  349|-> 		crtc->plane_ids_mask |= BIT(plane->id);
#  350|   	}
#  351|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:108:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:226:12: enter_function: entry to ‘i845_check_cursor’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:229:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:230:37: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:234:15: call_function: calling ‘intel_check_cursor’ from ‘i845_check_cursor’
#  106|   
#  107|   	if (src_x != 0 || src_y != 0) {
#  108|-> 		drm_dbg_kms(display->drm,
#  109|   			    "[PLANE:%d:%s] arbitrary cursor panning not supported\n",
#  110|   			    plane->base.base.id, plane->base.name);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:148:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:140:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:141:37: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:147:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:148:17: danger: dereference of NULL ‘display’
#  146|   
#  147|   	if (fb && fb->modifier != DRM_FORMAT_MOD_LINEAR) {
#  148|-> 		drm_dbg_kms(display->drm, "[PLANE:%d:%s] cursor cannot be tiled\n",
#  149|   			    plane->base.base.id, plane->base.name);
#  150|   		return -EINVAL;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:244:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:226:12: enter_function: entry to ‘i845_check_cursor’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:229:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:230:37: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:234:15: call_function: calling ‘intel_check_cursor’ from ‘i845_check_cursor’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:234:15: return_function: returning to ‘i845_check_cursor’ from ‘intel_check_cursor’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:235:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:239:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:239:12: branch_false: following ‘false’ branch (when ‘fb’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:243:14: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:243:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:244:17: call_function: inlined call to ‘drm_rect_height’ from ‘i845_check_cursor’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:244:17: danger: dereference of NULL ‘display’
#  242|   	/* Check for which cursor types we support */
#  243|   	if (!i845_cursor_size_ok(plane_state)) {
#  244|-> 		drm_dbg_kms(display->drm,
#  245|   			    "[PLANE:%d:%s] cursor dimension %dx%d not supported\n",
#  246|   			    plane->base.base.id, plane->base.name,

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:489:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:470:12: enter_function: entry to ‘i9xx_check_cursor’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:473:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:474:37: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:479:15: call_function: calling ‘intel_check_cursor’ from ‘i9xx_check_cursor’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:479:15: return_function: returning to ‘i9xx_check_cursor’ from ‘intel_check_cursor’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:480:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:484:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:484:12: branch_false: following ‘false’ branch (when ‘fb’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:488:14: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:488:14: call_function: calling ‘i9xx_cursor_size_ok’ from ‘i9xx_check_cursor’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:488:14: return_function: returning to ‘i9xx_check_cursor’ from ‘i9xx_cursor_size_ok’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:488:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:489:17: call_function: inlined call to ‘drm_rect_height’ from ‘i9xx_check_cursor’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_cursor.c:489:17: danger: dereference of NULL ‘display’
#  487|   	/* Check for which cursor types we support */
#  488|   	if (!i9xx_cursor_size_ok(plane_state)) {
#  489|-> 		drm_dbg_kms(display->drm,
#  490|   			    "[PLANE:%d:%s] cursor dimension %dx%d not supported\n",
#  491|   			    plane->base.base.id, plane->base.name,

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1190:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1187:13: enter_function: entry to ‘use_edp_hobl’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1189:37: call_function: inlined call to ‘enc_to_intel_dp’ from ‘use_edp_hobl’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1190:33: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1190:33: danger: dereference of NULL ‘<unknown>’
# 1188|   {
# 1189|   	struct intel_dp *intel_dp = enc_to_intel_dp(encoder);
# 1190|-> 	struct intel_connector *connector = intel_dp->attached_connector;
# 1191|   
# 1192|   	return connector->panel.vbt.edp.hobl && !intel_dp->hobl_failed;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1198:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1195:13: enter_function: entry to ‘use_edp_low_vswing’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1197:37: call_function: inlined call to ‘enc_to_intel_dp’ from ‘use_edp_low_vswing’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1198:33: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1198:33: danger: dereference of NULL ‘<unknown>’
# 1196|   {
# 1197|   	struct intel_dp *intel_dp = enc_to_intel_dp(encoder);
# 1198|-> 	struct intel_connector *connector = intel_dp->attached_connector;
# 1199|   
# 1200|   	return connector->panel.vbt.edp.low_vswing;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1850:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1789:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1791:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1791:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1793:19: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1793:19: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1798:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1798:19: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1800:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1800:19: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1805:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1805:19: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1807:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1807:19: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1809:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1809:19: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1811:19: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1811:19: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1816:19: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1816:19: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1825:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1825:19: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1827:19: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1827:20: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1831:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1831:19: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1831:20: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1831:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1835:19: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1835:20: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1839:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1839:19: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1841:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1841:19: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1843:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1843:19: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1845:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1845:19: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1847:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1847:19: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1850:40: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1850:40: danger: dereference of NULL ‘display’
# 1848|   		encoder->get_buf_trans = hsw_get_buf_trans;
# 1849|   	} else {
# 1850|-> 		struct pci_dev *pdev = to_pci_dev(display->drm->dev);
# 1851|   
# 1852|   		MISSING_CASE(pdev->device);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:63:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:58:12: enter_function: entry to ‘intel_display_caps’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:60:41: call_function: calling ‘node_to_intel_display’ from ‘intel_display_caps’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:60:41: return_function: return of NULL to ‘intel_display_caps’ from ‘node_to_intel_display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:63:42: danger: dereference of NULL ‘display’
#   61|   	struct drm_printer p = drm_seq_file_printer(m);
#   62|   
#   63|-> 	drm_printf(&p, "PCH type: %d\n", INTEL_PCH_TYPE(display));
#   64|   
#   65|   	intel_display_device_info_print(DISPLAY_INFO(display),

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:96:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:86:12: enter_function: entry to ‘i915_sr_status’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:88:41: call_function: calling ‘node_to_intel_display’ from ‘i915_sr_status’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:88:41: return_function: return of NULL to ‘i915_sr_status’ from ‘node_to_intel_display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:94:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:96:18: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:96:18: danger: dereference of NULL ‘display’
#   94|   	if (DISPLAY_VER(display) >= 9)
#   95|   		/* no global SR status; inspect per-plane WM */;
#   96|-> 	else if (HAS_PCH_SPLIT(display))
#   97|   		sr_enabled = intel_de_read(display, WM1_LP_ILK) & WM_LP_ENABLE;
#   98|   	else if (display->platform.i965gm || display->platform.g4x ||

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:134:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:115:12: enter_function: entry to ‘i915_gem_framebuffer_info’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:117:41: call_function: calling ‘node_to_intel_display’ from ‘i915_gem_framebuffer_info’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:117:41: return_function: return of NULL to ‘i915_gem_framebuffer_info’ from ‘node_to_intel_display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:134:9: danger: dereference of NULL ‘display’
#  132|   	}
#  133|   
#  134|-> 	mutex_lock(&display->drm->mode_config.fb_lock);
#  135|   	drm_for_each_fb(drm_fb, display->drm) {
#  136|   		struct intel_framebuffer *fb = to_intel_framebuffer(drm_fb);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:186:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:175:13: enter_function: entry to ‘intel_encoder_info’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:179:41: call_function: calling ‘node_to_intel_display’ from ‘intel_encoder_info’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:179:41: return_function: return of NULL to ‘intel_encoder_info’ from ‘node_to_intel_display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:186:9: danger: dereference of NULL ‘display’
#  184|   		   encoder->base.base.id, encoder->base.name);
#  185|   
#  186|-> 	drm_connector_list_iter_begin(display->drm, &conn_iter);
#  187|   	drm_for_each_connector_iter(connector, &conn_iter) {
#  188|   		const struct drm_connector_state *conn_state =

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:401:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:396:13: enter_function: entry to ‘intel_plane_info’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:398:41: call_function: calling ‘node_to_intel_display’ from ‘intel_plane_info’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:398:41: return_function: return of NULL to ‘intel_plane_info’ from ‘node_to_intel_display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:401:9: danger: dereference of NULL ‘display’
#  399|   	struct intel_plane *plane;
#  400|   
#  401|-> 	for_each_intel_plane_on_crtc(display->drm, crtc, plane) {
#  402|   		seq_printf(m, "\t[PLANE:%d:%s]: type=%s\n",
#  403|   			   plane->base.base.id, plane->base.name,

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:580:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:542:13: enter_function: entry to ‘intel_crtc_info’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:544:41: call_function: calling ‘node_to_intel_display’ from ‘intel_crtc_info’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:544:41: return_function: return of NULL to ‘intel_crtc_info’ from ‘node_to_intel_display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:580:9: danger: dereference of NULL ‘display’
#  578|   	intel_vdsc_state_dump(&p, 1, crtc_state);
#  579|   
#  580|-> 	for_each_intel_encoder_mask(display->drm, encoder,
#  581|   				    crtc_state->uapi.encoder_mask)
#  582|   		intel_encoder_info(m, crtc, encoder);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:603:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:593:12: enter_function: entry to ‘i915_display_info’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:595:41: call_function: calling ‘node_to_intel_display’ from ‘i915_display_info’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:595:41: return_function: return of NULL to ‘i915_display_info’ from ‘node_to_intel_display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:603:9: danger: dereference of NULL ‘display’
#  601|   	wakeref = intel_display_rpm_get(display);
#  602|   
#  603|-> 	drm_modeset_lock_all(display->drm);
#  604|   
#  605|   	seq_printf(m, "CRTC info\n");

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:632:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:625:12: enter_function: entry to ‘i915_shared_dplls_info’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:627:41: call_function: calling ‘node_to_intel_display’ from ‘i915_shared_dplls_info’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:627:41: return_function: return of NULL to ‘i915_shared_dplls_info’ from ‘node_to_intel_display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:632:9: danger: dereference of NULL ‘display’
#  630|   	int i;
#  631|   
#  632|-> 	drm_modeset_lock_all(display->drm);
#  633|   
#  634|   	drm_printf(&p, "PLL refclks: non-SSC: %d kHz, SSC: %d kHz\n",

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:661:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:652:12: enter_function: entry to ‘i915_ddb_info’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:654:41: call_function: calling ‘node_to_intel_display’ from ‘i915_ddb_info’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:654:41: return_function: return of NULL to ‘i915_ddb_info’ from ‘node_to_intel_display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:658:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:661:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:661:9: danger: dereference of NULL ‘display’
#  659|   		return -ENODEV;
#  660|   
#  661|-> 	drm_modeset_lock_all(display->drm);
#  662|   
#  663|   	seq_printf(m, "%-15s%8s%8s%8s\n", "", "Start", "End", "Size");

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:732:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:724:12: enter_function: entry to ‘i915_dp_mst_info’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:726:41: call_function: calling ‘node_to_intel_display’ from ‘i915_dp_mst_info’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:726:41: return_function: return of NULL to ‘i915_dp_mst_info’ from ‘node_to_intel_display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:732:9: danger: dereference of NULL ‘display’
#  730|   	struct drm_connector_list_iter conn_iter;
#  731|   
#  732|-> 	drm_connector_list_iter_begin(display->drm, &conn_iter);
#  733|   	drm_for_each_connector_iter(connector, &conn_iter) {
#  734|   		if (connector->connector_type != DRM_MODE_CONNECTOR_DisplayPort)

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:905:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:893:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:896:40: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:905:41: danger: dereference of NULL ‘display’
#  903|   	do {
#  904|   		try_again = false;
#  905|-> 		ret = drm_modeset_lock(&display->drm->mode_config.connection_mutex,
#  906|   				       &ctx);
#  907|   		if (ret) {

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:975:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:960:16: enter_function: entry to ‘i915_dsc_fec_support_write’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:966:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:967:41: call_function: inlined call to ‘intel_attached_encoder’ from ‘i915_dsc_fec_support_write’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:972:12: branch_false: following ‘false’ branch (when ‘len != 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:975:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:975:9: danger: dereference of NULL ‘display’
#  973|   		return 0;
#  974|   
#  975|-> 	drm_dbg(display->drm,
#  976|   		"Copied %zu bytes from user to force DSC\n", len);
#  977|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:984:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:960:16: enter_function: entry to ‘i915_dsc_fec_support_write’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:966:41: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:966:41: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:968:37: call_function: inlined call to ‘enc_to_intel_dp’ from ‘i915_dsc_fec_support_write’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:969:14: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:972:12: branch_false: following ‘false’ branch (when ‘len != 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:975:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:979:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:982:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:982:9: call_function: inlined call to ‘__drm_to_dev’ from ‘i915_dsc_fec_support_write’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:982:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:984:9: danger: dereference of NULL ‘<unknown>’
#  982|   	drm_dbg(display->drm, "Got %s for DSC Enable\n",
#  983|   		str_true_false(dsc_enable));
#  984|-> 	intel_dp->force_dsc_en = dsc_enable;
#  985|   
#  986|   	*offp += len;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:1018:54: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:1006:12: enter_function: entry to ‘i915_dsc_bpc_show’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:1009:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:1010:41: call_function: inlined call to ‘intel_attached_encoder’ from ‘i915_dsc_bpc_show’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:1015:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:1018:54: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:1018:54: danger: dereference of NULL ‘display’
# 1016|   		return -ENODEV;
# 1017|   
# 1018|-> 	ret = drm_modeset_lock_single_interruptible(&display->drm->mode_config.connection_mutex);
# 1019|   	if (ret)
# 1020|   		return ret;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:1051:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:1036:16: enter_function: entry to ‘i915_dsc_bpc_write’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:1043:37: call_function: inlined call to ‘enc_to_intel_dp’ from ‘i915_dsc_bpc_write’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:1044:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:1048:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:1051:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:1051:9: danger: dereference of NULL ‘<unknown>’
# 1049|   		return ret;
# 1050|   
# 1051|-> 	intel_dp->force_dsc_bpc = dsc_bpc;
# 1052|   	*offp += len;
# 1053|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:1084:54: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:1072:12: enter_function: entry to ‘i915_dsc_output_format_show’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:1075:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:1076:41: call_function: inlined call to ‘intel_attached_encoder’ from ‘i915_dsc_output_format_show’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:1081:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:1084:54: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:1084:54: danger: dereference of NULL ‘display’
# 1082|   		return -ENODEV;
# 1083|   
# 1084|-> 	ret = drm_modeset_lock_single_interruptible(&display->drm->mode_config.connection_mutex);
# 1085|   	if (ret)
# 1086|   		return ret;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:1118:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:1103:16: enter_function: entry to ‘i915_dsc_output_format_write’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:1110:37: call_function: inlined call to ‘enc_to_intel_dp’ from ‘i915_dsc_output_format_write’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:1111:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:1115:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:1118:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:1118:9: danger: dereference of NULL ‘<unknown>’
# 1116|   		return ret;
# 1117|   
# 1118|-> 	intel_dp->force_dsc_output_format = dsc_output_format;
# 1119|   	*offp += len;
# 1120|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:1151:54: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:1139:12: enter_function: entry to ‘i915_dsc_fractional_bpp_show’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:1142:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:1143:41: call_function: inlined call to ‘intel_attached_encoder’ from ‘i915_dsc_fractional_bpp_show’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:1148:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:1151:54: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_debugfs.c:1151:54: danger: dereference of NULL ‘display’
# 1149|   		return -ENODEV;
# 1150|   
# 1151|-> 	ret = drm_modeset_lock_single_interruptible(&display->drm->mode_config.connection_mutex);
# 1152|   	if (ret)
# 1153|   		return ret;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:138:53: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1717:6: enter_function: entry to ‘ilk_disable_vblank’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1719:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1720:19: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1726:9: call_function: inlined call to ‘ilk_disable_display_irq’ from ‘ilk_disable_vblank’
#  136|   			    u32 interrupt_mask, u32 enabled_irq_mask)
#  137|   {
#  138|-> 	struct drm_i915_private *dev_priv = to_i915(display->drm);
#  139|   	u32 new_val;
#  140|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:209:53: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1788:6: enter_function: entry to ‘bdw_disable_vblank’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1791:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1792:19: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1795:13: call_function: calling ‘gen11_dsi_configure_te’ from ‘bdw_disable_vblank’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1795:13: return_function: returning to ‘bdw_disable_vblank’ from ‘gen11_dsi_configure_te’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1795:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1798:9: call_function: inlined call to ‘spinlock_check’ from ‘bdw_disable_vblank’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1799:9: call_function: inlined call to ‘bdw_disable_pipe_irq’ from ‘bdw_disable_vblank’
#  207|   				u32 enabled_irq_mask)
#  208|   {
#  209|-> 	struct drm_i915_private *dev_priv = to_i915(display->drm);
#  210|   	u32 new_val;
#  211|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:326:53: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1670:5: enter_function: entry to ‘i965_enable_vblank’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1672:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1673:19: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1677:9: call_function: calling ‘i915_enable_pipestat’ from ‘i965_enable_vblank’
#  324|   			  enum pipe pipe, u32 status_mask)
#  325|   {
#  326|-> 	struct drm_i915_private *dev_priv = to_i915(display->drm);
#  327|   	i915_reg_t reg = PIPESTAT(display, pipe);
#  328|   	u32 enable_mask;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:350:53: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1684:6: enter_function: entry to ‘i965_disable_vblank’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1686:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1687:19: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1691:9: call_function: calling ‘i915_disable_pipestat’ from ‘i965_disable_vblank’
#  348|   			   enum pipe pipe, u32 status_mask)
#  349|   {
#  350|-> 	struct drm_i915_private *dev_priv = to_i915(display->drm);
#  351|   	i915_reg_t reg = PIPESTAT(display, pipe);
#  352|   	u32 enable_mask;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1130:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1128:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1130:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1130:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1130:9: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1130:9: danger: dereference of NULL ‘display’
# 1128|   	struct intel_display *display = to_intel_display(crtc);
# 1129|   
# 1130|-> 	drm_err_ratelimited(display->drm,
# 1131|   			    "[CRTC:%d:%s] PLANE ATS fault\n",
# 1132|   			    crtc->base.base.id, crtc->base.name);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1141:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1139:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1141:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1141:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1141:9: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1141:9: danger: dereference of NULL ‘display’
# 1139|   	struct intel_display *display = to_intel_display(crtc);
# 1140|   
# 1141|-> 	drm_err_ratelimited(display->drm,
# 1142|   			    "[CRTC:%d:%s] PIPEDMC ATS fault\n",
# 1143|   			    crtc->base.base.id, crtc->base.name);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1152:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1150:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1152:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1152:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1152:9: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_irq.c:1152:9: danger: dereference of NULL ‘display’
# 1150|   	struct intel_display *display = to_intel_display(crtc);
# 1151|   
# 1152|-> 	drm_err_ratelimited(display->drm,
# 1153|   			    "[CRTC:%d:%s] PIPEDMC fault\n",
# 1154|   			    crtc->base.base.id, crtc->base.name);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_trace.h:69:1: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_trace.h:69:1: enter_function: entry to ‘do_trace_event_raw_event_intel_pipe_enable’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_trace.h:69:1: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_trace.h:69:1: call_function: inlined call to ‘fortify_memcpy_chk’ from ‘do_trace_event_raw_event_intel_pipe_enable’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_trace.h:69:1: call_function: inlined call to ‘fortify_memset_chk’ from ‘do_trace_event_raw_event_intel_pipe_enable’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_trace.h:69:1: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_trace.h:69:1: call_function: inlined call to ‘fortify_memset_chk’ from ‘do_trace_event_raw_event_intel_pipe_enable’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_trace.h:69:1: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_trace.h:69:1: danger: dereference of NULL ‘display’
#   67|   static_assert(PIPE_A == _TRACE_PIPE_A);
#   68|   
#   69|-> TRACE_EVENT(intel_pipe_enable,
#   70|   	    TP_PROTO(struct intel_crtc *crtc),
#   71|   	    TP_ARGS(crtc),

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_trace.h:98:1: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_trace.h:98:1: enter_function: entry to ‘do_trace_event_raw_event_intel_pipe_disable’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_trace.h:98:1: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_trace.h:98:1: call_function: inlined call to ‘fortify_memcpy_chk’ from ‘do_trace_event_raw_event_intel_pipe_disable’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_trace.h:98:1: call_function: inlined call to ‘fortify_memset_chk’ from ‘do_trace_event_raw_event_intel_pipe_disable’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_trace.h:98:1: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_trace.h:98:1: call_function: inlined call to ‘fortify_memset_chk’ from ‘do_trace_event_raw_event_intel_pipe_disable’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_trace.h:98:1: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_display_trace.h:98:1: danger: dereference of NULL ‘display’
#   96|   );
#   97|   
#   98|-> TRACE_EVENT(intel_pipe_disable,
#   99|   	    TP_PROTO(struct intel_crtc *crtc),
#  100|   	    TP_ARGS(crtc),

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:117:45: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:114:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:117:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:117:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:117:45: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:117:45: danger: dereference of NULL ‘display’
#  115|   	struct intel_digital_port *dig_port = dp_to_dig_port(intel_dp);
#  116|   
#  117|-> 	if (dig_port->aux_ch != AUX_CH_A && HAS_PCH_LPT_H(display)) {
#  118|   		/* Workaround for non-ULT HSW */
#  119|   		switch (index) {

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:501:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:486:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:487:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:498:26: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:498:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:501:21: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:501:21: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:501:21: danger: dereference of NULL ‘display’
#  499|   		rxsize = 2; /* 0 or 1 data bytes */
#  500|   
#  501|-> 		if (drm_WARN_ON(display->drm, txsize > 20))
#  502|   			return -E2BIG;
#  503|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:504:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:486:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:487:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:501:21: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:504:17: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:504:17: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:504:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:504:17: danger: dereference of NULL ‘display’
#  502|   			return -E2BIG;
#  503|   
#  504|-> 		drm_WARN_ON(display->drm, !msg->buffer != !msg->size);
#  505|   
#  506|   		if (msg->buffer)

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:529:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:486:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:487:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:529:21: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:529:21: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:529:21: danger: dereference of NULL ‘display’
#  527|   		rxsize = msg->size + 1;
#  528|   
#  529|-> 		if (drm_WARN_ON(display->drm, rxsize > 20))
#  530|   			return -E2BIG;
#  531|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:802:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:787:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:790:21: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:793:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:796:19: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:796:19: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:799:19: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:799:19: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:802:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:802:20: danger: dereference of NULL ‘display’
#  800|   		intel_dp->aux_ch_ctl_reg = skl_aux_ctl_reg;
#  801|   		intel_dp->aux_ch_data_reg = skl_aux_data_reg;
#  802|-> 	} else if (HAS_PCH_SPLIT(display)) {
#  803|   		intel_dp->aux_ch_ctl_reg = ilk_aux_ctl_reg;
#  804|   		intel_dp->aux_ch_data_reg = ilk_aux_data_reg;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:827:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:787:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:790:21: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:793:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:794:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:813:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:814:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:822:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:822:12: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:827:33: danger: dereference of NULL ‘display’
#  825|   		intel_dp->get_aux_send_ctl = g4x_get_aux_send_ctl;
#  826|   
#  827|-> 	intel_dp->aux.drm_dev = display->drm;
#  828|   	drm_dp_aux_init(&intel_dp->aux);
#  829|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:859:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:856:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:859:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:859:9: danger: dereference of NULL ‘display’
#  857|   	struct intel_encoder *other;
#  858|   
#  859|-> 	for_each_intel_encoder(display->drm, other) {
#  860|   		if (other == encoder)
#  861|   			continue;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:896:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:873:13: enter_function: entry to ‘intel_dp_aux_ch’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:875:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:879:14: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:894:17: call_function: calling ‘get_encoder_by_aux_ch’ from ‘intel_dp_aux_ch’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:894:17: return_function: returning to ‘intel_dp_aux_ch’ from ‘get_encoder_by_aux_ch’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:895:12: branch_true: following ‘true’ branch (when ‘other’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:896:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux.c:896:17: danger: dereference of NULL ‘display’
#  894|   	other = get_encoder_by_aux_ch(encoder, aux_ch);
#  895|   	if (other) {
#  896|-> 		drm_dbg_kms(display->drm,
#  897|   			    "[ENCODER:%d:%s] AUX CH %s already claimed by [ENCODER:%d:%s]\n",
#  898|   			    encoder->base.base.id, encoder->base.name,

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:127:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:114:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:115:37: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:124:12: branch_false: following ‘false’ branch (when ‘ret == 4’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:127:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:127:9: danger: dereference of NULL ‘display’
#  125|   		return false;
#  126|   
#  127|-> 	drm_dbg_kms(display->drm,
#  128|   		    "[CONNECTOR:%d:%s] Detected %s HDR backlight interface version %d\n",
#  129|   		    connector->base.base.id, connector->base.name,

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:183:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:176:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:178:37: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:182:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:183:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:183:17: danger: dereference of NULL ‘display’
#  181|   
#  182|   	if (drm_dp_dpcd_readb(&intel_dp->aux, INTEL_EDP_HDR_GETSET_CTRL_PARAMS, &tmp) != 1) {
#  183|-> 		drm_err(display->drm,
#  184|   			"[CONNECTOR:%d:%s] Failed to read current backlight mode from DPCD\n",
#  185|   			connector->base.base.id, connector->base.name);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:202:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:176:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:178:37: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:182:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:189:14: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:189:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:200:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:200:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:202:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:202:17: danger: dereference of NULL ‘display’
#  200|   	if (drm_dp_dpcd_read(&intel_dp->aux, INTEL_EDP_BRIGHTNESS_NITS_LSB, buf,
#  201|   			     sizeof(buf)) != sizeof(buf)) {
#  202|-> 		drm_err(display->drm,
#  203|   			"[CONNECTOR:%d:%s] Failed to read brightness from DPCD\n",
#  204|   			connector->base.base.id, connector->base.name);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:265:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:248:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:249:37: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:253:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:256:18: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:264:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:265:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:265:17: danger: dereference of NULL ‘display’
#  263|   				buf, sizeof(buf));
#  264|   	if (ret < 0)
#  265|-> 		drm_dbg_kms(display->drm,
#  266|   			    "Content Luminance DPCD reg write failed, err:-%d\n",
#  267|   			    ret);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:318:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:306:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:307:45: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:317:12: branch_true: following ‘true’ branch (when ‘ret != 1’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:318:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:318:17: danger: dereference of NULL ‘display’
#  316|   	ret = drm_dp_dpcd_readb(&intel_dp->aux, INTEL_EDP_HDR_GETSET_CTRL_PARAMS, &old_ctrl);
#  317|   	if (ret != 1) {
#  318|-> 		drm_err(display->drm,
#  319|   			"[CONNECTOR:%d:%s] Failed to read current backlight control mode: %d\n",
#  320|   			connector->base.base.id, connector->base.name, ret);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:342:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:306:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:307:45: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:317:12: branch_false: following ‘false’ branch (when ‘ret == 1’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:324:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:340:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:342:17: danger: dereference of NULL ‘display’
#  340|   	if (ctrl != old_ctrl &&
#  341|   	    drm_dp_dpcd_writeb(&intel_dp->aux, INTEL_EDP_HDR_GETSET_CTRL_PARAMS, ctrl) != 1)
#  342|-> 		drm_err(display->drm,
#  343|   			"[CONNECTOR:%d:%s] Failed to configure DPCD brightness controls\n",
#  344|   			connector->base.base.id, connector->base.name);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:389:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:374:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:376:37: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:388:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:389:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:389:17: danger: dereference of NULL ‘display’
#  387|   				buf, sizeof(buf));
#  388|   	if (ret < 0)
#  389|-> 		drm_dbg_kms(display->drm,
#  390|   			    "Panel Luminance DPCD reg write failed, err:-%d\n",
#  391|   			    ret);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:403:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:397:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:403:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:403:9: danger: dereference of NULL ‘display’
#  401|   	int ret;
#  402|   
#  403|-> 	drm_dbg_kms(display->drm,
#  404|   		    "[CONNECTOR:%d:%s] SDR backlight is controlled through %s\n",
#  405|   		    connector->base.base.id, connector->base.name,

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:537:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:518:12: enter_function: entry to ‘intel_dp_aux_vesa_setup_backlight’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:520:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:523:37: call_function: inlined call to ‘intel_attached_dp’ from ‘intel_dp_aux_vesa_setup_backlight’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:534:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:537:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:537:9: danger: dereference of NULL ‘display’
#  535|   		return ret;
#  536|   
#  537|-> 	drm_dbg_kms(display->drm,
#  538|   		    "[CONNECTOR:%d:%s] AUX VESA backlight enable is controlled through %s\n",
#  539|   		    connector->base.base.id, connector->base.name,

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:609:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:601:1: enter_function: entry to ‘intel_dp_aux_supports_vesa_backlight’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:603:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:604:37: call_function: inlined call to ‘intel_attached_dp’ from ‘intel_dp_aux_supports_vesa_backlight’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:607:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:609:17: danger: dereference of NULL ‘display’
#  607|   	if ((intel_dp->edp_dpcd[3] & DP_EDP_PANEL_LUMINANCE_CONTROL_CAPABLE) &&
#  608|   	    (intel_dp->edp_dpcd[3] & DP_EDP_SMOOTH_BRIGHTNESS_CAPABLE)) {
#  609|-> 		drm_dbg_kms(display->drm,
#  610|   			    "[CONNECTOR:%d:%s] AUX Luminance Based Backlight Control Supported!\n",
#  611|   			    connector->base.base.id, connector->base.name);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:617:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:601:1: enter_function: entry to ‘intel_dp_aux_supports_vesa_backlight’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:603:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:604:37: call_function: inlined call to ‘intel_attached_dp’ from ‘intel_dp_aux_supports_vesa_backlight’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:616:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:617:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c:617:17: danger: dereference of NULL ‘display’
#  615|   
#  616|   	if (drm_edp_backlight_supported(intel_dp->edp_dpcd)) {
#  617|-> 		drm_dbg_kms(display->drm,
#  618|   			    "[CONNECTOR:%d:%s] AUX Backlight Control Supported!\n",
#  619|   			    connector->base.base.id, connector->base.name);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:45:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dig_port’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:40:13: enter_function: entry to ‘intel_dp_hdcp_wait_for_cp_irq’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:43:47: call_function: calling ‘intel_attached_dig_port’ from ‘intel_dp_hdcp_wait_for_cp_irq’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:43:47: return_function: return of NULL to ‘intel_dp_hdcp_wait_for_cp_irq’ from ‘intel_attached_dig_port’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:45:36: danger: dereference of NULL ‘dig_port’
#   43|   	struct intel_digital_port *dig_port = intel_attached_dig_port(connector);
#   44|   	struct intel_dp *dp = &dig_port->dp;
#   45|-> 	struct intel_hdcp *hdcp = &dp->attached_connector->hdcp;
#   46|   	long ret;
#   47|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:69:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:61:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:62:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:68:12: branch_true: following ‘true’ branch (when ‘dpcd_ret != 8’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:69:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:69:17: danger: dereference of NULL ‘display’
#   67|   				     an, DRM_HDCP_AN_LEN);
#   68|   	if (dpcd_ret != DRM_HDCP_AN_LEN) {
#   69|-> 		drm_dbg_kms(display->drm,
#   70|   			    "Failed to write An over DP/AUX (%zd)\n",
#   71|   			    dpcd_ret);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:85:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:61:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:62:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:68:12: branch_false: following ‘false’ branch (when ‘dpcd_ret == 8’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:82:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:84:12: branch_true: following ‘true’ branch (when ‘dpcd_ret != 5’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:85:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:85:17: danger: dereference of NULL ‘display’
#   83|   				     aksv, DRM_HDCP_KSV_LEN);
#   84|   	if (dpcd_ret != DRM_HDCP_KSV_LEN) {
#   85|-> 		drm_dbg_kms(display->drm,
#   86|   			    "Failed to write Aksv over DP/AUX (%zd)\n",
#   87|   			    dpcd_ret);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:102:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:96:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:99:15: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:101:12: branch_true: following ‘true’ branch (when ‘ret != 5’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:102:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:102:17: danger: dereference of NULL ‘display’
#  100|   			       DRM_HDCP_KSV_LEN);
#  101|   	if (ret != DRM_HDCP_KSV_LEN) {
#  102|-> 		drm_dbg_kms(display->drm,
#  103|   			    "Read Bksv from DP/AUX failed (%zd)\n", ret);
#  104|   		return ret >= 0 ? -EIO : ret;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:123:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:112:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:120:15: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:122:12: branch_true: following ‘true’ branch (when ‘ret != 2’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:123:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:123:17: danger: dereference of NULL ‘display’
#  121|   			       bstatus, DRM_HDCP_BSTATUS_LEN);
#  122|   	if (ret != DRM_HDCP_BSTATUS_LEN) {
#  123|-> 		drm_dbg_kms(display->drm,
#  124|   			    "Read bstatus from DP/AUX failed (%zd)\n", ret);
#  125|   		return ret >= 0 ? -EIO : ret;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:140:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:276:5: enter_function: entry to ‘intel_dp_hdcp_get_capability’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:279:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:281:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:283:15: call_function: calling ‘intel_dp_hdcp_read_bcaps’ from ‘intel_dp_hdcp_get_capability’
#  138|   			       bcaps, 1);
#  139|   	if (ret != 1) {
#  140|-> 		drm_dbg_kms(display->drm,
#  141|   			    "Read bcaps from DP/AUX failed (%zd)\n", ret);
#  142|   		return ret >= 0 ? -EIO : ret;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:174:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:168:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:171:15: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:173:12: branch_true: following ‘true’ branch (when ‘ret != 2’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:174:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:174:17: danger: dereference of NULL ‘display’
#  172|   			       ri_prime, DRM_HDCP_RI_LEN);
#  173|   	if (ret != DRM_HDCP_RI_LEN) {
#  174|-> 		drm_dbg_kms(display->drm,
#  175|   			    "Read Ri' from DP/AUX failed (%zd)\n",
#  176|   			    ret);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:193:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:186:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:188:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:192:12: branch_true: following ‘true’ branch (when ‘ret != 1’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:193:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:193:17: danger: dereference of NULL ‘display’
#  191|   			       &bstatus, 1);
#  192|   	if (ret != 1) {
#  193|-> 		drm_dbg_kms(display->drm,
#  194|   			    "Read bstatus from DP/AUX failed (%zd)\n", ret);
#  195|   		return ret >= 0 ? -EIO : ret;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:217:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:205:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:210:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:210:21: branch_true: following ‘true’ branch (when ‘i < num_downstream’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:211:30: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:216:20: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:217:25: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:217:25: danger: dereference of NULL ‘display’
#  215|   				       len);
#  216|   		if (ret != len) {
#  217|-> 			drm_dbg_kms(display->drm,
#  218|   				    "Read ksv[%d] from DP/AUX failed (%zd)\n",
#  219|   				    i, ret);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:240:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:230:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:233:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:233:12: branch_false: following ‘false’ branch (when ‘i <= 4’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:237:32: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:239:12: branch_true: following ‘true’ branch (when ‘ret != 4’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:240:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:240:17: danger: dereference of NULL ‘display’
#  238|   			       DRM_HDCP_V_PRIME_PART_LEN);
#  239|   	if (ret != DRM_HDCP_V_PRIME_PART_LEN) {
#  240|-> 		drm_dbg_kms(display->drm,
#  241|   			    "Read v'[%d] from DP/AUX failed (%zd)\n", i, ret);
#  242|   		return ret >= 0 ? -EIO : ret;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:267:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:260:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:262:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:266:12: branch_true: following ‘true’ branch (when ‘ret != 1’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:267:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:267:17: danger: dereference of NULL ‘display’
#  265|   			       &bstatus, 1);
#  266|   	if (ret != 1) {
#  267|-> 		drm_dbg_kms(display->drm,
#  268|   			    "Read bstatus from DP/AUX failed (%zd)\n", ret);
#  269|   		return false;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:355:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:346:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:347:47: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:354:12: branch_true: following ‘true’ branch (when ‘ret != 1’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:355:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:355:17: danger: dereference of NULL ‘display’
#  353|   			       HDCP_2_2_DP_RXSTATUS_LEN);
#  354|   	if (ret != HDCP_2_2_DP_RXSTATUS_LEN) {
#  355|-> 		drm_dbg_kms(display->drm,
#  356|   			    "Read bstatus from DP/AUX failed (%zd)\n", ret);
#  357|   		return ret >= 0 ? -EIO : ret;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:404:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dig_port’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:398:1: enter_function: entry to ‘intel_dp_hdcp2_wait_for_msg’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:401:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:402:47: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:402:47: call_function: calling ‘intel_attached_dig_port’ from ‘intel_dp_hdcp2_wait_for_msg’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:402:47: return_function: return of NULL to ‘intel_dp_hdcp2_wait_for_msg’ from ‘intel_attached_dig_port’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:404:36: danger: dereference of NULL ‘dig_port’
#  402|   	struct intel_digital_port *dig_port = intel_attached_dig_port(connector);
#  403|   	struct intel_dp *dp = &dig_port->dp;
#  404|-> 	struct intel_hdcp *hdcp = &dp->attached_connector->hdcp;
#  405|   	u8 msg_id = hdcp2_msg_data->msg_id;
#  406|   	int ret, timeout;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:522:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dig_port’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:515:5: enter_function: entry to ‘intel_dp_hdcp2_read_msg’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:518:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:519:47: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:519:47: call_function: calling ‘intel_attached_dig_port’ from ‘intel_dp_hdcp2_read_msg’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:519:47: return_function: return of NULL to ‘intel_dp_hdcp2_read_msg’ from ‘intel_attached_dig_port’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:522:36: danger: dereference of NULL ‘dig_port’
#  520|   	struct drm_dp_aux *aux = &dig_port->dp.aux;
#  521|   	struct intel_dp *dp = &dig_port->dp;
#  522|-> 	struct intel_hdcp *hdcp = &dp->attached_connector->hdcp;
#  523|   	unsigned int offset;
#  524|   	u8 *byte = buf;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:572:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:515:5: enter_function: entry to ‘intel_dp_hdcp2_read_msg’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:518:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:519:47: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:531:26: call_function: inlined call to ‘get_hdcp2_dp_msg_data’ from ‘intel_dp_hdcp2_read_msg’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:536:15: call_function: calling ‘intel_dp_hdcp2_wait_for_msg’ from ‘intel_dp_hdcp2_read_msg’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:536:15: return_function: returning to ‘intel_dp_hdcp2_read_msg’ from ‘intel_dp_hdcp2_wait_for_msg’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:537:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:540:49: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:545:12: branch_false: following ‘false’ branch (when ‘msg_id != 12’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:557:25: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:559:16: branch_true: following ‘true’ branch (when ‘bytes_to_recv != 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:560:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:564:20: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:564:50: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:564:21: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:569:23: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:572:25: danger: dereference of NULL ‘display’
#  570|   				       (void *)byte, len);
#  571|   		if (ret < 0) {
#  572|-> 			drm_dbg_kms(display->drm, "msg_id %d, ret %zd\n",
#  573|   				    msg_id, ret);
#  574|   			return ret;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:585:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:515:5: enter_function: entry to ‘intel_dp_hdcp2_read_msg’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:518:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:519:47: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:531:26: call_function: inlined call to ‘get_hdcp2_dp_msg_data’ from ‘intel_dp_hdcp2_read_msg’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:536:15: call_function: calling ‘intel_dp_hdcp2_wait_for_msg’ from ‘intel_dp_hdcp2_read_msg’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:536:15: return_function: returning to ‘intel_dp_hdcp2_read_msg’ from ‘intel_dp_hdcp2_wait_for_msg’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:537:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:540:49: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:582:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:583:43: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:583:31: call_function: inlined call to ‘ktime_after’ from ‘intel_dp_hdcp2_read_msg’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:585:25: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:585:25: danger: dereference of NULL ‘display’
#  583|   		msg_expired = ktime_after(ktime_get_raw(), msg_end);
#  584|   		if (msg_expired) {
#  585|-> 			drm_dbg_kms(display->drm,
#  586|   				    "msg_id %d, entire msg read timeout(mSec): %d\n",
#  587|   				    msg_id, hdcp2_msg_data->msg_read_timeout);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:714:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:697:5: enter_function: entry to ‘intel_dp_hdcp_get_remote_capability’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:701:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:703:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:708:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:711:16: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:712:16: call_function: calling ‘_intel_dp_hdcp2_get_capability’ from ‘intel_dp_hdcp_get_remote_capability’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:712:16: return_function: returning to ‘intel_dp_hdcp_get_remote_capability’ from ‘_intel_dp_hdcp2_get_capability’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:713:12: branch_true: following ‘true’ branch (when ‘ret != 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:714:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:714:17: danger: dereference of NULL ‘display’
#  712|   	ret =  _intel_dp_hdcp2_get_capability(aux, hdcp2_capable);
#  713|   	if (ret)
#  714|-> 		drm_dbg_kms(display->drm,
#  715|   			    "HDCP2 DPCD capability read failed err: %d\n", ret);
#  716|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:759:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:750:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:751:47: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:758:12: branch_true: following ‘true’ branch (when ‘ret != 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:759:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:759:17: danger: dereference of NULL ‘display’
#  757|   					 TRANS_DDI_HDCP_SELECT);
#  758|   	if (ret)
#  759|-> 		drm_err(display->drm, "%s HDCP stream select failed (%d)\n",
#  760|   			enable ? "Enable" : "Disable", ret);
#  761|   	return ret;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:815:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dig_port’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:797:1: enter_function: entry to ‘intel_dp_mst_hdcp2_stream_encryption’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:800:41: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:800:41: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:801:47: call_function: calling ‘intel_attached_dig_port’ from ‘intel_dp_mst_hdcp2_stream_encryption’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:801:47: return_function: return of NULL to ‘intel_dp_mst_hdcp2_stream_encryption’ from ‘intel_attached_dig_port’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:811:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:812:23: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:815:17: branch_true: following ‘true’ branch (when ‘enable != 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:815:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_hdcp.c:815:17: danger: dereference of NULL ‘dig_port’
#  813|   				    HDCP2_AUTH_STREAM(display, cpu_transcoder, port));
#  814|   		stream_type = REG_FIELD_GET(AUTH_STREAM_TYPE_MASK, val);
#  815|-> 		drm_WARN_ON(display->drm, enable &&
#  816|   			    stream_type != data->streams[0].stream_type);
#  817|   	}

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:122:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1043:13: enter_function: entry to ‘mst_stream_post_disable’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1048:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1050:49: call_function: inlined call to ‘to_primary_encoder’ from ‘mst_stream_post_disable’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1066:27: call_function: calling ‘intel_dp_mst_dec_active_streams’ from ‘mst_stream_post_disable’
#  120|   	struct intel_display *display = to_intel_display(intel_dp);
#  121|   
#  122|-> 	drm_dbg_kms(display->drm, "active MST streams %d -> %d\n",
#  123|   		    intel_dp->mst.active_streams, intel_dp->mst.active_streams - 1);
#  124|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:135:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1200:13: enter_function: entry to ‘mst_stream_pre_enable’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1205:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1207:49: call_function: inlined call to ‘to_primary_encoder’ from ‘mst_stream_pre_enable’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1222:28: call_function: calling ‘intel_dp_mst_inc_active_streams’ from ‘mst_stream_pre_enable’
#  133|   	struct intel_display *display = to_intel_display(intel_dp);
#  134|   
#  135|-> 	drm_dbg_kms(display->drm, "active MST streams %d -> %d\n",
#  136|   		    intel_dp->mst.active_streams, intel_dp->mst.active_streams + 1);
#  137|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:275:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:257:5: enter_function: entry to ‘intel_dp_mtp_tu_compute_config’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:262:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:263:34: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:275:9: branch_false: following ‘false’ branch (when ‘dsc == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:275:9: call_function: inlined call to ‘fxp_q4_to_frac’ from ‘intel_dp_mtp_tu_compute_config’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:275:9: danger: dereference of NULL ‘display’
#  273|   
#  274|   	/* shouldn't happen, sanity check */
#  275|-> 	drm_WARN_ON(display->drm, !dsc && (fxp_q4_to_frac(min_bpp_x16) ||
#  276|   					   fxp_q4_to_frac(max_bpp_x16) ||
#  277|   					   fxp_q4_to_frac(bpp_step_x16)));

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:281:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:262:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:263:34: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:279:12: branch_true: following ‘true’ branch (when ‘bpp_step_x16 == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:281:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:281:17: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:281:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:281:17: danger: dereference of NULL ‘display’
#  279|   	if (!bpp_step_x16) {
#  280|   		/* Allow using zero step only to indicate single try for a given bpp. */
#  281|-> 		drm_WARN_ON(display->drm, min_bpp_x16 != max_bpp_x16);
#  282|   		bpp_step_x16 = 1;
#  283|   	}

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:320:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:257:5: enter_function: entry to ‘intel_dp_mtp_tu_compute_config’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:262:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:263:34: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:285:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:301:34: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:314:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:320:9: call_function: inlined call to ‘fxp_q4_to_frac’ from ‘intel_dp_mtp_tu_compute_config’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:320:9: danger: dereference of NULL ‘display’
#  318|   	}
#  319|   
#  320|-> 	drm_dbg_kms(display->drm, "Looking for slots in range min bpp " FXP_Q4_FMT " max bpp " FXP_Q4_FMT "\n",
#  321|   		    FXP_Q4_ARGS(min_bpp_x16), FXP_Q4_ARGS(max_bpp_x16));
#  322|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:488:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:474:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:475:45: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:488:9: danger: dereference of NULL ‘display’
#  486|   						       dsc_bpc);
#  487|   
#  488|-> 	drm_dbg_kms(display->drm, "DSC Source supported min bpp %d max bpp %d\n",
#  489|   		    min_bpp, max_bpp);
#  490|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:696:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:648:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:649:44: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:665:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:670:54: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:695:13: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:696:17: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:696:17: danger: dereference of NULL ‘display’
#  694|   
#  695|   	if (dsc_needed && !intel_dp_supports_dsc(intel_dp, connector, pipe_config)) {
#  696|-> 		drm_dbg_kms(display->drm, "DSC required but not available\n");
#  697|   		return -EINVAL;
#  698|   	}

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:702:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:648:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:649:44: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:665:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:670:54: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:695:13: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:702:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:702:17: danger: dereference of NULL ‘display’
#  700|   	/* enable compression if the mode doesn't fit available BW */
#  701|   	if (dsc_needed) {
#  702|-> 		drm_dbg_kms(display->drm, "Try DSC (fallback=%s, joiner=%s, force=%s)\n",
#  703|   			    str_yes_no(ret), str_yes_no(joiner_needs_dsc),
#  704|   			    str_yes_no(intel_dp->force_dsc_en));

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:836:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:828:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:834:25: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:836:9: danger: dereference of NULL ‘display’
#  834|   	mst_pipe_mask = get_pipes_downstream_of_mst_port(state, mst_mgr, NULL);
#  835|   
#  836|-> 	for_each_intel_crtc_in_pipe_mask(display->drm, crtc, mst_pipe_mask) {
#  837|   		struct intel_crtc_state *crtc_state =
#  838|   			intel_atomic_get_new_crtc_state(state, crtc);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:959:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:951:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:952:40: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:956:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:959:9: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:959:9: danger: dereference of NULL ‘display’
#  957|   		return 0;
#  958|   
#  959|-> 	drm_connector_list_iter_begin(display->drm, &connector_list_iter);
#  960|   	for_each_intel_connector_iter(connector_iter, &connector_list_iter) {
#  961|   		struct intel_digital_connector_state *conn_iter_state;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1068:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1043:13: enter_function: entry to ‘mst_stream_post_disable’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1048:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1050:49: call_function: inlined call to ‘to_primary_encoder’ from ‘mst_stream_post_disable’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1066:27: call_function: calling ‘intel_dp_mst_dec_active_streams’ from ‘mst_stream_post_disable’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1066:27: return_function: returning to ‘mst_stream_post_disable’ from ‘intel_dp_mst_dec_active_streams’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1068:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1068:9: danger: dereference of NULL ‘display’
# 1066|   	last_mst_stream = intel_dp_mst_dec_active_streams(intel_dp);
# 1067|   
# 1068|-> 	drm_WARN_ON(display->drm, DISPLAY_VER(display) >= 12 && last_mst_stream &&
# 1069|   		    !intel_dp_mst_is_master_trans(old_crtc_state));
# 1070|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1223:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1200:13: enter_function: entry to ‘mst_stream_pre_enable’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1205:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1207:49: call_function: inlined call to ‘to_primary_encoder’ from ‘mst_stream_pre_enable’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1222:28: call_function: calling ‘intel_dp_mst_inc_active_streams’ from ‘mst_stream_pre_enable’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1222:28: return_function: returning to ‘mst_stream_pre_enable’ from ‘intel_dp_mst_inc_active_streams’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1223:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1223:9: danger: dereference of NULL ‘display’
# 1221|   
# 1222|   	first_mst_stream = intel_dp_mst_inc_active_streams(intel_dp);
# 1223|-> 	drm_WARN_ON(display->drm, DISPLAY_VER(display) >= 12 && first_mst_stream &&
# 1224|   		    !intel_dp_mst_is_master_trans(pipe_config));
# 1225|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1271:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1264:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1268:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1268:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1271:14: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1271:14: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1271:14: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1271:14: danger: dereference of NULL ‘display’
# 1269|   		return;
# 1270|   
# 1271|-> 	if (!IS_DISPLAY_STEP(display, STEP_D0, STEP_FOREVER))
# 1272|   		return;
# 1273|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1311:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1295:13: enter_function: entry to ‘mst_stream_enable’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1300:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1301:49: call_function: inlined call to ‘to_primary_encoder’ from ‘mst_stream_enable’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1311:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1311:9: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1311:9: danger: dereference of NULL ‘display’
# 1309|   	int ret, i;
# 1310|   
# 1311|-> 	drm_WARN_ON(display->drm, pipe_config->has_pch_encoder);
# 1312|   
# 1313|   	if (intel_dp_is_uhbr(pipe_config)) {

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1579:35: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1572:1: enter_function: entry to ‘mst_connector_atomic_best_encoder’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1577:17: call_function: inlined call to ‘drm_atomic_get_new_connector_state’ from ‘mst_connector_atomic_best_encoder’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1578:26: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1579:35: danger: dereference of NULL ‘<unknown>’
# 1577|   		drm_atomic_get_new_connector_state(state, &connector->base);
# 1578|   	struct intel_dp *intel_dp = connector->mst.dp;
# 1579|-> 	struct intel_crtc *crtc = to_intel_crtc(connector_state->crtc);
# 1580|   
# 1581|   	return &intel_dp->mst.stream_encoders[crtc->pipe]->base.base;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1647:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1643:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1647:36: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1647:36: danger: dereference of NULL ‘display’
# 1645|   
# 1646|   	drm_object_attach_property(&connector->base.base,
# 1647|-> 				   display->drm->mode_config.path_property, 0);
# 1648|   	drm_object_attach_property(&connector->base.base,
# 1649|   				   display->drm->mode_config.tile_property, 0);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1728:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1688:13: enter_function: entry to ‘detect_dsc_hblank_expansion_quirk’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1690:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1691:28: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1695:12: branch_false: following ‘false’ branch (when ‘aux’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1702:40: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1708:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1711:13: call_function: inlined call to ‘drm_dp_is_branch’ from ‘detect_dsc_hblank_expansion_quirk’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1711:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1714:14: call_function: inlined call to ‘drm_dp_has_quirk’ from ‘detect_dsc_hblank_expansion_quirk’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1714:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1724:14: call_function: inlined call to ‘drm_dp_128b132b_supported’ from ‘detect_dsc_hblank_expansion_quirk’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1728:9: danger: dereference of NULL ‘display’
# 1726|   		return false;
# 1727|   
# 1728|-> 	drm_dbg_kms(display->drm,
# 1729|   		    "[CONNECTOR:%d:%s] DSC HBLANK expansion quirk detected\n",
# 1730|   		    connector->base.base.id, connector->base.name);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1757:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1736:1: enter_function: entry to ‘mst_topology_add_connector’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1741:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1742:47: call_function: inlined call to ‘dp_to_dig_port’ from ‘mst_topology_add_connector’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1748:12: branch_false: following ‘false’ branch (when ‘connector’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1751:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1757:15: danger: dereference of NULL ‘display’
# 1755|   	drm_dp_mst_get_port_malloc(port);
# 1756|   
# 1757|-> 	ret = drm_connector_dynamic_init(display->drm, &connector->base, &mst_connector_funcs,
# 1758|   					 DRM_MODE_CONNECTOR_DisplayPort, NULL);
# 1759|   	if (ret)

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1829:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1815:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1820:21: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1822:12: branch_false: following ‘false’ branch (when ‘_res’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1825:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1829:9: danger: dereference of NULL ‘display’
# 1827|   	intel_mst->primary = dig_port;
# 1828|   
# 1829|-> 	drm_encoder_init(display->drm, &encoder->base, &mst_stream_encoder_funcs,
# 1830|   			 DRM_MODE_ENCODER_DPMST, "DP-MST %c", pipe_name(pipe));
# 1831|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1899:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1879:1: enter_function: entry to ‘intel_dp_mst_encoder_init’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1881:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1882:26: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1886:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1898:9: call_function: calling ‘mst_stream_encoders_create’ from ‘intel_dp_mst_encoder_init’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1898:9: return_function: returning to ‘intel_dp_mst_encoder_init’ from ‘mst_stream_encoders_create’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1899:15: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1901:44: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:1899:15: danger: dereference of NULL ‘display’
# 1897|   	/* create encoders */
# 1898|   	mst_stream_encoders_create(dig_port);
# 1899|-> 	ret = drm_dp_mst_topology_mgr_init(&intel_dp->mst.mgr, display->drm,
# 1900|   					   &intel_dp->aux, 16,
# 1901|   					   INTEL_NUM_PIPES(display), conn_base_id);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:2147:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:2133:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:2134:33: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:2140:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:2143:15: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_mst.c:2147:17: danger: dereference of NULL ‘display’
# 2145|   	/* Adjust the expected register value for SST + SideBand. */
# 2146|   	if (ret < 0 || val != (DP_MST_EN | DP_UP_REQ_EN | DP_UPSTREAM_IS_SRC)) {
# 2147|-> 		drm_dbg_kms(display->drm,
# 2148|   			    "[CONNECTOR:%d:%s][ENCODER:%d:%s] MST mode got reset, removing topology (ret=%d, ctrl=0x%02x)\n",
# 2149|   			    connector->base.base.id, connector->base.name,

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:45:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:35:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:38:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:38:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:39:31: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:45:17: danger: dereference of NULL ‘display’
#   43|   		pipe_config->dither_force_disable = bpp == 6 * 3;
#   44|   
#   45|-> 		drm_dbg_kms(display->drm, "Setting pipe_bpp to %d\n", bpp);
#   46|   	}
#   47|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:89:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:77:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:80:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:88:12: branch_true: following ‘true’ branch (when ‘status <= 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:89:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:89:17: danger: dereference of NULL ‘display’
#   87|   
#   88|   	if (status <= 0) {
#   89|-> 		drm_dbg_kms(display->drm, "Lane count read failed\n");
#   90|   		return DP_TEST_NAK;
#   91|   	}

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:97:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:77:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:80:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:88:12: branch_false: following ‘false’ branch (when ‘status > 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:92:25: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:96:12: branch_true: following ‘true’ branch (when ‘status <= 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:97:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:97:17: danger: dereference of NULL ‘display’
#   95|   				   &test_link_bw);
#   96|   	if (status <= 0) {
#   97|-> 		drm_dbg_kms(display->drm, "Link Rate read failed\n");
#   98|   		return DP_TEST_NAK;
#   99|   	}

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:125:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:115:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:116:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:124:12: branch_true: following ‘true’ branch (when ‘status <= 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:125:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:125:17: danger: dereference of NULL ‘display’
#  123|   				   &test_pattern);
#  124|   	if (status <= 0) {
#  125|-> 		drm_dbg_kms(display->drm, "Test pattern read failed\n");
#  126|   		return DP_TEST_NAK;
#  127|   	}

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:134:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:115:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:116:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:124:12: branch_false: following ‘false’ branch (when ‘status > 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:128:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:128:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:131:18: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:133:12: branch_true: following ‘true’ branch (when ‘status <= 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:134:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:134:17: danger: dereference of NULL ‘display’
#  132|   				  &h_width, 2);
#  133|   	if (status <= 0) {
#  134|-> 		drm_dbg_kms(display->drm, "H Width read failed\n");
#  135|   		return DP_TEST_NAK;
#  136|   	}

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:141:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:115:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:116:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:124:12: branch_false: following ‘false’ branch (when ‘status > 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:128:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:128:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:131:18: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:133:12: branch_false: following ‘false’ branch (when ‘status > 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:138:18: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:140:12: branch_true: following ‘true’ branch (when ‘status <= 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:141:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:141:17: danger: dereference of NULL ‘display’
#  139|   				  &v_height, 2);
#  140|   	if (status <= 0) {
#  141|-> 		drm_dbg_kms(display->drm, "V Height read failed\n");
#  142|   		return DP_TEST_NAK;
#  143|   	}

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:148:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:113:11: enter_function: entry to ‘intel_dp_autotest_video_pattern’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:115:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:116:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:124:12: branch_false: following ‘false’ branch (when ‘status > 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:128:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:128:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:131:18: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:133:12: branch_false: following ‘false’ branch (when ‘status > 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:138:18: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:140:12: branch_false: following ‘false’ branch (when ‘status > 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:145:18: call_function: inlined call to ‘drm_dp_dpcd_readb’ from ‘intel_dp_autotest_video_pattern’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:147:12: branch_true: following ‘true’ branch (when ‘status <= 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:148:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:148:17: danger: dereference of NULL ‘display’
#  146|   				   &test_misc);
#  147|   	if (status <= 0) {
#  148|-> 		drm_dbg_kms(display->drm, "TEST MISC read failed\n");
#  149|   		return DP_TEST_NAK;
#  150|   	}

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:193:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:177:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:179:33: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:193:25: danger: dereference of NULL ‘display’
#  191|   		if (intel_dp->aux.i2c_nack_count > 0 ||
#  192|   		    intel_dp->aux.i2c_defer_count > 0)
#  193|-> 			drm_dbg_kms(display->drm,
#  194|   				    "EDID read had %d NACKs, %d DEFERs\n",
#  195|   				    intel_dp->aux.i2c_nack_count,

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:207:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:177:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:179:33: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:182:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:205:20: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:207:25: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:207:25: danger: dereference of NULL ‘display’
#  205|   		if (drm_dp_dpcd_writeb(&intel_dp->aux, DP_TEST_EDID_CHECKSUM,
#  206|   				       block->checksum) <= 0)
#  207|-> 			drm_dbg_kms(display->drm,
#  208|   				    "Failed to write EDID checksum\n");
#  209|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:233:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:223:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:226:35: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:233:17: danger: dereference of NULL ‘display’
#  231|   	switch (data->phy_pattern) {
#  232|   	case DP_LINK_QUAL_PATTERN_DISABLE:
#  233|-> 		drm_dbg_kms(display->drm, "Disable Phy Test Pattern\n");
#  234|   		intel_de_write(display, DDI_DP_COMP_CTL(pipe), 0x0);
#  235|   		if (DISPLAY_VER(display) >= 10)

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:241:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:223:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:226:35: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:241:17: danger: dereference of NULL ‘display’
#  239|   		break;
#  240|   	case DP_LINK_QUAL_PATTERN_D10_2:
#  241|-> 		drm_dbg_kms(display->drm, "Set D10.2 Phy Test Pattern\n");
#  242|   		intel_de_write(display, DDI_DP_COMP_CTL(pipe),
#  243|   			       DDI_DP_COMP_CTL_ENABLE | DDI_DP_COMP_CTL_D10_2);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:246:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:223:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:226:35: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:246:17: danger: dereference of NULL ‘display’
#  244|   		break;
#  245|   	case DP_LINK_QUAL_PATTERN_ERROR_RATE:
#  246|-> 		drm_dbg_kms(display->drm,
#  247|   			    "Set Error Count Phy Test Pattern\n");
#  248|   		intel_de_write(display, DDI_DP_COMP_CTL(pipe),

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:253:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:223:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:226:35: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:253:17: danger: dereference of NULL ‘display’
#  251|   		break;
#  252|   	case DP_LINK_QUAL_PATTERN_PRBS7:
#  253|-> 		drm_dbg_kms(display->drm, "Set PRBS7 Phy Test Pattern\n");
#  254|   		intel_de_write(display, DDI_DP_COMP_CTL(pipe),
#  255|   			       DDI_DP_COMP_CTL_ENABLE | DDI_DP_COMP_CTL_PRBS7);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:263:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:223:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:226:35: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:263:17: danger: dereference of NULL ‘display’
#  261|   		 * now for compliance test.
#  262|   		 */
#  263|-> 		drm_dbg_kms(display->drm,
#  264|   			    "Set 80Bit Custom Phy Test Pattern 0x3e0f83e0 0x0f83e0f8 0x0000f83e\n");
#  265|   		pattern_val = 0x3e0f83e0;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:281:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:223:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:226:35: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:281:17: danger: dereference of NULL ‘display’
#  279|   		 * now for compliance test.
#  280|   		 */
#  281|-> 		drm_dbg_kms(display->drm,
#  282|   			    "Set HBR2 compliance Phy Test Pattern\n");
#  283|   		pattern_val = 0xFB;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:290:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:223:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:226:35: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:289:20: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:290:25: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:290:25: danger: dereference of NULL ‘display’
#  288|   	case DP_LINK_QUAL_PATTERN_CP2520_PAT_3:
#  289|   		if (DISPLAY_VER(display) < 10)  {
#  290|-> 			drm_warn(display->drm,
#  291|   				 "Platform does not support TPS4\n");
#  292|   			break;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:294:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:223:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:226:35: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:289:20: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:294:17: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:294:17: danger: dereference of NULL ‘display’
#  292|   			break;
#  293|   		}
#  294|-> 		drm_dbg_kms(display->drm,
#  295|   			    "Set TPS4 compliance Phy Test Pattern\n");
#  296|   		intel_de_write(display, DDI_DP_COMP_CTL(pipe), 0x0);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:302:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:223:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:226:35: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:302:17: danger: dereference of NULL ‘display’
#  300|   		break;
#  301|   	default:
#  302|-> 		drm_warn(display->drm, "Invalid Phy Test Pattern\n");
#  303|   	}
#  304|   }

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:316:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:309:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:310:40: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:314:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:316:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:316:17: danger: dereference of NULL ‘display’
#  314|   	if (drm_dp_dpcd_read_phy_link_status(&intel_dp->aux, DP_PHY_DPRX,
#  315|   					     link_status) < 0) {
#  316|-> 		drm_dbg_kms(display->drm, "failed to get link status\n");
#  317|   		return;
#  318|   	}

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:342:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:337:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:338:40: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:341:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:342:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:342:17: danger: dereference of NULL ‘display’
#  340|   
#  341|   	if (drm_dp_get_phy_test_pattern(&intel_dp->aux, data)) {
#  342|-> 		drm_dbg_kms(display->drm,
#  343|   			    "DP Phy Test pattern AUX read failure\n");
#  344|   		return DP_TEST_NAK;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:362:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:355:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:357:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:361:12: branch_true: following ‘true’ branch (when ‘status <= 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:362:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:362:17: danger: dereference of NULL ‘display’
#  360|   	status = drm_dp_dpcd_readb(&intel_dp->aux, DP_TEST_REQUEST, &request);
#  361|   	if (status <= 0) {
#  362|-> 		drm_dbg_kms(display->drm,
#  363|   			    "Could not read test request from sink\n");
#  364|   		goto update_status;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:369:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:355:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:357:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:361:12: branch_false: following ‘false’ branch (when ‘status > 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:367:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:369:17: danger: dereference of NULL ‘display’
#  367|   	switch (request) {
#  368|   	case DP_TEST_LINK_TRAINING:
#  369|-> 		drm_dbg_kms(display->drm, "LINK_TRAINING test requested\n");
#  370|   		response = intel_dp_autotest_link_training(intel_dp);
#  371|   		break;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:373:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:355:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:357:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:361:12: branch_false: following ‘false’ branch (when ‘status > 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:367:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:373:17: danger: dereference of NULL ‘display’
#  371|   		break;
#  372|   	case DP_TEST_LINK_VIDEO_PATTERN:
#  373|-> 		drm_dbg_kms(display->drm, "TEST_PATTERN test requested\n");
#  374|   		response = intel_dp_autotest_video_pattern(intel_dp);
#  375|   		break;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:377:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:355:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:357:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:361:12: branch_false: following ‘false’ branch (when ‘status > 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:367:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:377:17: danger: dereference of NULL ‘display’
#  375|   		break;
#  376|   	case DP_TEST_LINK_EDID_READ:
#  377|-> 		drm_dbg_kms(display->drm, "EDID test requested\n");
#  378|   		response = intel_dp_autotest_edid(intel_dp);
#  379|   		break;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:381:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:355:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:357:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:361:12: branch_false: following ‘false’ branch (when ‘status > 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:367:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:381:17: danger: dereference of NULL ‘display’
#  379|   		break;
#  380|   	case DP_TEST_LINK_PHY_TEST_PATTERN:
#  381|-> 		drm_dbg_kms(display->drm, "PHY_PATTERN test requested\n");
#  382|   		response = intel_dp_autotest_phy_pattern(intel_dp);
#  383|   		break;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:385:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:355:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:357:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:361:12: branch_false: following ‘false’ branch (when ‘status > 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:367:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:385:17: danger: dereference of NULL ‘display’
#  383|   		break;
#  384|   	default:
#  385|-> 		drm_dbg_kms(display->drm, "Invalid test request '%02x'\n",
#  386|   			    request);
#  387|   		break;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:413:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:406:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:407:40: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:413:9: danger: dereference of NULL ‘display’
#  411|   	*pipe_mask = 0;
#  412|   
#  413|-> 	drm_connector_list_iter_begin(display->drm, &conn_iter);
#  414|   	for_each_intel_connector_iter(connector, &conn_iter) {
#  415|   		struct drm_connector_state *conn_state =

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:459:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:450:12: enter_function: entry to ‘intel_dp_do_phy_test’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:453:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:454:37: call_function: inlined call to ‘enc_to_intel_dp’ from ‘intel_dp_do_phy_test’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:459:33: danger: dereference of NULL ‘display’
#  457|   	int ret;
#  458|   
#  459|-> 	ret = drm_modeset_lock(&display->drm->mode_config.connection_mutex,
#  460|   			       ctx);
#  461|   	if (ret)

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:530:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:525:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:528:17: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:530:17: danger: dereference of NULL ‘display’
#  528|   	switch (intel_dp->compliance.test_type) {
#  529|   	case DP_TEST_LINK_TRAINING:
#  530|-> 		drm_dbg_kms(display->drm,
#  531|   			    "Link Training Compliance Test requested\n");
#  532|   		/* Send a Hotplug Uevent to userspace to start modeset */

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:536:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:525:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:528:17: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dp_test.c:536:17: danger: dereference of NULL ‘display’
#  534|   		break;
#  535|   	case DP_TEST_LINK_PHY_TEST_PATTERN:
#  536|-> 		drm_dbg_kms(display->drm,
#  537|   			    "PHY test pattern Compliance Test requested\n");
#  538|   		/*

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi.c:71:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi.c:64:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi.c:67:17: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi.c:71:9: danger: dereference of NULL ‘display’
#   69|   	enum drm_mode_status status;
#   70|   
#   71|-> 	drm_dbg_kms(display->drm, "\n");
#   72|   
#   73|   	status = intel_panel_mode_valid(intel_connector, mode);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c:176:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c:166:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c:169:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c:169:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c:172:17: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.c:176:9: danger: dereference of NULL ‘display’
#  174|   	panel->backlight.level = panel->backlight.max;
#  175|   
#  176|-> 	drm_dbg_kms(display->drm,
#  177|   		    "[CONNECTOR:%d:%s] Using DCS for backlight control\n",
#  178|   		    connector->base.base.id, connector->base.name);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:122:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:104:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:112:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:122:13: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:122:13: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:122:13: danger: dereference of NULL ‘display’
#  120|   	port = intel_dsi_seq_port_to_port(intel_dsi, seq_port);
#  121|   
#  122|-> 	if (drm_WARN_ON(display->drm, !intel_dsi->dsi_hosts[port]))
#  123|   		goto out;
#  124|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:127:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:104:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:112:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:122:13: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:125:22: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:126:12: branch_true: following ‘true’ branch (when ‘dsi_device’ is NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:127:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:127:17: danger: dereference of NULL ‘display’
#  125|   	dsi_device = intel_dsi->dsi_hosts[port]->device;
#  126|   	if (!dsi_device) {
#  127|-> 		drm_dbg_kms(display->drm, "no dsi device for port %c\n",
#  128|   			    port_name(port));
#  129|   		goto out;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:140:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:104:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:112:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:122:13: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:125:22: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:126:12: branch_false: following ‘false’ branch (when ‘dsi_device’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:126:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:140:9: danger: dereference of NULL ‘display’
#  138|   	dsi_device->channel = (flags >> MIPI_VIRTUAL_CHANNEL_SHIFT) & 3;
#  139|   
#  140|-> 	drm_dbg_kms(display->drm, "DSI packet: Port %c (seq %u), Flags 0x%02x, VC %u, %s, Type 0x%02x, Length %u, Data %*ph\n",
#  141|   		    port_name(port), seq_port, flags, dsi_device->channel,
#  142|   		    hs_mode ? "HS" : "LP", type, len, (int)len, data);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:196:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:193:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:194:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:196:9: danger: dereference of NULL ‘display’
#  194|   	u32 delay = *((const u32 *) data);
#  195|   
#  196|-> 	drm_dbg_kms(display->drm, "%d usecs\n", delay);
#  197|   
#  198|   	usleep_range(delay, delay + 10);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:215:50: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:207:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:210:39: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:212:12: branch_false: following ‘false’ branch (when ‘gpio_desc’ is NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:215:29: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:215:50: danger: dereference of NULL ‘display’
#  213|   		gpiod_set_value(gpio_desc, value);
#  214|   	} else {
#  215|-> 		gpio_desc = devm_gpiod_get_index(display->drm->dev, con_id, idx,
#  216|   						 value ? GPIOD_OUT_HIGH : GPIOD_OUT_LOW);
#  217|   		if (IS_ERR(gpio_desc)) {

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:258:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:253:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:256:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:256:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:257:20: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:257:20: branch_true: following ‘true’ branch (when ‘gpio_source == 1’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:258:25: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:258:25: danger: dereference of NULL ‘display’
#  256|   	if (connector->panel.vbt.dsi.seq_version < 3) {
#  257|   		if (gpio_source == 1) {
#  258|-> 			drm_dbg_kms(display->drm, "SC gpio not supported\n");
#  259|   			return;
#  260|   		}

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:262:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:253:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:256:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:256:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:257:20: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:257:20: branch_false: following ‘false’ branch (when ‘gpio_source != 1’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:261:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:261:20: branch_true: following ‘true’ branch (when ‘gpio_source > 1’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:262:25: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:262:25: danger: dereference of NULL ‘display’
#  260|   		}
#  261|   		if (gpio_source > 1) {
#  262|-> 			drm_dbg_kms(display->drm,
#  263|   				    "unknown gpio source %u\n", gpio_source);
#  264|   			return;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:295:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:275:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:277:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:277:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:294:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:294:20: branch_true: following ‘true’ branch (when ‘gpio_source != 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:295:25: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:295:25: danger: dereference of NULL ‘display’
#  293|   		/* XXX: The spec is unclear about CHV GPIO on seq v2 */
#  294|   		if (gpio_source != 0) {
#  295|-> 			drm_dbg_kms(display->drm,
#  296|   				    "unknown gpio source %u\n", gpio_source);
#  297|   			return;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:301:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:275:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:277:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:277:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:294:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:294:20: branch_false: following ‘false’ branch (when ‘gpio_source == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:300:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:300:20: branch_true: following ‘true’ branch (when ‘gpio_index > 72’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:301:25: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:301:25: danger: dereference of NULL ‘display’
#  299|   
#  300|   		if (gpio_index >= CHV_GPIO_IDX_START_E) {
#  301|-> 			drm_dbg_kms(display->drm,
#  302|   				    "invalid gpio index %u for GPIO N\n",
#  303|   				    gpio_index);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:425:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:399:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:400:33: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:425:9: danger: dereference of NULL ‘display’
#  423|   	}
#  424|   
#  425|-> 	drm_dbg_kms(display->drm, "GPIO index %u, number %u, source %u, native %s, set to %s\n",
#  426|   		    gpio_index, gpio_number, gpio_source, str_yes_no(native), str_on_off(value));
#  427|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:473:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:472:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:473:36: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:473:36: danger: dereference of NULL ‘display’
#  471|   {
#  472|   	struct intel_display *display = to_intel_display(&intel_dsi->base);
#  473|-> 	struct acpi_device *adev = ACPI_COMPANION(display->drm->dev);
#  474|   	struct i2c_adapter_lookup lookup = {
#  475|   		.target_addr = target_addr,

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:503:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:493:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:495:24: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:503:9: danger: dereference of NULL ‘display’
#  501|   	u8 *payload_data;
#  502|   
#  503|-> 	drm_dbg_kms(display->drm, "bus %d target-addr 0x%02x reg 0x%02x data %*ph\n",
#  504|   		    vbt_i2c_bus_num, target_addr, reg_offset, payload_size, data + 7);
#  505|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:546:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:544:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:546:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:546:9: danger: dereference of NULL ‘display’
#  544|   	struct intel_display *display = to_intel_display(&intel_dsi->base);
#  545|   
#  546|-> 	drm_dbg_kms(display->drm, "Skipping SPI element execution\n");
#  547|   
#  548|   	return data + *(data + 5) + 6;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:569:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:551:18: enter_function: entry to ‘mipi_exec_pmic’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:553:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:560:27: call_function: inlined call to ‘get_unaligned_le16’ from ‘mipi_exec_pmic’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:568:12: branch_true: following ‘true’ branch (when ‘ret != 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:569:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:569:17: danger: dereference of NULL ‘display’
#  567|   							value, mask);
#  568|   	if (ret)
#  569|-> 		drm_err(display->drm, "%s failed, error: %d\n", __func__, ret);
#  570|   #else
#  571|   	drm_err(display->drm,

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:626:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:621:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:622:33: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:626:13: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:626:13: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:626:13: danger: dereference of NULL ‘display’
#  624|   	fn_mipi_elem_exec mipi_elem_exec;
#  625|   
#  626|-> 	if (drm_WARN_ON(display->drm,
#  627|   			seq_id >= ARRAY_SIZE(connector->panel.vbt.dsi.sequence)))
#  628|   		return;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:634:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:621:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:622:33: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:626:13: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:630:16: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:631:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:634:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:634:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:634:9: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:634:9: danger: dereference of NULL ‘display’
#  632|   		return;
#  633|   
#  634|-> 	drm_WARN_ON(display->drm, *data != seq_id);
#  635|   
#  636|   	drm_dbg_kms(display->drm, "Starting MIPI sequence %d - %s\n",

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:636:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:618:13: enter_function: entry to ‘intel_dsi_vbt_exec’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:621:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:622:33: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:626:13: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:630:16: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:631:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:634:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:634:9: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:636:9: call_function: inlined call to ‘sequence_name’ from ‘intel_dsi_vbt_exec’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:636:9: danger: dereference of NULL ‘display’
#  634|   	drm_WARN_ON(display->drm, *data != seq_id);
#  635|   
#  636|-> 	drm_dbg_kms(display->drm, "Starting MIPI sequence %d - %s\n",
#  637|   		    seq_id, sequence_name(seq_id));
#  638|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:705:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:704:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:705:32: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:705:32: danger: dereference of NULL ‘display’
#  703|   {
#  704|   	struct intel_display *display = to_intel_display(&intel_dsi->base);
#  705|-> 	struct drm_printer p = drm_dbg_printer(display->drm, DRM_UT_KMS,
#  706|   					       "DSI parameters:");
#  707|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:771:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:763:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:764:33: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:771:9: danger: dereference of NULL ‘display’
#  769|   	enum port port;
#  770|   
#  771|-> 	drm_dbg_kms(display->drm, "\n");
#  772|   
#  773|   	intel_dsi->eotp_pkt = mipi_config->eot_pkt_disabled ? 0 : 1;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:923:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:898:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:899:33: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:914:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:922:20: branch_true: following ‘true’ branch (when ‘ret != 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:923:25: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:923:25: danger: dereference of NULL ‘display’
#  921|   					     ARRAY_SIZE(soc_pwm_pinctrl_map));
#  922|   		if (ret)
#  923|-> 			drm_err(display->drm,
#  924|   				"Failed to register pwm0 pinmux mapping\n");
#  925|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:926:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:898:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:899:33: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:914:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:922:20: branch_false: following ‘false’ branch (when ‘ret == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:926:51: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:926:51: danger: dereference of NULL ‘display’
#  924|   				"Failed to register pwm0 pinmux mapping\n");
#  925|   
#  926|-> 		pinctrl = devm_pinctrl_get_select(display->drm->dev, "soc_pwm0");
#  927|   		if (IS_ERR(pinctrl))
#  928|   			drm_err(display->drm,

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:936:56: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:898:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:899:33: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:908:13: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:914:12: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:932:12: branch_true: following ‘true’ branch (when ‘gpiod_lookup_table’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:933:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:935:12: branch_true: following ‘true’ branch (when ‘want_panel_gpio != 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:936:56: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_dsi_vbt.c:936:56: danger: dereference of NULL ‘display’
#  934|   
#  935|   	if (want_panel_gpio) {
#  936|-> 		intel_dsi->gpio_panel = devm_gpiod_get(display->drm->dev, "panel", flags);
#  937|   		if (IS_ERR(intel_dsi->gpio_panel)) {
#  938|   			drm_err(display->drm,

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:283:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:267:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:268:38: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:280:12: branch_true: following ‘true’ branch (when ‘fb’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:281:14: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:283:17: danger: dereference of NULL ‘display’
#  281|   	    (sizes->fb_width > fb->base.width ||
#  282|   	     sizes->fb_height > fb->base.height)) {
#  283|-> 		drm_dbg_kms(display->drm,
#  284|   			    "BIOS fb too small (%dx%d), we require (%dx%d),"
#  285|   			    " releasing it\n",

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:294:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:267:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:268:38: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:280:12: branch_true: following ‘true’ branch (when ‘fb’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:281:14: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:280:13: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:282:14: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:281:13: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:292:19: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:294:12: branch_false: following ‘false’ branch (when ‘fb’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:294:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:294:20: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:294:20: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:294:20: danger: dereference of NULL ‘display’
#  292|   	wakeref = intel_display_rpm_get(display);
#  293|   
#  294|-> 	if (!fb || drm_WARN_ON(display->drm, !intel_fb_bo(&fb->base))) {
#  295|   		drm_dbg_kms(display->drm,
#  296|   			    "no BIOS fb, allocating a new one\n");

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:295:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:267:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:268:38: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:294:12: branch_true: following ‘true’ branch (when ‘fb’ is NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:295:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:295:17: danger: dereference of NULL ‘display’
#  293|   
#  294|   	if (!fb || drm_WARN_ON(display->drm, !intel_fb_bo(&fb->base))) {
#  295|-> 		drm_dbg_kms(display->drm,
#  296|   			    "no BIOS fb, allocating a new one\n");
#  297|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:304:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:267:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:268:38: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:280:12: branch_true: following ‘true’ branch (when ‘fb’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:281:14: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:280:13: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:282:14: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:281:13: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:292:19: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:294:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_fbdev.c:304:17: danger: dereference of NULL ‘display’
#  302|   		}
#  303|   	} else {
#  304|-> 		drm_dbg_kms(display->drm, "re-using BIOS fb\n");
#  305|   		prealloc = true;
#  306|   		sizes->fb_width = fb->base.width;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1306:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2437:6: enter_function: entry to ‘intel_hdmi_encoder_shutdown’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2445:9: call_function: calling ‘intel_dp_dual_mode_set_tmds_output’ from ‘intel_hdmi_encoder_shutdown’
# 1304|   		return;
# 1305|   
# 1306|-> 	drm_dbg_kms(display->drm, "%s DP dual mode adaptor TMDS output\n",
# 1307|   		    enable ? "Enabling" : "Disabling");
# 1308|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1317:35: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dig_port’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1791:5: enter_function: entry to ‘intel_hdmi_hdcp2_get_capability’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1794:47: call_function: calling ‘intel_attached_dig_port’ from ‘intel_hdmi_hdcp2_get_capability’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1794:47: return_function: return of NULL to ‘intel_hdmi_hdcp2_get_capability’ from ‘intel_attached_dig_port’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1799:15: call_function: calling ‘intel_hdmi_hdcp_read’ from ‘intel_hdmi_hdcp2_get_capability’
# 1315|   {
# 1316|   	struct intel_hdmi *hdmi = &dig_port->hdmi;
# 1317|-> 	struct i2c_adapter *ddc = hdmi->attached_connector->base.ddc;
# 1318|   	int ret;
# 1319|   	u8 start = offset & 0xff;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1344:35: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dig_port’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1721:5: enter_function: entry to ‘intel_hdmi_hdcp2_write_msg’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1724:47: call_function: calling ‘intel_attached_dig_port’ from ‘intel_hdmi_hdcp2_write_msg’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1724:47: return_function: return of NULL to ‘intel_hdmi_hdcp2_write_msg’ from ‘intel_attached_dig_port’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1728:16: call_function: calling ‘intel_hdmi_hdcp_write’ from ‘intel_hdmi_hdcp2_write_msg’
# 1342|   {
# 1343|   	struct intel_hdmi *hdmi = &dig_port->hdmi;
# 1344|-> 	struct i2c_adapter *ddc = hdmi->attached_connector->base.ddc;
# 1345|   	int ret;
# 1346|   	u8 *write_buf;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1383:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1375:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1377:35: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1382:12: branch_true: following ‘true’ branch (when ‘ret != 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1383:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1383:17: danger: dereference of NULL ‘display’
# 1381|   				    DRM_HDCP_AN_LEN);
# 1382|   	if (ret) {
# 1383|-> 		drm_dbg_kms(display->drm, "Write An over DDC failed (%d)\n",
# 1384|   			    ret);
# 1385|   		return ret;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1390:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1372:5: enter_function: entry to ‘intel_hdmi_hdcp_write_an_aksv’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1375:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1377:35: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1380:15: call_function: calling ‘intel_hdmi_hdcp_write’ from ‘intel_hdmi_hdcp_write_an_aksv’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1380:15: return_function: returning to ‘intel_hdmi_hdcp_write_an_aksv’ from ‘intel_hdmi_hdcp_write’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1382:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1388:15: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1389:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1390:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1390:17: danger: dereference of NULL ‘display’
# 1388|   	ret = intel_gmbus_output_aksv(ddc);
# 1389|   	if (ret < 0) {
# 1390|-> 		drm_dbg_kms(display->drm, "Failed to output aksv (%d)\n", ret);
# 1391|   		return ret;
# 1392|   	}

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1405:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1399:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1402:15: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1404:12: branch_true: following ‘true’ branch (when ‘ret != 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1405:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1405:17: danger: dereference of NULL ‘display’
# 1403|   				   DRM_HDCP_KSV_LEN);
# 1404|   	if (ret)
# 1405|-> 		drm_dbg_kms(display->drm, "Read Bksv over DDC failed (%d)\n",
# 1406|   			    ret);
# 1407|   	return ret;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1420:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1414:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1417:15: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1419:12: branch_true: following ‘true’ branch (when ‘ret != 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1420:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1420:17: danger: dereference of NULL ‘display’
# 1418|   				   bstatus, DRM_HDCP_BSTATUS_LEN);
# 1419|   	if (ret)
# 1420|-> 		drm_dbg_kms(display->drm,
# 1421|   			    "Read bstatus over DDC failed (%d)\n",
# 1422|   			    ret);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1436:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1430:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1432:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1435:12: branch_true: following ‘true’ branch (when ‘ret != 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1436:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1436:17: danger: dereference of NULL ‘display’
# 1434|   	ret = intel_hdmi_hdcp_read(dig_port, DRM_HDCP_DDC_BCAPS, &val, 1);
# 1435|   	if (ret) {
# 1436|-> 		drm_dbg_kms(display->drm, "Read bcaps over DDC failed (%d)\n",
# 1437|   			    ret);
# 1438|   		return ret;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1454:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1448:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1451:15: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1453:12: branch_true: following ‘true’ branch (when ‘ret != 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1454:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1454:17: danger: dereference of NULL ‘display’
# 1452|   				   ri_prime, DRM_HDCP_RI_LEN);
# 1453|   	if (ret)
# 1454|-> 		drm_dbg_kms(display->drm, "Read Ri' over DDC failed (%d)\n",
# 1455|   			    ret);
# 1456|   	return ret;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1469:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1463:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1465:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1468:12: branch_true: following ‘true’ branch (when ‘ret != 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1469:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1469:17: danger: dereference of NULL ‘display’
# 1467|   	ret = intel_hdmi_hdcp_read(dig_port, DRM_HDCP_DDC_BCAPS, &val, 1);
# 1468|   	if (ret) {
# 1469|-> 		drm_dbg_kms(display->drm, "Read bcaps over DDC failed (%d)\n",
# 1470|   			    ret);
# 1471|   		return ret;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1486:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1481:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1484:46: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1485:12: branch_true: following ‘true’ branch (when ‘ret != 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1486:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1486:17: danger: dereference of NULL ‘display’
# 1484|   				   ksv_fifo, num_downstream * DRM_HDCP_KSV_LEN);
# 1485|   	if (ret) {
# 1486|-> 		drm_dbg_kms(display->drm,
# 1487|   			    "Read ksv fifo over DDC failed (%d)\n", ret);
# 1488|   		return ret;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1506:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1497:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1500:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1500:12: branch_false: following ‘false’ branch (when ‘i <= 4’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1503:46: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1505:12: branch_true: following ‘true’ branch (when ‘ret != 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1506:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1506:17: danger: dereference of NULL ‘display’
# 1504|   				   part, DRM_HDCP_V_PRIME_PART_LEN);
# 1505|   	if (ret)
# 1506|-> 		drm_dbg_kms(display->drm,
# 1507|   			    "Read V'[%d] over DDC failed (%d)\n",
# 1508|   			    i, ret);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1565:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1553:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1555:33: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1564:12: branch_true: following ‘true’ branch (when ‘ret != 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1565:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1565:17: danger: dereference of NULL ‘display’
# 1563|   					 TRANS_DDI_HDCP_SIGNALLING);
# 1564|   	if (ret) {
# 1565|-> 		drm_err(display->drm, "%s HDCP signalling failed (%d)\n",
# 1566|   			enable ? "Enable" : "Disable", ret);
# 1567|   		return ret;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1678:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1672:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1673:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1677:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1678:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1678:17: danger: dereference of NULL ‘display’
# 1676|   	ret = intel_hdmi_hdcp2_read_rx_status(dig_port, rx_status);
# 1677|   	if (ret < 0) {
# 1678|-> 		drm_dbg_kms(display->drm, "rx_status read failed. Err %d\n",
# 1679|   			    ret);
# 1680|   		return ret;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1738:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dig_port’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1732:5: enter_function: entry to ‘intel_hdmi_hdcp2_read_msg’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1735:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1736:47: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1736:47: call_function: calling ‘intel_attached_dig_port’ from ‘intel_hdmi_hdcp2_read_msg’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1736:47: return_function: return of NULL to ‘intel_hdmi_hdcp2_read_msg’ from ‘intel_attached_dig_port’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1738:36: danger: dereference of NULL ‘dig_port’
# 1736|   	struct intel_digital_port *dig_port = intel_attached_dig_port(connector);
# 1737|   	struct intel_hdmi *hdmi = &dig_port->hdmi;
# 1738|-> 	struct intel_hdcp *hdcp = &hdmi->attached_connector->hdcp;
# 1739|   	unsigned int offset;
# 1740|   	ssize_t ret;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1752:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1732:5: enter_function: entry to ‘intel_hdmi_hdcp2_read_msg’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1735:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1736:47: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1742:15: call_function: calling ‘intel_hdmi_hdcp2_wait_for_msg’ from ‘intel_hdmi_hdcp2_read_msg’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1742:15: return_function: returning to ‘intel_hdmi_hdcp2_read_msg’ from ‘intel_hdmi_hdcp2_wait_for_msg’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1744:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1751:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1751:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1752:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1752:17: danger: dereference of NULL ‘display’
# 1750|   	 */
# 1751|   	if (ret > size) {
# 1752|-> 		drm_dbg_kms(display->drm,
# 1753|   			    "msg_sz(%zd) is more than exp size(%zu)\n",
# 1754|   			    ret, size);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1761:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1732:5: enter_function: entry to ‘intel_hdmi_hdcp2_read_msg’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1735:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1736:47: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1742:15: call_function: calling ‘intel_hdmi_hdcp2_wait_for_msg’ from ‘intel_hdmi_hdcp2_read_msg’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1742:15: return_function: returning to ‘intel_hdmi_hdcp2_read_msg’ from ‘intel_hdmi_hdcp2_wait_for_msg’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1744:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1751:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1751:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1759:15: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1760:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1761:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1761:17: danger: dereference of NULL ‘display’
# 1759|   	ret = intel_hdmi_hdcp_read(dig_port, offset, buf, ret);
# 1760|   	if (ret)
# 1761|-> 		drm_dbg_kms(display->drm, "Failed to read msg_id: %d(%zd)\n",
# 1762|   			    msg_id, ret);
# 1763|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:1851:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2328:6: enter_function: entry to ‘intel_hdmi_compute_has_hdmi_sink’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2332:35: call_function: inlined call to ‘enc_to_intel_hdmi’ from ‘intel_hdmi_compute_has_hdmi_sink’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2334:16: call_function: inlined call to ‘intel_has_hdmi_sink’ from ‘intel_hdmi_compute_has_hdmi_sink’
# 1849|   				const struct drm_connector_state *conn_state)
# 1850|   {
# 1851|-> 	struct intel_connector *connector = hdmi->attached_connector;
# 1852|   
# 1853|   	return connector->base.display_info.is_hdmi &&

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2281:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2270:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2271:45: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2280:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2281:17: danger: dereference of NULL ‘display’
# 2279|   
# 2280|   	if (ycbcr_420_only && crtc_state->sink_format != INTEL_OUTPUT_FORMAT_YCBCR420) {
# 2281|-> 		drm_dbg_kms(display->drm,
# 2282|   			    "YCbCr 4:2:0 mode but YCbCr 4:2:0 output not possible. Falling back to RGB.\n");
# 2283|   		crtc_state->sink_format = INTEL_OUTPUT_FORMAT_RGB;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2471:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2465:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2466:35: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2471:40: danger: dereference of NULL ‘display’
# 2469|   	enum drm_dp_dual_mode_type type;
# 2470|   
# 2471|-> 	type = drm_dp_dual_mode_detect(display->drm, ddc);
# 2472|   
# 2473|   	/*

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2530:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2518:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2519:41: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2529:12: branch_true: following ‘true’ branch (when ‘drm_edid’ is NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2529:27: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2529:13: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2530:17: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2530:17: danger: dereference of NULL ‘display’
# 2528|   
# 2529|   	if (!drm_edid && !intel_gmbus_is_forced_bit(ddc)) {
# 2530|-> 		drm_dbg_kms(display->drm,
# 2531|   			    "HDMI GMBUS EDID read failed, retry using GPIO bit-banging\n");
# 2532|   		intel_gmbus_force_bit(ddc, true);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2566:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2560:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2562:41: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2566:9: danger: dereference of NULL ‘display’
# 2564|   	intel_wakeref_t wakeref;
# 2565|   
# 2566|-> 	drm_dbg_kms(display->drm, "[CONNECTOR:%d:%s]\n",
# 2567|   		    connector->base.base.id, connector->base.name);
# 2568|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2601:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2599:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2601:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2601:9: danger: dereference of NULL ‘display’
# 2599|   	struct intel_display *display = to_intel_display(connector);
# 2600|   
# 2601|-> 	drm_dbg_kms(display->drm, "[CONNECTOR:%d:%s]\n",
# 2602|   		    connector->base.base.id, connector->base.name);
# 2603|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2728:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2721:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2725:14: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2725:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2728:9: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2728:9: danger: dereference of NULL ‘display’
# 2726|   		return true;
# 2727|   
# 2728|-> 	drm_dbg_kms(display->drm,
# 2729|   		    "[CONNECTOR:%d:%s] scrambling=%s, TMDS bit clock ratio=1/%d\n",
# 2730|   		    connector->base.base.id, connector->base.name,

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2817:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2809:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2810:19: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2812:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2814:18: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2814:17: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2817:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2817:9: danger: dereference of NULL ‘display’
# 2815|   		return GMBUS_PIN_9_TC1_ICP + intel_encoder_to_tc(encoder);
# 2816|   
# 2817|-> 	drm_WARN(display->drm, 1, "Unknown port:%c\n", port_name(port));
# 2818|   	return GMBUS_PIN_2_BXT;
# 2819|   }

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2857:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2846:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2847:24: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2857:13: danger: dereference of NULL ‘display’
# 2855|   	 * all outputs.
# 2856|   	 */
# 2857|-> 	if (INTEL_PCH_TYPE(display) >= PCH_TGP && phy >= PHY_C)
# 2858|   		return GMBUS_PIN_9_TC1_ICP + phy - PHY_C;
# 2859|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2868:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2865:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2866:24: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2868:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2868:9: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2868:9: danger: dereference of NULL ‘display’
# 2866|   	enum phy phy = intel_encoder_to_phy(encoder);
# 2867|   
# 2868|-> 	drm_WARN_ON(display->drm, encoder->port == PORT_A);
# 2869|   
# 2870|   	/*

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2876:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2865:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2866:24: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2868:9: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2876:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2876:13: danger: dereference of NULL ‘display’
# 2874|   	 * all outputs.
# 2875|   	 */
# 2876|-> 	if (INTEL_PCH_TYPE(display) >= PCH_TGP && phy >= PHY_C)
# 2877|   		return GMBUS_PIN_9_TC1_ICP + phy - PHY_C;
# 2878|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2933:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2928:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2931:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2931:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2933:18: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2933:18: danger: dereference of NULL ‘display’
# 2931|   	if (display->platform.alderlake_s)
# 2932|   		ddc_pin = adls_encoder_to_ddc_pin(encoder);
# 2933|-> 	else if (INTEL_PCH_TYPE(display) >= PCH_DG1)
# 2934|   		ddc_pin = dg1_encoder_to_ddc_pin(encoder);
# 2935|   	else if (display->platform.rocketlake)

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2962:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2959:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2962:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2962:9: danger: dereference of NULL ‘display’
# 2960|   	struct intel_encoder *other;
# 2961|   
# 2962|-> 	for_each_intel_encoder(display->drm, other) {
# 2963|   		struct intel_connector *connector;
# 2964|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2996:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2982:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2987:19: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2990:12: branch_false: following ‘false’ branch (when ‘ddc_pin != 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2995:14: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2995:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2996:17: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2996:17: danger: dereference of NULL ‘display’
# 2994|   
# 2995|   	if (!intel_gmbus_is_valid_pin(display, ddc_pin)) {
# 2996|-> 		drm_dbg_kms(display->drm,
# 2997|   			    "[ENCODER:%d:%s] Invalid DDC pin %d\n",
# 2998|   			    encoder->base.base.id, encoder->base.name, ddc_pin);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:3004:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2980:11: enter_function: entry to ‘intel_hdmi_ddc_pin’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2982:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2987:19: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2990:12: branch_false: following ‘false’ branch (when ‘ddc_pin != 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2995:14: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:2995:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:3002:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:3002:17: call_function: calling ‘get_encoder_by_ddc_pin’ from ‘intel_hdmi_ddc_pin’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:3002:17: return_function: returning to ‘intel_hdmi_ddc_pin’ from ‘get_encoder_by_ddc_pin’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:3003:12: branch_true: following ‘true’ branch (when ‘other’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:3004:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:3004:17: danger: dereference of NULL ‘display’
# 3002|   	other = get_encoder_by_ddc_pin(encoder, ddc_pin);
# 3003|   	if (other) {
# 3004|-> 		drm_dbg_kms(display->drm,
# 3005|   			    "[ENCODER:%d:%s] DDC pin %d already claimed by [ENCODER:%d:%s]\n",
# 3006|   			    encoder->base.base.id, encoder->base.name, ddc_pin,

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:3045:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:3021:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:3023:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:3023:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:3028:19: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:3033:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:3033:19: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:3045:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:3045:20: danger: dereference of NULL ‘display’
# 3043|   			dig_port->infoframes_enabled = hsw_infoframes_enabled;
# 3044|   		}
# 3045|-> 	} else if (HAS_PCH_IBX(display)) {
# 3046|   		dig_port->write_infoframe = ibx_write_infoframe;
# 3047|   		dig_port->read_infoframe = ibx_read_infoframe;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:3070:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:3061:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:3062:31: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_hdmi.c:3070:9: danger: dereference of NULL ‘display’
# 3068|   	u8 ddc_pin;
# 3069|   
# 3070|-> 	drm_dbg_kms(display->drm,
# 3071|   		    "Adding HDMI connector on [ENCODER:%d:%s]\n",
# 3072|   		    intel_encoder->base.base.id, intel_encoder->base.name);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:162:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:672:6: enter_function: entry to ‘intel_lspcon_wait_pcon_mode’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:676:9: call_function: calling ‘lspcon_wait_mode’ from ‘intel_lspcon_wait_pcon_mode’
#  160|   
#  161|   	if (drm_lspcon_get_mode(intel_dp->aux.drm_dev, ddc, &current_mode)) {
#  162|-> 		drm_dbg_kms(display->drm, "Error reading LSPCON mode\n");
#  163|   		return DRM_LSPCON_MODE_INVALID;
#  164|   	}

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:193:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:672:6: enter_function: entry to ‘intel_lspcon_wait_pcon_mode’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:676:9: call_function: calling ‘lspcon_wait_mode’ from ‘intel_lspcon_wait_pcon_mode’
#  191|   		goto out;
#  192|   
#  193|-> 	drm_dbg_kms(display->drm, "Waiting for LSPCON mode %s to settle\n",
#  194|   		    lspcon_mode_name(mode));
#  195|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:205:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:672:6: enter_function: entry to ‘intel_lspcon_wait_pcon_mode’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:676:9: call_function: calling ‘lspcon_wait_mode’ from ‘intel_lspcon_wait_pcon_mode’
#  203|   
#  204|   out:
#  205|-> 	drm_dbg_kms(display->drm, "Current LSPCON mode %s\n",
#  206|   		    lspcon_mode_name(current_mode));
#  207|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:222:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:725:6: enter_function: entry to ‘intel_lspcon_resume’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:727:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:728:30: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:731:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:734:14: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:734:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:742:13: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:742:13: call_function: calling ‘lspcon_wake_native_aux_ch’ from ‘intel_lspcon_resume’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:742:13: return_function: returning to ‘intel_lspcon_resume’ from ‘lspcon_wake_native_aux_ch’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:749:13: call_function: calling ‘lspcon_wait_mode’ from ‘intel_lspcon_resume’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:749:13: return_function: returning to ‘intel_lspcon_resume’ from ‘lspcon_wait_mode’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:749:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:752:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:752:13: call_function: calling ‘lspcon_change_mode’ from ‘intel_lspcon_resume’
#  220|   	err = drm_lspcon_get_mode(intel_dp->aux.drm_dev, ddc, &current_mode);
#  221|   	if (err) {
#  222|-> 		drm_err(display->drm, "Error reading LSPCON mode\n");
#  223|   		return err;
#  224|   	}

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:227:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:725:6: enter_function: entry to ‘intel_lspcon_resume’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:727:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:728:30: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:731:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:734:14: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:734:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:742:13: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:742:13: call_function: calling ‘lspcon_wake_native_aux_ch’ from ‘intel_lspcon_resume’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:742:13: return_function: returning to ‘intel_lspcon_resume’ from ‘lspcon_wake_native_aux_ch’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:749:13: call_function: calling ‘lspcon_wait_mode’ from ‘intel_lspcon_resume’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:749:13: return_function: returning to ‘intel_lspcon_resume’ from ‘lspcon_wait_mode’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:749:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:752:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:752:13: call_function: calling ‘lspcon_change_mode’ from ‘intel_lspcon_resume’
#  225|   
#  226|   	if (current_mode == mode) {
#  227|-> 		drm_dbg_kms(display->drm, "Current mode = desired LSPCON mode\n");
#  228|   		return 0;
#  229|   	}

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:234:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:725:6: enter_function: entry to ‘intel_lspcon_resume’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:727:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:728:30: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:731:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:734:14: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:734:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:742:13: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:742:13: call_function: calling ‘lspcon_wake_native_aux_ch’ from ‘intel_lspcon_resume’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:742:13: return_function: returning to ‘intel_lspcon_resume’ from ‘lspcon_wake_native_aux_ch’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:749:13: call_function: calling ‘lspcon_wait_mode’ from ‘intel_lspcon_resume’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:749:13: return_function: returning to ‘intel_lspcon_resume’ from ‘lspcon_wait_mode’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:749:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:752:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:752:13: call_function: calling ‘lspcon_change_mode’ from ‘intel_lspcon_resume’
#  232|   				  lspcon_get_mode_settle_timeout(lspcon));
#  233|   	if (err < 0) {
#  234|-> 		drm_err(display->drm, "LSPCON mode change failed\n");
#  235|   		return err;
#  236|   	}

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:239:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:725:6: enter_function: entry to ‘intel_lspcon_resume’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:727:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:728:30: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:731:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:734:14: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:734:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:742:13: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:742:13: call_function: calling ‘lspcon_wake_native_aux_ch’ from ‘intel_lspcon_resume’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:742:13: return_function: returning to ‘intel_lspcon_resume’ from ‘lspcon_wake_native_aux_ch’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:749:13: call_function: calling ‘lspcon_wait_mode’ from ‘intel_lspcon_resume’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:749:13: return_function: returning to ‘intel_lspcon_resume’ from ‘lspcon_wait_mode’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:749:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:752:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:752:13: call_function: calling ‘lspcon_change_mode’ from ‘intel_lspcon_resume’
#  237|   
#  238|   	lspcon->mode = mode;
#  239|-> 	drm_dbg_kms(display->drm, "LSPCON mode changed done\n");
#  240|   	return 0;
#  241|   }

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:251:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:261:13: enter_function: entry to ‘lspcon_probe’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:264:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:265:29: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:270:25: call_function: calling ‘lspcon_wake_native_aux_ch’ from ‘lspcon_probe’
#  249|   	if (drm_dp_dpcd_readb(&lspcon_to_intel_dp(lspcon)->aux, DP_DPCD_REV,
#  250|   			      &rev) != 1) {
#  251|-> 		drm_dbg_kms(display->drm, "Native AUX CH down\n");
#  252|   		return false;
#  253|   	}

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:255:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:261:13: enter_function: entry to ‘lspcon_probe’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:264:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:265:29: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:270:25: call_function: calling ‘lspcon_wake_native_aux_ch’ from ‘lspcon_probe’
#  253|   	}
#  254|   
#  255|-> 	drm_dbg_kms(display->drm, "Native AUX CH up, DPCD version: %d.%d\n",
#  256|   		    rev >> 4, rev & 0xf);
#  257|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:290:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:679:6: enter_function: entry to ‘intel_lspcon_init’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:681:41: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:681:41: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:689:14: call_function: calling ‘lspcon_probe’ from ‘intel_lspcon_init’
#  288|   
#  289|   	/* Yay ... got a LSPCON device */
#  290|-> 	drm_dbg_kms(display->drm, "LSPCON detected\n");
#  291|   	lspcon->mode = lspcon_wait_mode(lspcon, expected_mode);
#  292|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:316:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:310:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:312:23: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:315:20: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:316:25: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:316:25: danger: dereference of NULL ‘display’
#  314|   	while (1) {
#  315|   		if (intel_digital_port_connected(&dig_port->base)) {
#  316|-> 			drm_dbg_kms(display->drm, "LSPCON recovering in PCON mode after %u ms\n",
#  317|   				    jiffies_to_msecs(jiffies - start));
#  318|   			return;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:327:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:310:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:312:23: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:315:20: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:321:21: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:327:9: danger: dereference of NULL ‘display’
#  325|   	}
#  326|   
#  327|-> 	drm_dbg_kms(display->drm, "LSPCON DP descriptor mismatch after resume\n");
#  328|   }
#  329|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:505:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:493:6: enter_function: entry to ‘lspcon_write_infoframe’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:498:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:499:37: call_function: inlined call to ‘enc_to_intel_dp’ from ‘lspcon_write_infoframe’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:500:39: call_function: inlined call to ‘enc_to_intel_lspcon’ from ‘lspcon_write_infoframe’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:503:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:505:21: danger: dereference of NULL ‘<unknown>’
#  503|   	switch (type) {
#  504|   	case HDMI_INFOFRAME_TYPE_AVI:
#  505|-> 		if (lspcon->vendor == LSPCON_VENDOR_MCA)
#  506|   			ret = _lspcon_write_avi_infoframe_mca(&intel_dp->aux,
#  507|   							      frame, len);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:513:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:493:6: enter_function: entry to ‘lspcon_write_infoframe’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:498:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:499:37: call_function: inlined call to ‘enc_to_intel_dp’ from ‘lspcon_write_infoframe’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:500:39: call_function: inlined call to ‘enc_to_intel_lspcon’ from ‘lspcon_write_infoframe’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:503:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:513:17: danger: dereference of NULL ‘display’
#  511|   		break;
#  512|   	case HDMI_PACKET_TYPE_GAMUT_METADATA:
#  513|-> 		drm_dbg_kms(display->drm, "Update HDR metadata for lspcon\n");
#  514|   		/* It uses the legacy hsw implementation for the same */
#  515|   		hsw_write_infoframe(encoder, crtc_state, type, frame, len);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:522:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:493:6: enter_function: entry to ‘lspcon_write_infoframe’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:498:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:499:37: call_function: inlined call to ‘enc_to_intel_dp’ from ‘lspcon_write_infoframe’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:521:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:522:17: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:522:17: danger: dereference of NULL ‘display’
#  520|   
#  521|   	if (!ret) {
#  522|-> 		drm_err(display->drm, "Failed to write infoframes\n");
#  523|   		return;
#  524|   	}

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:552:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:538:6: enter_function: entry to ‘lspcon_set_infoframes’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:543:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:544:47: call_function: inlined call to ‘enc_to_dig_port’ from ‘lspcon_set_infoframes’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:546:40: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:552:14: danger: dereference of NULL ‘<unknown>’
#  550|   	ssize_t ret;
#  551|   
#  552|-> 	if (!lspcon->active) {
#  553|   		drm_err(display->drm, "Writing infoframes while LSPCON disabled ?\n");
#  554|   		return;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:553:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:538:6: enter_function: entry to ‘lspcon_set_infoframes’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:543:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:544:47: call_function: inlined call to ‘enc_to_dig_port’ from ‘lspcon_set_infoframes’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:552:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:553:17: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:553:17: danger: dereference of NULL ‘display’
#  551|   
#  552|   	if (!lspcon->active) {
#  553|-> 		drm_err(display->drm, "Writing infoframes while LSPCON disabled ?\n");
#  554|   		return;
#  555|   	}

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:563:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:538:6: enter_function: entry to ‘lspcon_set_infoframes’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:543:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:544:47: call_function: inlined call to ‘enc_to_dig_port’ from ‘lspcon_set_infoframes’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:552:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:560:56: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:562:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:563:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:563:17: danger: dereference of NULL ‘display’
#  561|   						       adjusted_mode);
#  562|   	if (ret < 0) {
#  563|-> 		drm_err(display->drm, "couldn't fill AVI infoframe\n");
#  564|   		return;
#  565|   	}

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:604:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:538:6: enter_function: entry to ‘lspcon_set_infoframes’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:543:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:544:47: call_function: inlined call to ‘enc_to_dig_port’ from ‘lspcon_set_infoframes’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:552:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:560:56: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:562:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:576:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:603:12: branch_true: following ‘true’ branch (when ‘ret < 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:604:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:604:17: danger: dereference of NULL ‘display’
#  602|   	ret = hdmi_infoframe_pack(&frame, buf, sizeof(buf));
#  603|   	if (ret < 0) {
#  604|-> 		drm_err(display->drm, "Failed to pack AVI IF\n");
#  605|   		return;
#  606|   	}

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:652:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:642:5: enter_function: entry to ‘lspcon_infoframes_enabled’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:645:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:646:37: call_function: inlined call to ‘enc_to_intel_dp’ from ‘lspcon_infoframes_enabled’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:647:39: call_function: inlined call to ‘enc_to_intel_lspcon’ from ‘lspcon_infoframes_enabled’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:652:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:652:13: danger: dereference of NULL ‘<unknown>’
#  650|   	u32 mask, tmp;
#  651|   
#  652|-> 	if (lspcon->vendor == LSPCON_VENDOR_MCA)
#  653|   		infoframes_enabled = _lspcon_read_avi_infoframe_enabled_mca(&intel_dp->aux);
#  654|   	else

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:722:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:717:5: enter_function: entry to ‘intel_lspcon_infoframes_enabled’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:720:47: call_function: inlined call to ‘enc_to_dig_port’ from ‘intel_lspcon_infoframes_enabled’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:722:16: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:722:16: danger: dereference of NULL ‘<unknown>’
#  720|   	struct intel_digital_port *dig_port = enc_to_dig_port(encoder);
#  721|   
#  722|-> 	return dig_port->infoframes_enabled(encoder, pipe_config);
#  723|   }
#  724|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:753:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:725:6: enter_function: entry to ‘intel_lspcon_resume’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:727:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:728:30: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:731:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:734:14: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:734:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:742:13: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:742:13: call_function: calling ‘lspcon_wake_native_aux_ch’ from ‘intel_lspcon_resume’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:742:13: return_function: returning to ‘intel_lspcon_resume’ from ‘lspcon_wake_native_aux_ch’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:749:13: call_function: calling ‘lspcon_wait_mode’ from ‘intel_lspcon_resume’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:749:13: return_function: returning to ‘intel_lspcon_resume’ from ‘lspcon_wait_mode’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:749:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:752:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:752:13: call_function: calling ‘lspcon_change_mode’ from ‘intel_lspcon_resume’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:752:13: return_function: returning to ‘intel_lspcon_resume’ from ‘lspcon_change_mode’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:752:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:753:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lspcon.c:753:17: danger: dereference of NULL ‘display’
#  751|   
#  752|   	if (lspcon_change_mode(lspcon, DRM_LSPCON_MODE_PCON))
#  753|-> 		drm_err(display->drm, "LSPCON resume failed\n");
#  754|   	else
#  755|   		drm_dbg_kms(display->drm, "LSPCON resume success\n");

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lt_phy.c:1931:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lt_phy.c:2307:6: enter_function: entry to ‘intel_xe3plpd_pll_enable’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lt_phy.c:2312:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lt_phy.c:2315:17: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_lt_phy.c:2315:17: call_function: calling ‘intel_lt_phy_pll_enable’ from ‘intel_xe3plpd_pll_enable’
# 1929|   	struct intel_display *display = to_intel_display(encoder);
# 1930|   	struct intel_digital_port *dig_port = enc_to_dig_port(encoder);
# 1931|-> 	bool lane_reversal = dig_port->lane_reversal;
# 1932|   	u8 owned_lane_mask = intel_lt_phy_get_owned_lane_mask(encoder);
# 1933|   	enum phy phy = intel_encoder_to_phy(encoder);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_modeset_setup.c:602:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_modeset_setup.c:575:13: enter_function: entry to ‘intel_sanitize_encoder’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_modeset_setup.c:577:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_modeset_setup.c:579:35: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_modeset_setup.c:580:47: branch_false: following ‘false’ branch (when ‘__mptr’ is NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_modeset_setup.c:583:17: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_modeset_setup.c:590:32: branch_false: following ‘false’ branch (when ‘crtc_state’ is NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_modeset_setup.c:600:21: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_modeset_setup.c:600:21: call_function: calling ‘intel_encoder_find_connector’ from ‘intel_sanitize_encoder’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_modeset_setup.c:600:21: return_function: returning to ‘intel_sanitize_encoder’ from ‘intel_encoder_find_connector’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_modeset_setup.c:601:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_modeset_setup.c:602:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_modeset_setup.c:602:17: danger: dereference of NULL ‘display’
#  600|   	connector = intel_encoder_find_connector(encoder);
#  601|   	if (connector && !has_active_crtc) {
#  602|-> 		drm_dbg_kms(display->drm,
#  603|   			    "[ENCODER:%d:%s] has active connectors but no active pipe!\n",
#  604|   			    encoder->base.base.id,

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_opregion.c:277:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_opregion.c:390:5: enter_function: entry to ‘intel_opregion_notify_encoder’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_opregion.c:393:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_opregion.c:400:14: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_opregion.c:400:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_opregion.c:404:15: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_opregion.c:404:15: call_function: calling ‘check_swsci_function’ from ‘intel_opregion_notify_encoder’
#  275|   static int check_swsci_function(struct intel_display *display, u32 function)
#  276|   {
#  277|-> 	struct intel_opregion *opregion = display->opregion;
#  278|   	struct opregion_swsci *swsci;
#  279|   	u32 main_function, sub_function;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_opregion.c:1113:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_opregion.c:1112:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_opregion.c:1113:32: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_opregion.c:1113:32: danger: dereference of NULL ‘display’
# 1111|   {
# 1112|   	struct intel_display *display = to_intel_display(connector);
# 1113|-> 	struct intel_opregion *opregion = display->opregion;
# 1114|   	const struct drm_edid *drm_edid;
# 1115|   	const void *edid;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_plane_initial.c:34:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_plane_initial.c:312:1: enter_function: entry to ‘intel_find_initial_plane_obj’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_plane_initial.c:330:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_plane_initial.c:333:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_plane_initial.c:333:13: call_function: calling ‘intel_alloc_initial_plane_obj’ from ‘intel_find_initial_plane_obj’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_plane_initial.c:333:13: return_function: returning to ‘intel_find_initial_plane_obj’ from ‘intel_alloc_initial_plane_obj’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_plane_initial.c:333:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_plane_initial.c:343:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_plane_initial.c:343:13: call_function: calling ‘intel_reuse_initial_plane_obj’ from ‘intel_find_initial_plane_obj’
#   32|   	struct intel_crtc *crtc;
#   33|   
#   34|-> 	for_each_intel_crtc(display->drm, crtc) {
#   35|   		struct intel_plane *plane =
#   36|   			to_intel_plane(crtc->base.primary);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_plane_initial.c:130:49: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_plane_initial.c:264:1: enter_function: entry to ‘intel_alloc_initial_plane_obj’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_plane_initial.c:267:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_plane_initial.c:268:33: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_plane_initial.c:285:15: call_function: calling ‘initial_plane_vma’ from ‘intel_alloc_initial_plane_obj’
#  128|   		  struct intel_initial_plane_config *plane_config)
#  129|   {
#  130|-> 	struct drm_i915_private *i915 = to_i915(display->drm);
#  131|   	struct intel_memory_region *mem;
#  132|   	struct drm_i915_gem_object *obj;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_plane_initial.c:279:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_plane_initial.c:267:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_plane_initial.c:268:33: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_plane_initial.c:279:17: danger: dereference of NULL ‘display’
#  277|   		break;
#  278|   	default:
#  279|-> 		drm_dbg(display->drm,
#  280|   			"Unsupported modifier for initial FB: 0x%llx\n",
#  281|   			fb->modifier);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_vblank.c:310:49: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_vblank.c:712:5: enter_function: entry to ‘intel_vblank_evade’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_vblank.c:715:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_vblank.c:717:33: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_vblank.c:721:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_vblank.c:732:28: call_function: calling ‘intel_get_crtc_scanline’ from ‘intel_vblank_evade’
#  308|   	__acquires(i915->uncore.lock)
#  309|   {
#  310|-> 	struct drm_i915_private *i915 = to_i915(display->drm);
#  311|   	spin_lock(&i915->uncore.lock);
#  312|   }

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_vblank.c:737:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_vblank.c:712:5: enter_function: entry to ‘intel_vblank_evade’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_vblank.c:715:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_vblank.c:717:33: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_vblank.c:721:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_vblank.c:732:28: call_function: calling ‘intel_get_crtc_scanline’ from ‘intel_vblank_evade’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_vblank.c:732:28: return_function: returning to ‘intel_vblank_evade’ from ‘intel_get_crtc_scanline’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_vblank.c:733:20: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_vblank.c:736:20: branch_false: following ‘false’ branch (when ‘timeout != 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_vblank.c:743:17: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_vblank.c:732:28: call_function: calling ‘intel_get_crtc_scanline’ from ‘intel_vblank_evade’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_vblank.c:732:28: return_function: returning to ‘intel_vblank_evade’ from ‘intel_get_crtc_scanline’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_vblank.c:733:20: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/intel_vblank.c:737:25: danger: dereference of NULL ‘display’
#  735|   
#  736|   		if (!timeout) {
#  737|-> 			drm_dbg_kms(display->drm,
#  738|   				    "Potential atomic update failure on pipe %c\n",
#  739|   				    pipe_name(crtc->pipe));

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:402:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:594:5: enter_function: entry to ‘intel_atomic_setup_scalers’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:597:41: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:597:41: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:620:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:620:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:629:21: branch_true: following ‘true’ branch (when ‘i != 32’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:633:23: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:644:31: call_function: calling ‘setup_plane_scaler’ from ‘intel_atomic_setup_scalers’
#  400|   		*scaler_id = intel_allocate_scaler(scaler_state, crtc, plane_state, casf_scaler);
#  401|   
#  402|-> 	if (drm_WARN(display->drm, *scaler_id < 0,
#  403|   		     "Cannot find scaler for %s:%d\n", name, idx))
#  404|   		return -EINVAL;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:466:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:594:5: enter_function: entry to ‘intel_atomic_setup_scalers’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:597:41: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:597:41: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:620:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:620:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:629:21: branch_true: following ‘true’ branch (when ‘i != 32’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:633:23: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:644:31: call_function: calling ‘setup_plane_scaler’ from ‘intel_atomic_setup_scalers’
#  464|   
#  465|   		if (hscale < 0 || vscale < 0) {
#  466|-> 			drm_dbg_kms(display->drm,
#  467|   				    "[CRTC:%d:%s] scaler %d doesn't support required plane scaling\n",
#  468|   				    crtc->base.base.id, crtc->base.name, *scaler_id);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:503:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:594:5: enter_function: entry to ‘intel_atomic_setup_scalers’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:597:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:599:17: call_function: inlined call to ‘intel_atomic_get_new_crtc_state’ from ‘intel_atomic_setup_scalers’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:620:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:620:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:629:21: branch_true: following ‘true’ branch (when ‘i != 32’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:633:23: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:629:21: branch_true: following ‘true’ branch (when ‘i != 32’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:633:23: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:629:21: branch_true: following ‘true’ branch (when ‘i != 32’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:633:23: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:636:20: branch_true: following ‘true’ branch (when ‘i == 31’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:637:31: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:637:31: call_function: calling ‘setup_crtc_scaler’ from ‘intel_atomic_setup_scalers’
#  501|   
#  502|   		if (hscale < 0 || vscale < 0) {
#  503|-> 			drm_dbg_kms(display->drm,
#  504|   				    "Scaler %d doesn't support required pipe scaling\n",
#  505|   				    *scaler_id);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:516:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:594:5: enter_function: entry to ‘intel_atomic_setup_scalers’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:597:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:599:17: call_function: inlined call to ‘intel_atomic_get_new_crtc_state’ from ‘intel_atomic_setup_scalers’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:620:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:620:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:629:21: branch_true: following ‘true’ branch (when ‘i != 32’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:633:23: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:629:21: branch_true: following ‘true’ branch (when ‘i != 32’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:633:23: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:629:21: branch_true: following ‘true’ branch (when ‘i != 32’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:633:23: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:636:20: branch_true: following ‘true’ branch (when ‘i == 31’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:637:31: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:637:31: call_function: calling ‘setup_crtc_scaler’ from ‘intel_atomic_setup_scalers’
#  514|   	scaler_state->scalers[*scaler_id].vscale = vscale;
#  515|   
#  516|-> 	drm_dbg_kms(display->drm, "[CRTC:%d:%s] attached scaler id %u.%u to %s:%d\n",
#  517|   		    crtc->base.base.id, crtc->base.name,
#  518|   		    crtc->pipe, *scaler_id, name, idx);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:554:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:542:12: enter_function: entry to ‘setup_plane_scaler’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:546:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:548:17: call_function: inlined call to ‘intel_atomic_get_new_crtc_state’ from ‘setup_plane_scaler’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:554:13: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:554:13: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:554:13: danger: dereference of NULL ‘display’
#  552|   
#  553|   	/* plane on different crtc cannot be a scaler user of this crtc */
#  554|-> 	if (drm_WARN_ON(display->drm, plane->pipe != crtc->pipe))
#  555|   		return 0;
#  556|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:621:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:594:5: enter_function: entry to ‘intel_atomic_setup_scalers’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:597:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:599:17: call_function: inlined call to ‘intel_atomic_get_new_crtc_state’ from ‘intel_atomic_setup_scalers’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:620:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:621:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:621:17: danger: dereference of NULL ‘display’
#  619|   	/* fail if required scalers > available scalers */
#  620|   	if (num_scalers_need > crtc->num_scalers) {
#  621|-> 		drm_dbg_kms(display->drm,
#  622|   			    "[CRTC:%d:%s] too many scaling requests %d > %d\n",
#  623|   			    crtc->base.base.id, crtc->base.name,

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:642:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:594:5: enter_function: entry to ‘intel_atomic_setup_scalers’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:597:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:599:17: call_function: inlined call to ‘intel_atomic_get_new_crtc_state’ from ‘intel_atomic_setup_scalers’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:620:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:620:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:629:21: branch_true: following ‘true’ branch (when ‘i != 32’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:633:23: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:636:20: branch_false: following ‘false’ branch (when ‘i != 31’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:642:33: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:642:33: danger: dereference of NULL ‘display’
#  640|   		} else {
#  641|   			struct intel_plane *plane =
#  642|-> 				to_intel_plane(drm_plane_from_index(display->drm, i));
#  643|   
#  644|   			ret = setup_plane_scaler(state, crtc, plane);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:822:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:803:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:804:35: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:819:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:822:13: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:822:13: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:822:13: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_scaler.c:822:13: danger: dereference of NULL ‘display’
#  820|   		return;
#  821|   
#  822|-> 	if (drm_WARN_ON(display->drm,
#  823|   			crtc_state->scaler_state.scaler_id < 0))
#  824|   		return;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1301:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1549:1: enter_function: entry to ‘icl_plane_update_noarm’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1554:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1555:23: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1579:9: call_function: inlined call to ‘intel_de_write_dsb’ from ‘icl_plane_update_noarm’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1581:9: call_function: inlined call to ‘intel_de_write_dsb’ from ‘icl_plane_update_noarm’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1583:9: call_function: inlined call to ‘intel_de_write_dsb’ from ‘icl_plane_update_noarm’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1586:9: call_function: inlined call to ‘intel_de_write_dsb’ from ‘icl_plane_update_noarm’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1588:9: call_function: inlined call to ‘intel_de_write_dsb’ from ‘icl_plane_update_noarm’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1590:9: call_function: inlined call to ‘intel_de_write_dsb’ from ‘icl_plane_update_noarm’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1593:9: call_function: inlined call to ‘intel_de_write_dsb’ from ‘icl_plane_update_noarm’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1605:17: call_function: calling ‘skl_plane_aux_dist’ from ‘icl_plane_update_noarm’
# 1299|   
# 1300|   	if (intel_fb_uses_dpt(fb)) {
# 1301|-> 		drm_WARN_ON(display->drm, offset & 0x1fffff);
# 1302|   		return offset >> 9;
# 1303|   	} else {

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1304:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1549:1: enter_function: entry to ‘icl_plane_update_noarm’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1554:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1555:23: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1579:9: call_function: inlined call to ‘intel_de_write_dsb’ from ‘icl_plane_update_noarm’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1581:9: call_function: inlined call to ‘intel_de_write_dsb’ from ‘icl_plane_update_noarm’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1583:9: call_function: inlined call to ‘intel_de_write_dsb’ from ‘icl_plane_update_noarm’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1586:9: call_function: inlined call to ‘intel_de_write_dsb’ from ‘icl_plane_update_noarm’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1588:9: call_function: inlined call to ‘intel_de_write_dsb’ from ‘icl_plane_update_noarm’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1590:9: call_function: inlined call to ‘intel_de_write_dsb’ from ‘icl_plane_update_noarm’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1593:9: call_function: inlined call to ‘intel_de_write_dsb’ from ‘icl_plane_update_noarm’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1605:17: call_function: calling ‘skl_plane_aux_dist’ from ‘icl_plane_update_noarm’
# 1302|   		return offset >> 9;
# 1303|   	} else {
# 1304|-> 		drm_WARN_ON(display->drm, offset & 0xfff);
# 1305|   		return offset;
# 1306|   	}

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1761:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1751:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1752:37: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1756:12: branch_false: following ‘false’ branch (when ‘fb’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1759:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1759:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1760:38: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1759:13: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1761:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1761:17: danger: dereference of NULL ‘display’
# 1759|   	if (rotation & ~(DRM_MODE_ROTATE_0 | DRM_MODE_ROTATE_180) &&
# 1760|   	    intel_fb_is_ccs_modifier(fb->modifier)) {
# 1761|-> 		drm_dbg_kms(display->drm,
# 1762|   			    "[PLANE:%d:%s] RC support only with 0/180 degree rotation (%x)\n",
# 1763|   			    plane->base.base.id, plane->base.name, rotation);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1770:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1751:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1752:37: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1756:12: branch_false: following ‘false’ branch (when ‘fb’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1759:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1759:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1760:38: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1759:13: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1767:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1767:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1768:13: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1767:13: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1769:13: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1767:13: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1770:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1770:17: danger: dereference of NULL ‘display’
# 1768|   	    fb->modifier == DRM_FORMAT_MOD_LINEAR &&
# 1769|   	    DISPLAY_VER(display) < 35) {
# 1770|-> 		drm_dbg_kms(display->drm,
# 1771|   			    "[PLANE:%d:%s] horizontal flip is not supported with linear surface formats\n",
# 1772|   			    plane->base.base.id, plane->base.name);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1782:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1751:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1752:37: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1756:12: branch_false: following ‘false’ branch (when ‘fb’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1759:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1779:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1780:40: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1779:13: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1781:13: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1779:13: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1782:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1782:17: danger: dereference of NULL ‘display’
# 1780|   	    intel_fb_is_tile4_modifier(fb->modifier) &&
# 1781|   	    DISPLAY_VER(display) >= 20) {
# 1782|-> 		drm_dbg_kms(display->drm,
# 1783|   			    "[PLANE:%d:%s] horizontal flip is not supported with tile4 surface formats\n",
# 1784|   			    plane->base.base.id, plane->base.name);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1790:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1751:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1752:37: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1756:12: branch_false: following ‘false’ branch (when ‘fb’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1759:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1788:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1789:22: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1789:20: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1790:25: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1790:25: danger: dereference of NULL ‘display’
# 1788|   	if (drm_rotation_90_or_270(rotation)) {
# 1789|   		if (!intel_fb_supports_90_270_rotation(to_intel_framebuffer(fb))) {
# 1790|-> 			drm_dbg_kms(display->drm,
# 1791|   				    "[PLANE:%d:%s] Y/Yf tiling required for 90/270!\n",
# 1792|   				    plane->base.base.id, plane->base.name);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1815:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1751:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1752:37: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1756:12: branch_false: following ‘false’ branch (when ‘fb’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1759:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1788:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1789:22: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1789:20: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1800:25: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1815:25: danger: dereference of NULL ‘display’
# 1813|   		case DRM_FORMAT_XVYU12_16161616:
# 1814|   		case DRM_FORMAT_XVYU16161616:
# 1815|-> 			drm_dbg_kms(display->drm,
# 1816|   				    "[PLANE:%d:%s] unsupported pixel format %p4cc for 90/270!\n",
# 1817|   				    plane->base.base.id, plane->base.name, &fb->format->format);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1828:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1751:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1752:37: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1756:12: branch_false: following ‘false’ branch (when ‘fb’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1759:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1825:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1826:13: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1825:13: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1825:13: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1825:13: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1828:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1828:17: danger: dereference of NULL ‘display’
# 1826|   	    fb->modifier != DRM_FORMAT_MOD_LINEAR &&
# 1827|   	    fb->modifier != I915_FORMAT_MOD_X_TILED) {
# 1828|-> 		drm_dbg_kms(display->drm,
# 1829|   			    "[PLANE:%d:%s] Y/Yf tiling not supported in IF-ID mode\n",
# 1830|   			    plane->base.base.id, plane->base.name);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1838:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1748:12: enter_function: entry to ‘skl_plane_check_fb’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1751:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1752:37: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1756:12: branch_false: following ‘false’ branch (when ‘fb’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1759:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1835:13: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1837:34: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1837:13: call_function: inlined call to ‘intel_format_is_p01x’ from ‘skl_plane_check_fb’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1838:17: danger: dereference of NULL ‘display’
# 1836|   	    plane_state->ckey.flags & I915_SET_COLORKEY_SOURCE &&
# 1837|   	    intel_format_is_p01x(fb->format->format)) {
# 1838|-> 		drm_dbg_kms(display->drm,
# 1839|   			    "[PLANE:%d:%s] source color keying not supported with P01x formats\n",
# 1840|   			    plane->base.base.id, plane->base.name);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1867:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1850:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1851:37: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1865:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1865:13: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1867:17: danger: dereference of NULL ‘display’
# 1865|   	if (DISPLAY_VER(display) == 10 &&
# 1866|   	    (crtc_x + crtc_w < 4 || crtc_x > pipe_src_w - 4)) {
# 1867|-> 		drm_dbg_kms(display->drm,
# 1868|   			    "[PLANE:%d:%s] requested plane X %s position %d invalid (valid range %d-%d)\n",
# 1869|   			    plane->base.base.id, plane->base.name,

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1892:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1881:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1882:37: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1888:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1888:13: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1892:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:1892:17: danger: dereference of NULL ‘display’
# 1890|   	    (rotation == DRM_MODE_ROTATE_270 ||
# 1891|   	     rotation == (DRM_MODE_REFLECT_X | DRM_MODE_ROTATE_90))) {
# 1892|-> 		drm_dbg_kms(display->drm,
# 1893|   			    "[PLANE:%d:%s] src width must be multiple of 4 for rotated planar YUV\n",
# 1894|   			    plane->base.base.id, plane->base.name);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2017:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2004:5: enter_function: entry to ‘skl_calc_main_surface_offset’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2007:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2008:37: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2017:13: branch_true: following ‘true’ branch (when ‘alignment != 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2017:13: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2017:13: call_function: inlined call to ‘is_power_of_2’ from ‘skl_calc_main_surface_offset’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2017:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2017:13: danger: dereference of NULL ‘display’
# 2015|   	intel_add_fb_offsets(x, y, plane_state, 0);
# 2016|   	*offset = intel_plane_compute_aligned_offset(x, y, plane_state, 0);
# 2017|-> 	if (drm_WARN_ON(display->drm, alignment && !is_power_of_2(alignment)))
# 2018|   		return -EINVAL;
# 2019|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2041:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2007:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2008:37: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2036:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2037:27: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2039:24: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2040:29: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2041:33: danger: dereference of NULL ‘display’
# 2039|   		while ((*x + w) * cpp > plane_state->view.color_plane[0].mapping_stride) {
# 2040|   			if (*offset == 0) {
# 2041|-> 				drm_dbg_kms(display->drm,
# 2042|   					    "[PLANE:%d:%s] unable to find suitable display surface offset due to X-tiling\n",
# 2043|   					    plane->base.base.id, plane->base.name);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2076:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2058:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2059:37: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2076:17: danger: dereference of NULL ‘display’
# 2074|   
# 2075|   	if (w > max_width || w < min_width || h > max_height || h < min_height) {
# 2076|-> 		drm_dbg_kms(display->drm,
# 2077|   			    "[PLANE:%d:%s] requested Y/RGB source size %dx%d outside limits (min: %dx%d max: %dx%d)\n",
# 2078|   			    plane->base.base.id, plane->base.name,

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2104:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2058:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2059:37: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2075:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2084:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2092:38: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2092:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2104:25: danger: dereference of NULL ‘display’
# 2102|   		if (x != plane_state->view.color_plane[aux_plane].x ||
# 2103|   		    y != plane_state->view.color_plane[aux_plane].y) {
# 2104|-> 			drm_dbg_kms(display->drm,
# 2105|   				    "[PLANE:%d:%s] unable to find suitable display surface offset due to CCS\n",
# 2106|   				    plane->base.base.id, plane->base.name);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2112:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2058:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2059:37: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2075:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2084:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2092:38: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2111:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2112:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2112:17: danger: dereference of NULL ‘display’
# 2110|   
# 2111|   	if (DISPLAY_VER(display) >= 13)
# 2112|-> 		drm_WARN_ON(display->drm, x > 65535 || y > 65535);
# 2113|   	else
# 2114|   		drm_WARN_ON(display->drm, x > 8191 || y > 8191);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2114:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2058:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2059:37: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2075:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2084:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2092:38: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2111:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2114:17: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2114:17: danger: dereference of NULL ‘display’
# 2112|   		drm_WARN_ON(display->drm, x > 65535 || y > 65535);
# 2113|   	else
# 2114|-> 		drm_WARN_ON(display->drm, x > 8191 || y > 8191);
# 2115|   
# 2116|   	plane_state->view.color_plane[0].offset = offset;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2151:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2132:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2133:37: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2151:17: danger: dereference of NULL ‘display’
# 2149|   	/* FIXME not quite sure how/if these apply to the chroma plane */
# 2150|   	if (w > max_width || w < min_width || h > max_height || h < min_height) {
# 2151|-> 		drm_dbg_kms(display->drm,
# 2152|   			    "[PLANE:%d:%s] requested CbCr source size %dx%d outside limits (min: %dx%d max: %dx%d)\n",
# 2153|   			    plane->base.base.id, plane->base.name,

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2186:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2132:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2133:37: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2150:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2162:12: branch_true: following ‘true’ branch (when ‘ccs_plane != 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2163:34: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2186:25: danger: dereference of NULL ‘display’
# 2184|   		if (x != plane_state->view.color_plane[ccs_plane].x ||
# 2185|   		    y != plane_state->view.color_plane[ccs_plane].y) {
# 2186|-> 			drm_dbg_kms(display->drm,
# 2187|   				    "[PLANE:%d:%s] unable to find suitable display surface offset due to CCS\n",
# 2188|   				    plane->base.base.id, plane->base.name);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2194:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2132:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2133:37: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2150:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2193:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2194:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2194:17: danger: dereference of NULL ‘display’
# 2192|   
# 2193|   	if (DISPLAY_VER(display) >= 13)
# 2194|-> 		drm_WARN_ON(display->drm, x > 65535 || y > 65535);
# 2195|   	else
# 2196|   		drm_WARN_ON(display->drm, x > 8191 || y > 8191);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2196:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2132:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2133:37: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2150:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2193:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2196:17: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2196:17: danger: dereference of NULL ‘display’
# 2194|   		drm_WARN_ON(display->drm, x > 65535 || y > 65535);
# 2195|   	else
# 2196|-> 		drm_WARN_ON(display->drm, x > 8191 || y > 8191);
# 2197|   
# 2198|   	plane_state->view.color_plane[uv_plane].offset = offset;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2434:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2430:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2431:40: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2434:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2434:9: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2434:9: danger: dereference of NULL ‘display’
# 2432|   	struct intel_plane *y_plane = to_intel_plane(y_plane_state->uapi.plane);
# 2433|   
# 2434|-> 	drm_WARN_ON(display->drm, icl_is_nv12_y_plane(display, uv_plane->id));
# 2435|   	drm_WARN_ON(display->drm, !icl_is_nv12_y_plane(display, y_plane->id));
# 2436|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2435:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2430:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2431:40: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2434:9: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2435:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2435:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2435:9: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:2435:9: danger: dereference of NULL ‘display’
# 2433|   
# 2434|   	drm_WARN_ON(display->drm, icl_is_nv12_y_plane(display, uv_plane->id));
# 2435|-> 	drm_WARN_ON(display->drm, !icl_is_nv12_y_plane(display, y_plane->id));
# 2436|   
# 2437|   	y_plane_state->ctl |= PLANE_CTL_YUV420_Y_PLANE;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3070:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3055:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3056:47: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3067:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3070:9: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3070:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3070:9: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3070:9: danger: dereference of NULL ‘display’
# 3068|   		return;
# 3069|   
# 3070|-> 	drm_WARN_ON(display->drm, pipe != crtc->pipe);
# 3071|   
# 3072|   	if (crtc_state->joiner_pipes) {

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3073:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3055:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3056:47: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3067:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3070:9: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3070:9: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3072:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3072:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3073:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3073:17: danger: dereference of NULL ‘display’
# 3071|   
# 3072|   	if (crtc_state->joiner_pipes) {
# 3073|-> 		drm_dbg_kms(display->drm,
# 3074|   			    "[CRTC:%d:%s] Unsupported joiner configuration for initial FB\n",
# 3075|   			    crtc->base.base.id, crtc->base.name);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3081:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3055:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3056:47: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3067:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3070:9: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3070:9: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3072:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3072:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3079:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3080:12: branch_true: following ‘true’ branch (when ‘intel_fb’ is NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3081:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3081:17: danger: dereference of NULL ‘display’
# 3079|   	intel_fb = intel_framebuffer_alloc();
# 3080|   	if (!intel_fb) {
# 3081|-> 		drm_dbg_kms(display->drm, "failed to alloc fb\n");
# 3082|   		return;
# 3083|   	}

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3087:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3055:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3056:47: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3067:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3070:9: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3070:9: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3072:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3072:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3079:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3080:12: branch_false: following ‘false’ branch (when ‘intel_fb’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3085:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_universal_plane.c:3087:19: danger: dereference of NULL ‘display’
# 3085|   	fb = &intel_fb->base;
# 3086|   
# 3087|-> 	fb->dev = display->drm;
# 3088|   
# 3089|   	val = intel_de_read(display, PLANE_CTL(pipe, plane_id));

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:2136:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:2910:1: enter_function: entry to ‘skl_compute_wm’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:2912:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:2917:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:2917:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:2918:23: call_function: calling ‘skl_build_pipe_wm’ from ‘skl_compute_wm’
# 2134|   		const struct drm_framebuffer *fb = plane_state->hw.fb;
# 2135|   
# 2136|-> 		drm_WARN_ON(display->drm,
# 2137|   			    !intel_wm_plane_visible(crtc_state, plane_state));
# 2138|   		drm_WARN_ON(display->drm, !fb->format->is_yuv ||

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:2138:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:2910:1: enter_function: entry to ‘skl_compute_wm’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:2912:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:2917:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:2917:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:2918:23: call_function: calling ‘skl_build_pipe_wm’ from ‘skl_compute_wm’
# 2136|   		drm_WARN_ON(display->drm,
# 2137|   			    !intel_wm_plane_visible(crtc_state, plane_state));
# 2138|-> 		drm_WARN_ON(display->drm, !fb->format->is_yuv ||
# 2139|   			    fb->format->num_planes == 1);
# 2140|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3451:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3456:13: enter_function: entry to ‘intel_mbus_dbox_update’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3458:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3461:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3461:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3464:26: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3464:26: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3464:26: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3466:12: branch_false: following ‘false’ branch (when ‘__mptr’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3467:14: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3471:9: call_function: calling ‘pipe_mbus_dbox_ctl_update’ from ‘intel_mbus_dbox_update’
# 3449|   	struct intel_crtc *crtc;
# 3450|   
# 3451|-> 	for_each_intel_crtc_in_pipe_mask(display->drm, crtc, dbuf_state->active_pipes)
# 3452|   		intel_de_write(display, PIPE_MBUS_DBOX_CTL(crtc->pipe),
# 3453|   			       pipe_mbus_dbox_ctl(crtc, dbuf_state));

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3506:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3520:13: enter_function: entry to ‘intel_dbuf_mdclk_min_tracker_update’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3522:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3524:17: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3524:17: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3524:17: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3537:9: call_function: calling ‘intel_dbuf_mdclk_cdclk_ratio_update’ from ‘intel_dbuf_mdclk_min_tracker_update’
# 3504|   		ratio *= 2;
# 3505|   
# 3506|-> 	drm_dbg_kms(display->drm, "Updating dbuf ratio to %d (mbus joined: %s)\n",
# 3507|   		    ratio, str_yes_no(joined_mbus));
# 3508|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3549:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3544:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3545:26: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3549:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3549:9: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3549:9: danger: dereference of NULL ‘display’
# 3547|   	struct intel_crtc *crtc;
# 3548|   
# 3549|-> 	drm_WARN_ON(display->drm, !dbuf_state->joined_mbus);
# 3550|   	drm_WARN_ON(display->drm, !is_power_of_2(dbuf_state->active_pipes));
# 3551|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3550:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3544:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3545:26: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3549:9: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3550:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3550:9: danger: dereference of NULL ‘display’
# 3548|   
# 3549|   	drm_WARN_ON(display->drm, !dbuf_state->joined_mbus);
# 3550|-> 	drm_WARN_ON(display->drm, !is_power_of_2(dbuf_state->active_pipes));
# 3551|   
# 3552|   	crtc = intel_crtc_for_pipe(display, pipe);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3591:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3585:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3587:17: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3587:17: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3587:17: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3591:9: danger: dereference of NULL ‘display’
# 3589|   		intel_atomic_get_new_dbuf_state(state);
# 3590|   
# 3591|-> 	drm_dbg_kms(display->drm, "Changing mbus joined: %s -> %s (pipe: %c)\n",
# 3592|   		    str_yes_no(old_dbuf_state->joined_mbus),
# 3593|   		    str_yes_no(new_dbuf_state->joined_mbus),

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3907:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3874:6: enter_function: entry to ‘intel_wm_state_verify’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3877:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3879:17: call_function: inlined call to ‘intel_atomic_get_new_crtc_state’ from ‘intel_wm_state_verify’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3892:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3892:42: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3892:13: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3895:14: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3896:12: branch_false: following ‘false’ branch (when ‘_res’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3899:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3899:9: call_function: calling ‘skl_pipe_wm_get_hw_state’ from ‘intel_wm_state_verify’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3899:9: return_function: returning to ‘intel_wm_state_verify’ from ‘skl_pipe_wm_get_hw_state’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3903:29: call_function: calling ‘intel_enabled_dbuf_slices_mask’ from ‘intel_wm_state_verify’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3903:29: return_function: returning to ‘intel_wm_state_verify’ from ‘intel_enabled_dbuf_slices_mask’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3905:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3906:34: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3905:13: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3907:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3907:17: danger: dereference of NULL ‘display’
# 3905|   	if (DISPLAY_VER(display) >= 11 &&
# 3906|   	    hw_enabled_slices != display->dbuf.enabled_slices)
# 3907|-> 		drm_err(display->drm,
# 3908|   			"mismatch in DBUF Slices (expected 0x%x, got 0x%x)\n",
# 3909|   			display->dbuf.enabled_slices,

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3912:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3874:6: enter_function: entry to ‘intel_wm_state_verify’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3877:41: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3879:17: call_function: inlined call to ‘intel_atomic_get_new_crtc_state’ from ‘intel_wm_state_verify’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3892:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3892:42: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3892:13: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3895:14: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3896:12: branch_false: following ‘false’ branch (when ‘_res’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3899:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3899:9: call_function: calling ‘skl_pipe_wm_get_hw_state’ from ‘intel_wm_state_verify’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3899:9: return_function: returning to ‘intel_wm_state_verify’ from ‘skl_pipe_wm_get_hw_state’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3903:29: call_function: calling ‘intel_enabled_dbuf_slices_mask’ from ‘intel_wm_state_verify’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3903:29: return_function: returning to ‘intel_wm_state_verify’ from ‘intel_enabled_dbuf_slices_mask’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/skl_watermark.c:3912:9: danger: dereference of NULL ‘display’
# 3910|   			hw_enabled_slices);
# 3911|   
# 3912|-> 	for_each_intel_plane_on_crtc(display->drm, crtc, plane) {
# 3913|   		const struct skl_ddb_entry *hw_ddb_entry, *sw_ddb_entry;
# 3914|   		const struct skl_wm_level *hw_wm_level, *sw_wm_level;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/vlv_sideband.c:36:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘display’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/vlv_sideband.c:24:5: enter_function: entry to ‘vlv_dpio_read’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/vlv_sideband.c:26:41: branch_false: following ‘false’ branch (when ‘drm’ is NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/vlv_sideband.c:27:38: call_function: inlined call to ‘vlv_dpio_phy_to_unit’ from ‘vlv_dpio_read’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/vlv_sideband.c:36:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/vlv_sideband.c:36:9: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/display/vlv_sideband.c:36:9: danger: dereference of NULL ‘display’
#   34|   	 * so ideally we should check the register offset instead...
#   35|   	 */
#   36|-> 	drm_WARN(display->drm, val == 0xffffffff,
#   37|   		 "DPIO PHY%d read reg 0x%x == 0x%x\n",
#   38|   		 phy, reg, val);

Error: GCC_ANALYZER_WARNING (CWE-127):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/i915_gem_evict.c:43:28: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/i915_gem_evict.c:328:5: enter_function: entry to ‘i915_gem_evict_for_node’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/i915_gem_evict.c:428:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/i915_gem_evict.c:429:17: call_function: inlined call to ‘__i915_vma_unpin’ from ‘i915_gem_evict_for_node’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/i915_gem_evict.c:430:20: branch_true: following ‘true’ branch (when ‘ret == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/i915_gem_evict.c:431:31: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/i915_gem_evict.c:433:17: call_function: calling ‘ungrab_vma’ from ‘i915_gem_evict_for_node’
#   41|   static bool dying_vma(struct i915_vma *vma)
#   42|   {
#   43|-> 	return !kref_read(&vma->obj->base.refcount);
#   44|   }
#   45|   

Error: GCC_ANALYZER_WARNING (CWE-127):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/i915_gem_evict.c:91:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/i915_gem_evict.c:328:5: enter_function: entry to ‘i915_gem_evict_for_node’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/i915_gem_evict.c:428:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/i915_gem_evict.c:429:17: call_function: inlined call to ‘__i915_vma_unpin’ from ‘i915_gem_evict_for_node’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/i915_gem_evict.c:430:20: branch_true: following ‘true’ branch (when ‘ret == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/i915_gem_evict.c:431:31: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/i915_gem_evict.c:433:17: call_function: calling ‘ungrab_vma’ from ‘i915_gem_evict_for_node’
#   89|   		return;
#   90|   
#   91|-> 	i915_gem_object_unlock(vma->obj);
#   92|   	i915_gem_object_put(vma->obj);
#   93|   }

Error: GCC_ANALYZER_WARNING (CWE-127):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/i915_gem_evict.c:92:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/i915_gem_evict.c:328:5: enter_function: entry to ‘i915_gem_evict_for_node’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/i915_gem_evict.c:428:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/i915_gem_evict.c:429:17: call_function: inlined call to ‘__i915_vma_unpin’ from ‘i915_gem_evict_for_node’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/i915_gem_evict.c:430:20: branch_true: following ‘true’ branch (when ‘ret == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/i915_gem_evict.c:431:31: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/i915/i915_gem_evict.c:433:17: call_function: calling ‘ungrab_vma’ from ‘i915_gem_evict_for_node’
#   90|   
#   91|   	i915_gem_object_unlock(vma->obj);
#   92|-> 	i915_gem_object_put(vma->obj);
#   93|   }
#   94|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/vkms/vkms_writeback.c:44:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/vkms/vkms_writeback.c:34:12: enter_function: entry to ‘vkms_wb_atomic_check’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/vkms/vkms_writeback.c:38:17: call_function: inlined call to ‘drm_atomic_get_new_connector_state’ from ‘vkms_wb_atomic_check’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/vkms/vkms_writeback.c:44:14: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/vkms/vkms_writeback.c:44:14: danger: dereference of NULL ‘<unknown>’
#   42|   	int ret;
#   43|   
#   44|-> 	if (!conn_state->writeback_job || !conn_state->writeback_job->fb)
#   45|   		return 0;
#   46|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/vkms/vkms_writeback.c:130:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/vkms/vkms_writeback.c:125:13: enter_function: entry to ‘vkms_wb_atomic_commit’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/vkms/vkms_writeback.c:128:55: call_function: inlined call to ‘drm_atomic_get_new_connector_state’ from ‘vkms_wb_atomic_commit’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/vkms/vkms_writeback.c:130:38: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/vkms/vkms_writeback.c:130:38: danger: dereference of NULL ‘<unknown>’
#  128|   	struct drm_connector_state *connector_state = drm_atomic_get_new_connector_state(state,
#  129|   											 conn);
#  130|-> 	struct vkms_output *output = drm_crtc_to_vkms_output(connector_state->crtc);
#  131|   	struct drm_writeback_connector *wb_conn = &output->wb_connector;
#  132|   	struct drm_connector_state *conn_state = wb_conn->base.state;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c:393:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sg’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c:358:5: enter_function: entry to ‘xe_ttm_vram_mgr_alloc_sgt’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c:372:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c:375:16: call_function: inlined call to ‘kmalloc_noprof’ from ‘xe_ttm_vram_mgr_alloc_sgt’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c:376:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c:380:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c:380:9: call_function: calling ‘xe_res_first’ from ‘xe_ttm_vram_mgr_alloc_sgt’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c:380:9: return_function: returning to ‘xe_ttm_vram_mgr_alloc_sgt’ from ‘xe_res_first’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c:388:12: branch_false: following ‘false’ branch (when ‘r == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c:392:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c:392:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c:393:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c:392:9: call_function: inlined call to ‘sg_next’ from ‘xe_ttm_vram_mgr_alloc_sgt’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c:392:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c:393:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c:393:17: danger: dereference of NULL ‘sg’
#  391|   	/* Initialize scatterlist nodes of sg_table */
#  392|   	for_each_sgtable_sg((*sgt), sg, i)
#  393|-> 		sg->length = 0;
#  394|   
#  395|   	/*

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c:446:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sg’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c:438:6: enter_function: entry to ‘xe_ttm_vram_mgr_free_sgt’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c:444:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c:446:36: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c:444:9: call_function: inlined call to ‘sg_next’ from ‘xe_ttm_vram_mgr_free_sgt’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c:444:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c:446:36: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c:446:36: danger: dereference of NULL ‘sg’
#  444|   	for_each_sgtable_sg(sgt, sg, i)
#  445|   		dma_unmap_resource(dev, sg->dma_address,
#  446|-> 				   sg->length, dir,
#  447|   				   DMA_ATTR_SKIP_CPU_SYNC);
#  448|   	sg_free_table(sgt);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:212:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:893:5: enter_function: entry to ‘xe_uc_fw_upload’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:895:32: call_function: calling ‘uc_fw_to_xe’ from ‘xe_uc_fw_upload’
#  210|   static struct xe_device *uc_fw_to_xe(struct xe_uc_fw *uc_fw)
#  211|   {
#  212|-> 	return gt_to_xe(uc_fw_to_gt(uc_fw));
#  213|   }
#  214|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:497:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:565:12: enter_function: entry to ‘parse_gsc_layout’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:574:12: branch_false: following ‘false’ branch (when ‘size > 79’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:579:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:580:12: branch_false: following ‘false’ branch (when ‘size >= min_size’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:587:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:587:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:593:30: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:594:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:600:43: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:601:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:607:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:608:21: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:609:22: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:616:20: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:622:24: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:622:24: call_function: calling ‘parse_cpd_header’ from ‘parse_gsc_layout’
#  495|   
#  496|   	if (header->header_length < sizeof(struct gsc_cpd_header_v2)) {
#  497|-> 		xe_gt_err(gt, "invalid CPD header length %u!\n", header->header_length);
#  498|   		return -EINVAL;
#  499|   	}

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:503:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:565:12: enter_function: entry to ‘parse_gsc_layout’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:574:12: branch_false: following ‘false’ branch (when ‘size > 79’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:579:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:580:12: branch_false: following ‘false’ branch (when ‘size >= min_size’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:587:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:587:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:593:30: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:594:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:600:43: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:601:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:607:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:608:21: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:609:22: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:616:20: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:622:24: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:622:24: call_function: calling ‘parse_cpd_header’ from ‘parse_gsc_layout’
#  501|   	min_size = header->header_length + sizeof(struct gsc_cpd_entry) * header->num_of_entries;
#  502|   	if (size < min_size) {
#  503|-> 		xe_gt_err(gt, "FW too small! %zu < %zu\n", size, min_size);
#  504|   		return -ENODATA;
#  505|   	}

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:575:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:565:12: enter_function: entry to ‘parse_gsc_layout’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:567:28: call_function: inlined call to ‘uc_fw_to_gt’ from ‘parse_gsc_layout’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:567:28: call_function: inlined call to ‘uc_fw_to_gt’ from ‘parse_gsc_layout’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:574:12: branch_true: following ‘true’ branch (when ‘size <= 79’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:575:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:575:17: danger: dereference of NULL ‘__uc_fw_to_gt(uc_fw, *uc_fw.type)’
#  573|   
#  574|   	if (size < min_size) {
#  575|-> 		xe_gt_err(gt, "GSC FW too small! %zu < %zu\n", size, min_size);
#  576|   		return -ENODATA;
#  577|   	}

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:581:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:565:12: enter_function: entry to ‘parse_gsc_layout’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:567:28: call_function: inlined call to ‘uc_fw_to_gt’ from ‘parse_gsc_layout’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:567:28: call_function: inlined call to ‘uc_fw_to_gt’ from ‘parse_gsc_layout’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:574:12: branch_false: following ‘false’ branch (when ‘size > 79’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:579:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:580:12: branch_true: following ‘true’ branch (when ‘size < min_size’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:581:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:581:17: danger: dereference of NULL ‘__uc_fw_to_gt(uc_fw, *uc_fw.type)’
#  579|   	min_size = layout->boot1.offset + layout->boot1.size;
#  580|   	if (size < min_size) {
#  581|-> 		xe_gt_err(gt, "GSC FW too small for boot section! %zu < %zu\n",
#  582|   			  size, min_size);
#  583|   		return -ENODATA;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:588:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:565:12: enter_function: entry to ‘parse_gsc_layout’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:567:28: call_function: inlined call to ‘uc_fw_to_gt’ from ‘parse_gsc_layout’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:567:28: call_function: inlined call to ‘uc_fw_to_gt’ from ‘parse_gsc_layout’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:574:12: branch_false: following ‘false’ branch (when ‘size > 79’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:579:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:580:12: branch_false: following ‘false’ branch (when ‘size >= min_size’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:587:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:587:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:588:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:588:17: danger: dereference of NULL ‘__uc_fw_to_gt(uc_fw, *uc_fw.type)’
#  586|   	min_size = sizeof(*bpdt_header);
#  587|   	if (layout->boot1.size < min_size) {
#  588|-> 		xe_gt_err(gt, "GSC FW boot section too small for BPDT header: %u < %zu\n",
#  589|   			  layout->boot1.size, min_size);
#  590|   		return -ENODATA;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:595:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:565:12: enter_function: entry to ‘parse_gsc_layout’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:567:28: call_function: inlined call to ‘uc_fw_to_gt’ from ‘parse_gsc_layout’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:567:28: call_function: inlined call to ‘uc_fw_to_gt’ from ‘parse_gsc_layout’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:574:12: branch_false: following ‘false’ branch (when ‘size > 79’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:579:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:580:12: branch_false: following ‘false’ branch (when ‘size >= min_size’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:587:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:587:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:593:30: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:594:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:595:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:595:17: danger: dereference of NULL ‘__uc_fw_to_gt(uc_fw, *uc_fw.type)’
#  593|   	bpdt_header = data + layout->boot1.offset;
#  594|   	if (bpdt_header->signature != GSC_BPDT_HEADER_SIGNATURE) {
#  595|-> 		xe_gt_err(gt, "invalid signature for BPDT header: 0x%08x!\n",
#  596|   			  bpdt_header->signature);
#  597|   		return -EINVAL;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:602:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:565:12: enter_function: entry to ‘parse_gsc_layout’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:567:28: call_function: inlined call to ‘uc_fw_to_gt’ from ‘parse_gsc_layout’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:567:28: call_function: inlined call to ‘uc_fw_to_gt’ from ‘parse_gsc_layout’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:574:12: branch_false: following ‘false’ branch (when ‘size > 79’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:579:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:580:12: branch_false: following ‘false’ branch (when ‘size >= min_size’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:587:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:587:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:593:30: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:594:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:600:43: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:601:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:602:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:602:17: danger: dereference of NULL ‘__uc_fw_to_gt(uc_fw, *uc_fw.type)’
#  600|   	min_size += sizeof(*bpdt_entry) * bpdt_header->descriptor_count;
#  601|   	if (layout->boot1.size < min_size) {
#  602|-> 		xe_gt_err(gt, "GSC FW boot section too small for BPDT entries: %u < %zu\n",
#  603|   			  layout->boot1.size, min_size);
#  604|   		return -ENODATA;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:617:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:565:12: enter_function: entry to ‘parse_gsc_layout’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:567:28: call_function: inlined call to ‘uc_fw_to_gt’ from ‘parse_gsc_layout’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:567:28: call_function: inlined call to ‘uc_fw_to_gt’ from ‘parse_gsc_layout’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:574:12: branch_false: following ‘false’ branch (when ‘size > 79’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:579:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:580:12: branch_false: following ‘false’ branch (when ‘size >= min_size’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:587:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:587:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:593:30: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:594:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:600:43: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:601:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:607:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:608:21: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:609:22: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:609:20: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:613:28: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:616:20: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:617:25: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_uc_fw.c:617:25: danger: dereference of NULL ‘__uc_fw_to_gt(uc_fw, *uc_fw.type)’
#  615|   		/* the CPD header parser will check that the CPD header fits */
#  616|   		if (layout->boot1.size < min_size) {
#  617|-> 			xe_gt_err(gt, "GSC FW boot section too small for CPD offset: %u < %zu\n",
#  618|   				  layout->boot1.size, min_size);
#  619|   			return -ENODATA;

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/hv/mshv_root_main.c:1304:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘region’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/hv/mshv_root_main.c:1277:1: enter_function: entry to ‘mshv_map_user_memory’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/hv/mshv_root_main.c:1286:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/hv/mshv_root_main.c:1287:14: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/hv/mshv_root_main.c:1286:13: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/hv/mshv_root_main.c:1290:24: call_function: inlined call to ‘get_current’ from ‘mshv_map_user_memory’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/hv/mshv_root_main.c:1296:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/hv/mshv_root_main.c:1299:15: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/hv/mshv_root_main.c:1299:15: call_function: calling ‘mshv_partition_create_region’ from ‘mshv_map_user_memory’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/hv/mshv_root_main.c:1299:15: return_function: returning to ‘mshv_map_user_memory’ from ‘mshv_partition_create_region’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/hv/mshv_root_main.c:1301:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/hv/mshv_root_main.c:1304:23: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/hv/mshv_root_main.c:1304:23: danger: use of uninitialized value ‘region’ here
# 1302|   		return ret;
# 1303|   
# 1304|-> 	switch (region->type) {
# 1305|   	case MSHV_REGION_TYPE_MEM_PINNED:
# 1306|   		ret = mshv_prepare_pinned_region(region);

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/iio/imu/smi330/smi330_core.c:413:19: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘reg_val’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/iio/imu/smi330/smi330_core.c:564:12: enter_function: entry to ‘smi330_write_raw’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/iio/imu/smi330/smi330_core.c:587:24: call_function: calling ‘smi330_set_sensor_config’ from ‘smi330_write_raw’
#  411|   		return ret;
#  412|   
#  413|-> 	reg_val = smi330_field_prep(attr->mask, reg_val);
#  414|   	ret = regmap_update_bits(data->regmap, reg, attr->mask, reg_val);
#  415|   	if (ret)

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/input/touchscreen/ili210x.c:621:19: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘fw_addr’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/input/touchscreen/ili210x.c:599:12: branch_false: following ‘false’ branch (when ‘_res’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/input/touchscreen/ili210x.c:602:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/input/touchscreen/ili210x.c:603:16: branch_false: following ‘false’ branch (when ‘rec’ is NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/input/touchscreen/ili210x.c:621:19: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/input/touchscreen/ili210x.c:621:19: danger: use of uninitialized value ‘fw_addr’ here
#  619|   
#  620|   	/* DF end address is the last address in the firmware blob */
#  621|-> 	*df_end = fw_addr + fw_len;
#  622|   
#  623|   	return_ptr(fw_buf);

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/input/touchscreen/ili210x.c:868:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ac_end’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/input/touchscreen/ili210x.c:832:16: enter_function: entry to ‘ili210x_firmware_update_store’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/input/touchscreen/ili210x.c:843:17: call_function: calling ‘request_ihex_firmware’ from ‘ili210x_firmware_update_store’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/input/touchscreen/ili210x.c:843:17: return_function: returning to ‘ili210x_firmware_update_store’ from ‘request_ihex_firmware’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/input/touchscreen/ili210x.c:844:12: branch_false: following ‘false’ branch (when ‘error == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/input/touchscreen/ili210x.c:851:25: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/input/touchscreen/ili210x.c:851:25: call_function: calling ‘ili251x_firmware_to_buffer’ from ‘ili210x_firmware_update_store’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/input/touchscreen/ili210x.c:851:25: return_function: returning to ‘ili210x_firmware_update_store’ from ‘ili251x_firmware_to_buffer’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/input/touchscreen/ili210x.c:852:17: call_function: inlined call to ‘PTR_ERR_OR_ZERO’ from ‘ili210x_firmware_update_store’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/input/touchscreen/ili210x.c:863:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/input/touchscreen/ili210x.c:868:25: danger: use of uninitialized value ‘ac_end’ here
#  866|   		ili210x_hardware_reset(priv->reset_gpio);
#  867|   
#  868|-> 		error = ili210x_do_firmware_update(priv, fwbuf, ac_end, df_end);
#  869|   
#  870|   		ili210x_hardware_reset(priv->reset_gpio);

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/md/bcache/journal.c:863:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*keys.<U1a00>.keys’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/md/bcache/journal.c:885:6: enter_function: entry to ‘bch_journal_meta’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/md/bcache/journal.c:892:15: call_function: calling ‘bch_journal’ from ‘bch_journal_meta’
#  861|   	w = journal_wait_for_write(c, bch_keylist_nkeys(keys));
#  862|   
#  863|-> 	memcpy(bset_bkey_last(w->data), keys->keys, bch_keylist_bytes(keys));
#  864|   	w->data->keys += bch_keylist_nkeys(keys);
#  865|   

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/media/i2c/ov5647.c:833:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘rdval’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/media/i2c/ov5647.c:815:12: enter_function: entry to ‘ov5647_power_off’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/media/i2c/ov5647.c:823:15: call_function: calling ‘ov5647_write_array’ from ‘ov5647_power_off’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/media/i2c/ov5647.c:823:15: return_function: returning to ‘ov5647_power_off’ from ‘ov5647_write_array’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/media/i2c/ov5647.c:829:15: call_function: calling ‘ov5647_read’ from ‘ov5647_power_off’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/media/i2c/ov5647.c:829:15: return_function: returning to ‘ov5647_power_off’ from ‘ov5647_read’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/media/i2c/ov5647.c:833:15: danger: use of uninitialized value ‘rdval’ here
#  831|   		dev_dbg(dev, "software standby failed\n");
#  832|   
#  833|-> 	rdval &= ~0x01;
#  834|   	ret = ov5647_write(&sensor->sd, OV5647_SW_STANDBY, rdval);
#  835|   	if (ret < 0)

Error: GCC_ANALYZER_WARNING:
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/media/usb/dvb-usb/dvb-usb-init.c:36:17: warning[-Wanalyzer-overlapping-buffers]: overlapping buffers passed as arguments to ‘__builtin_memcpy’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/media/usb/dvb-usb/dvb-usb-init.c:267:5: enter_function: entry to ‘dvb_usb_device_init’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/media/usb/dvb-usb/dvb-usb-init.c:282:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/media/usb/dvb-usb/dvb-usb-init.c:287:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/media/usb/dvb-usb/dvb-usb-init.c:287:9: call_function: inlined call to ‘fortify_memcpy_chk’ from ‘dvb_usb_device_init’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/media/usb/dvb-usb/dvb-usb-init.c:289:16: call_function: calling ‘dvb_usb_find_device’ from ‘dvb_usb_device_init’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/media/usb/dvb-usb/dvb-usb-init.c:289:16: return_function: returning to ‘dvb_usb_device_init’ from ‘dvb_usb_find_device’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/media/usb/dvb-usb/dvb-usb-init.c:290:12: branch_false: following ‘false’ branch (when ‘desc’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/media/usb/dvb-usb/dvb-usb-init.c:296:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/media/usb/dvb-usb/dvb-usb-init.c:310:15: call_function: calling ‘dvb_usb_init’ from ‘dvb_usb_device_init’
#the behavior of ‘__builtin_memcpy’ is undefined for overlapping buffers
#   34|   		adap->id  = n;
#   35|   
#   36|-> 		memcpy(&adap->props, &d->props.adapter[n], sizeof(struct dvb_usb_adapter_properties));
#   37|   
#   38|   		for (o = 0; o < adap->props.num_frontends; o++) {

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/misc/mei/interrupt.c:111:58: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘meta’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/misc/mei/interrupt.c:358:5: enter_function: entry to ‘mei_irq_read_handler’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/misc/mei/interrupt.c:387:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/misc/mei/interrupt.c:398:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/misc/mei/interrupt.c:398:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/misc/mei/interrupt.c:430:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/misc/mei/interrupt.c:454:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/misc/mei/interrupt.c:455:21: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/misc/mei/interrupt.c:457:31: call_function: calling ‘mei_cl_irq_read_msg’ from ‘mei_irq_read_handler’
#  109|   	ext_len = 0;
#  110|   	if (mei_hdr->extended) {
#  111|-> 		ext_len = sizeof(*meta) + mei_slots2data(meta->size);
#  112|   		length -= ext_len;
#  113|   	}

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/net/ethernet/netronome/nfp/flower/action.c:524:24: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘((const struct <anonymous> *)set_tport)[2].x’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/net/ethernet/netronome/nfp/flower/action.c:1272:5: enter_function: entry to ‘nfp_flower_compile_action’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/net/ethernet/netronome/nfp/flower/action.c:1285:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/net/ethernet/netronome/nfp/flower/action.c:1289:9: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/net/ethernet/netronome/nfp/flower/action.c:1289:9: call_function: inlined call to ‘fortify_memset_chk’ from ‘nfp_flower_compile_action’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/net/ethernet/netronome/nfp/flower/action.c:1289:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/net/ethernet/netronome/nfp/flower/action.c:1297:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/net/ethernet/netronome/nfp/flower/action.c:1298:21: call_function: inlined call to ‘nfp_fl_check_mangle_start’ from ‘nfp_flower_compile_action’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/net/ethernet/netronome/nfp/flower/action.c:1300:23: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/net/ethernet/netronome/nfp/flower/action.c:1300:23: call_function: calling ‘nfp_flower_loop_action’ from ‘nfp_flower_compile_action’
#  522|   static void nfp_fl_set_helper32(u32 value, u32 mask, u8 *p_exact, u8 *p_mask)
#  523|   {
#  524|-> 	u32 oldvalue = get_unaligned((u32 *)p_exact);
#  525|   	u32 oldmask = get_unaligned((u32 *)p_mask);
#  526|   

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/net/ethernet/netronome/nfp/flower/action.c:524:24: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(const struct <anonymous> *)&set_eth_14(D)->eth_addr_val[off_8(D)].x’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/net/ethernet/netronome/nfp/flower/action.c:1272:5: enter_function: entry to ‘nfp_flower_compile_action’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/net/ethernet/netronome/nfp/flower/action.c:1285:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/net/ethernet/netronome/nfp/flower/action.c:1289:9: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/net/ethernet/netronome/nfp/flower/action.c:1289:9: call_function: inlined call to ‘fortify_memset_chk’ from ‘nfp_flower_compile_action’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/net/ethernet/netronome/nfp/flower/action.c:1289:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/net/ethernet/netronome/nfp/flower/action.c:1297:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/net/ethernet/netronome/nfp/flower/action.c:1298:21: call_function: inlined call to ‘nfp_fl_check_mangle_start’ from ‘nfp_flower_compile_action’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/net/ethernet/netronome/nfp/flower/action.c:1300:23: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/net/ethernet/netronome/nfp/flower/action.c:1300:23: call_function: calling ‘nfp_flower_loop_action’ from ‘nfp_flower_compile_action’
#  522|   static void nfp_fl_set_helper32(u32 value, u32 mask, u8 *p_exact, u8 *p_mask)
#  523|   {
#  524|-> 	u32 oldvalue = get_unaligned((u32 *)p_exact);
#  525|   	u32 oldmask = get_unaligned((u32 *)p_mask);
#  526|   

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/net/wireless/intel/iwlwifi/dvm/lib.c:917:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘seq.<U1140>.tkip.iv32’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/net/wireless/intel/iwlwifi/dvm/lib.c:905:20: branch_true: following ‘true’ branch (when ‘sta’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/net/wireless/intel/iwlwifi/dvm/lib.c:908:35: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/net/wireless/intel/iwlwifi/dvm/lib.c:917:25: danger: use of uninitialized value ‘seq.<U1140>.tkip.iv32’ here
#  915|   			tkip_tx_sc->iv32 = cpu_to_le32(TKIP_PN_TO_IV32(pn64));
#  916|   
#  917|-> 			ieee80211_get_tkip_p1k_iv(key, seq.tkip.iv32, p1k);
#  918|   			iwlagn_convert_p1k(p1k, data->tkip->tx.p1k);
#  919|   

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/net/wireless/intel/iwlwifi/dvm/lib.c:917:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘seq.<Uc280>.tkip.iv32’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/net/wireless/intel/iwlwifi/dvm/lib.c:905:20: branch_true: following ‘true’ branch (when ‘sta’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/net/wireless/intel/iwlwifi/dvm/lib.c:908:35: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/net/wireless/intel/iwlwifi/dvm/lib.c:917:25: danger: use of uninitialized value ‘seq.<Uc280>.tkip.iv32’ here
#  915|   			tkip_tx_sc->iv32 = cpu_to_le32(TKIP_PN_TO_IV32(pn64));
#  916|   
#  917|-> 			ieee80211_get_tkip_p1k_iv(key, seq.tkip.iv32, p1k);
#  918|   			iwlagn_convert_p1k(p1k, data->tkip->tx.p1k);
#  919|   

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/platform/x86/hp/hp-wmi.c:467:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘buffer’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/platform/x86/hp/hp-wmi.c:2104:12: enter_function: entry to ‘hp_wmi_resume_handler’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/platform/x86/hp/hp-wmi.c:2122:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/platform/x86/hp/hp-wmi.c:2123:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/platform/x86/hp/hp-wmi.c:2123:17: call_function: calling ‘hp_wmi_rfkill2_refresh’ from ‘hp_wmi_resume_handler’
#  465|   	args->commandtype = query;
#  466|   	args->datasize = insize;
#  467|-> 	memcpy(args->data, buffer, flex_array_size(args, data, insize));
#  468|   
#  469|   	ret = wmi_evaluate_method(HPWMI_BIOS_GUID, 0, mid, &input, &output);

Error: COMPILER_WARNING (CWE-563):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/scsi/sd.c:124:20: warning[-Wunused-variable]: ‘sd_probe_types’ defined but not used
#  124 | static const char *sd_probe_types[] = { "async", "sync" };
#      |                    ^~~~~~~~~~~~~~
#  122|   };
#  123|   
#  124|-> static const char *sd_probe_types[] = { "async", "sync" };
#  125|   
#  126|   static char sd_probe_type[6] = "async";

Error: GCC_ANALYZER_WARNING (CWE-465):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/bio.c:839:29: warning[-Wanalyzer-deref-before-check]: check of ‘inode’ for NULL after already dereferencing it
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/bio.c:899:6: enter_function: entry to ‘btrfs_submit_bbio’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/bio.c:906:17: call_function: calling ‘btrfs_submit_chunk’ from ‘btrfs_submit_bbio’
#  837|   				goto fail;
#  838|   		} else if (bbio->can_use_append ||
#  839|-> 			   (btrfs_is_zoned(fs_info) && inode &&
#  840|   			    inode->flags & BTRFS_INODE_NODATASUM)) {
#  841|   			ret = btrfs_alloc_dummy_sum(bbio);

Error: GCC_ANALYZER_WARNING (CWE-127):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3142:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3391:5: enter_function: entry to ‘btrfs_start_dirty_block_groups’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3404:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3408:9: call_function: inlined call to ‘list_splice_init’ from ‘btrfs_start_dirty_block_groups’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3409:9: call_function: inlined call to ‘spin_unlock’ from ‘btrfs_start_dirty_block_groups’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3413:9: call_function: calling ‘btrfs_create_pending_block_groups’ from ‘btrfs_start_dirty_block_groups’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3413:9: return_function: returning to ‘btrfs_start_dirty_block_groups’ from ‘btrfs_create_pending_block_groups’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3415:12: branch_true: following ‘true’ branch (when ‘path’ is NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3416:24: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3417:20: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3428:21: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3429:16: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3432:25: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3483:31: call_function: calling ‘update_block_group_item’ from ‘btrfs_start_dirty_block_groups’
# 3140|   	 */
# 3141|   	spin_lock(&cache->lock);
# 3142|-> 	old_commit_used = cache->commit_used;
# 3143|   	used = cache->used;
# 3144|   	/* No change in used bytes, can safely skip it. */

Error: GCC_ANALYZER_WARNING (CWE-124):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3149:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer underwrite
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3391:5: enter_function: entry to ‘btrfs_start_dirty_block_groups’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3404:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3408:9: call_function: inlined call to ‘list_splice_init’ from ‘btrfs_start_dirty_block_groups’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3409:9: call_function: inlined call to ‘spin_unlock’ from ‘btrfs_start_dirty_block_groups’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3413:9: call_function: calling ‘btrfs_create_pending_block_groups’ from ‘btrfs_start_dirty_block_groups’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3413:9: return_function: returning to ‘btrfs_start_dirty_block_groups’ from ‘btrfs_create_pending_block_groups’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3415:12: branch_true: following ‘true’ branch (when ‘path’ is NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3416:24: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3417:20: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3428:21: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3429:16: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3432:25: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3483:31: call_function: calling ‘update_block_group_item’ from ‘btrfs_start_dirty_block_groups’
# 3147|   		return 0;
# 3148|   	}
# 3149|-> 	cache->commit_used = used;
# 3150|   	spin_unlock(&cache->lock);
# 3151|   

Error: GCC_ANALYZER_WARNING (CWE-127):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3166:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3391:5: enter_function: entry to ‘btrfs_start_dirty_block_groups’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3404:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3408:9: call_function: inlined call to ‘list_splice_init’ from ‘btrfs_start_dirty_block_groups’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3409:9: call_function: inlined call to ‘spin_unlock’ from ‘btrfs_start_dirty_block_groups’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3413:9: call_function: calling ‘btrfs_create_pending_block_groups’ from ‘btrfs_start_dirty_block_groups’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3413:9: return_function: returning to ‘btrfs_start_dirty_block_groups’ from ‘btrfs_create_pending_block_groups’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3415:12: branch_true: following ‘true’ branch (when ‘path’ is NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3416:24: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3417:20: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3428:21: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3429:16: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3432:25: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3483:31: call_function: calling ‘update_block_group_item’ from ‘btrfs_start_dirty_block_groups’
# 3164|   	bi = btrfs_item_ptr_offset(leaf, path->slots[0]);
# 3165|   	btrfs_set_stack_block_group_used(&bgi, used);
# 3166|-> 	btrfs_set_stack_block_group_chunk_objectid(&bgi,
# 3167|   						   cache->global_root_id);
# 3168|   	btrfs_set_stack_block_group_flags(&bgi, cache->flags);

Error: GCC_ANALYZER_WARNING (CWE-127):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3168:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3391:5: enter_function: entry to ‘btrfs_start_dirty_block_groups’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3404:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3408:9: call_function: inlined call to ‘list_splice_init’ from ‘btrfs_start_dirty_block_groups’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3409:9: call_function: inlined call to ‘spin_unlock’ from ‘btrfs_start_dirty_block_groups’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3413:9: call_function: calling ‘btrfs_create_pending_block_groups’ from ‘btrfs_start_dirty_block_groups’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3413:9: return_function: returning to ‘btrfs_start_dirty_block_groups’ from ‘btrfs_create_pending_block_groups’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3415:12: branch_true: following ‘true’ branch (when ‘path’ is NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3416:24: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3417:20: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3428:21: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3429:16: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3432:25: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3483:31: call_function: calling ‘update_block_group_item’ from ‘btrfs_start_dirty_block_groups’
# 3166|   	btrfs_set_stack_block_group_chunk_objectid(&bgi,
# 3167|   						   cache->global_root_id);
# 3168|-> 	btrfs_set_stack_block_group_flags(&bgi, cache->flags);
# 3169|   	write_extent_buffer(leaf, &bgi, bi, sizeof(bgi));
# 3170|   fail:

Error: GCC_ANALYZER_WARNING (CWE-124):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3183:17: warning[-Wanalyzer-out-of-bounds]: stack-based buffer underwrite
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3391:5: enter_function: entry to ‘btrfs_start_dirty_block_groups’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3404:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3408:9: call_function: inlined call to ‘list_splice_init’ from ‘btrfs_start_dirty_block_groups’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3409:9: call_function: inlined call to ‘spin_unlock’ from ‘btrfs_start_dirty_block_groups’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3413:9: call_function: calling ‘btrfs_create_pending_block_groups’ from ‘btrfs_start_dirty_block_groups’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3413:9: return_function: returning to ‘btrfs_start_dirty_block_groups’ from ‘btrfs_create_pending_block_groups’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3415:12: branch_true: following ‘true’ branch (when ‘path’ is NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3416:24: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3417:20: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3428:21: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3429:16: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3432:25: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/btrfs/block-group.c:3483:31: call_function: calling ‘update_block_group_item’ from ‘btrfs_start_dirty_block_groups’
# 3181|   	if (ret < 0 && ret != -ENOENT) {
# 3182|   		spin_lock(&cache->lock);
# 3183|-> 		cache->commit_used = old_commit_used;
# 3184|   		spin_unlock(&cache->lock);
# 3185|   	}

Error: GCC_ANALYZER_WARNING (CWE-126):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:316:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3154:5: enter_function: entry to ‘f2fs_flush_nat_entries’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3176:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3179:9: call_function: inlined call to ‘f2fs_down_write’ from ‘f2fs_flush_nat_entries’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3186:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3188:25: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3186:13: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3186:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3202:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3203:23: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3203:23: call_function: calling ‘__flush_nat_entry_set’ from ‘f2fs_flush_nat_entries’
#  314|   
#  315|   	set_nat_flag(ne, IS_DIRTY, false);
#  316|-> 	set->entry_cnt--;
#  317|   	nm_i->nat_cnt[DIRTY_NAT]--;
#  318|   	nm_i->nat_cnt[RECLAIMABLE_NAT]++;

Error: GCC_ANALYZER_WARNING (CWE-121):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:316:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3154:5: enter_function: entry to ‘f2fs_flush_nat_entries’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3176:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3179:9: call_function: inlined call to ‘f2fs_down_write’ from ‘f2fs_flush_nat_entries’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3186:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3188:25: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3186:13: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3186:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3202:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3203:23: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3203:23: call_function: calling ‘__flush_nat_entry_set’ from ‘f2fs_flush_nat_entries’
#  314|   
#  315|   	set_nat_flag(ne, IS_DIRTY, false);
#  316|-> 	set->entry_cnt--;
#  317|   	nm_i->nat_cnt[DIRTY_NAT]--;
#  318|   	nm_i->nat_cnt[RECLAIMABLE_NAT]++;

Error: GCC_ANALYZER_WARNING (CWE-126):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3081:27: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3154:5: enter_function: entry to ‘f2fs_flush_nat_entries’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3176:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3179:9: call_function: inlined call to ‘f2fs_down_write’ from ‘f2fs_flush_nat_entries’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3186:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3188:25: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3186:13: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3186:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3202:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3203:23: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3203:23: call_function: calling ‘__flush_nat_entry_set’ from ‘f2fs_flush_nat_entries’
# 3079|   	struct curseg_info *curseg = CURSEG_I(sbi, CURSEG_HOT_DATA);
# 3080|   	struct f2fs_journal *journal = curseg->journal;
# 3081|-> 	nid_t start_nid = set->set * NAT_ENTRY_PER_BLOCK;
# 3082|   	bool to_journal = true;
# 3083|   	struct f2fs_nat_block *nat_blk;

Error: GCC_ANALYZER_WARNING (CWE-126):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3093:51: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3154:5: enter_function: entry to ‘f2fs_flush_nat_entries’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3176:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3179:9: call_function: inlined call to ‘f2fs_down_write’ from ‘f2fs_flush_nat_entries’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3186:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3188:25: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3186:13: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3186:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3202:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3203:23: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3203:23: call_function: calling ‘__flush_nat_entry_set’ from ‘f2fs_flush_nat_entries’
# 3091|   	 */
# 3092|   	if (enabled_nat_bits(sbi, cpc) ||
# 3093|-> 		!__has_cursum_space(sbi, journal, set->entry_cnt, NAT_JOURNAL))
# 3094|   		to_journal = false;
# 3095|   

Error: GCC_ANALYZER_WARNING (CWE-126):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3108:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3154:5: enter_function: entry to ‘f2fs_flush_nat_entries’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3176:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3179:9: call_function: inlined call to ‘f2fs_down_write’ from ‘f2fs_flush_nat_entries’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3186:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3188:25: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3186:13: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3186:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3202:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3203:23: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/f2fs/node.c:3203:23: call_function: calling ‘__flush_nat_entry_set’ from ‘f2fs_flush_nat_entries’
# 3106|   
# 3107|   	/* flush dirty nats in nat entry set */
# 3108|-> 	list_for_each_entry_safe(ne, cur, &set->entry_list, list) {
# 3109|   		struct f2fs_nat_entry *raw_ne;
# 3110|   		nid_t nid = nat_get_nid(ne);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/namei.c:1580:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dentry’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/namei.c:2174:20: enter_function: entry to ‘handle_dots’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/namei.c:2185:20: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/namei.c:2188:34: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/namei.c:2188:34: call_function: calling ‘follow_dotdot’ from ‘handle_dots’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/namei.c:2188:34: return_function: returning to ‘handle_dots’ from ‘follow_dotdot’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/namei.c:2189:20: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/namei.c:2191:25: call_function: inlined call to ‘step_into’ from ‘handle_dots’
# 1578|   				  int *count, unsigned lookup_flags)
# 1579|   {
# 1580|-> 	unsigned flags = smp_load_acquire(&path->dentry->d_flags);
# 1581|   
# 1582|   	/* fastpath */

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/netfs/read_retry.c:245:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘subreq’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/netfs/read_retry.c:258:6: enter_function: entry to ‘netfs_retry_reads’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/netfs/read_retry.c:272:9: call_function: calling ‘netfs_retry_read_subrequests’ from ‘netfs_retry_reads’
#  243|   	subreq = list_next_entry(subreq, rreq_link);
#  244|   abandon:
#  245|-> 	list_for_each_entry_from(subreq, &stream->subrequests, rreq_link) {
#  246|   		if (!test_bit(NETFS_SREQ_FAILED, &subreq->flags) &&
#  247|   		    !test_bit(NETFS_SREQ_NEED_RETRY, &subreq->flags))

Error: GCC_ANALYZER_WARNING (CWE-126):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/nfs/blocklayout/extent_tree.c:131:17: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/nfs/blocklayout/extent_tree.c:361:5: enter_function: entry to ‘ext_tree_remove’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/nfs/blocklayout/extent_tree.c:368:15: call_function: calling ‘__ext_tree_remove’ from ‘ext_tree_remove’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/nfs/blocklayout/extent_tree.c:368:15: return_function: returning to ‘ext_tree_remove’ from ‘__ext_tree_remove’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/nfs/blocklayout/extent_tree.c:376:9: call_function: calling ‘__ext_put_deviceids’ from ‘ext_tree_remove’
#  129|   
#  130|   	list_for_each_entry_safe(be, tmp, head, be_list) {
#  131|-> 		nfs4_put_deviceid_node(be->be_device);
#  132|   		kfree(be);
#  133|   	}

Error: GCC_ANALYZER_WARNING (CWE-126):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1211:21: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1179:12: enter_function: entry to ‘ovl_workdir_cleanup_recurse’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1204:15: call_function: calling ‘ovl_dir_read’ from ‘ovl_workdir_cleanup_recurse’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1204:15: return_function: returning to ‘ovl_workdir_cleanup_recurse’ from ‘ovl_dir_read’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1205:12: branch_false: following ‘false’ branch (when ‘err == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1208:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1208:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1211:21: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1211:21: danger: out-of-bounds read at byte 68 but ‘list’ ends at byte 16
# 1209|   		struct dentry *dentry;
# 1210|   
# 1211|-> 		if (p->name[0] == '.') {
# 1212|   			if (p->len == 1)
# 1213|   				continue;

Error: GCC_ANALYZER_WARNING (CWE-127):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1212:29: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1179:12: enter_function: entry to ‘ovl_workdir_cleanup_recurse’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1204:15: call_function: calling ‘ovl_dir_read’ from ‘ovl_workdir_cleanup_recurse’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1204:15: return_function: returning to ‘ovl_workdir_cleanup_recurse’ from ‘ovl_dir_read’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1205:12: branch_false: following ‘false’ branch (when ‘err == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1208:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1208:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1211:21: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1211:20: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1212:29: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1212:29: danger: out-of-bounds read from byte -24 till byte -21 but ‘list’ starts at byte 0
# 1210|   
# 1211|   		if (p->name[0] == '.') {
# 1212|-> 			if (p->len == 1)
# 1213|   				continue;
# 1214|   			if (p->len == 2 && p->name[1] == '.')

Error: GCC_ANALYZER_WARNING (CWE-126):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1214:44: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1179:12: enter_function: entry to ‘ovl_workdir_cleanup_recurse’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1204:15: call_function: calling ‘ovl_dir_read’ from ‘ovl_workdir_cleanup_recurse’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1204:15: return_function: returning to ‘ovl_workdir_cleanup_recurse’ from ‘ovl_dir_read’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1205:12: branch_false: following ‘false’ branch (when ‘err == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1208:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1208:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1211:21: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1211:20: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1212:29: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1214:28: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1214:44: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1214:44: danger: out-of-bounds read at byte 69 but ‘list’ ends at byte 16
# 1212|   			if (p->len == 1)
# 1213|   				continue;
# 1214|-> 			if (p->len == 2 && p->name[1] == '.')
# 1215|   				continue;
# 1216|   		} else if (incompat) {

Error: GCC_ANALYZER_WARNING (CWE-127):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1222:80: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1179:12: enter_function: entry to ‘ovl_workdir_cleanup_recurse’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1204:15: call_function: calling ‘ovl_dir_read’ from ‘ovl_workdir_cleanup_recurse’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1204:15: return_function: returning to ‘ovl_workdir_cleanup_recurse’ from ‘ovl_dir_read’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1205:12: branch_false: following ‘false’ branch (when ‘err == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1208:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1208:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1211:21: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1216:27: branch_false: following ‘false’ branch (when ‘incompat == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1222:80: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1222:80: danger: out-of-bounds read from byte -24 till byte -21 but ‘list’ starts at byte 0
# 1220|   			break;
# 1221|   		}
# 1222|-> 		dentry = ovl_lookup_upper_unlocked(ofs, p->name, path->dentry, p->len);
# 1223|   		if (IS_ERR(dentry))
# 1224|   			continue;

Error: GCC_ANALYZER_WARNING (CWE-126):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1280:21: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1261:5: enter_function: entry to ‘ovl_indexdir_cleanup’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1275:15: call_function: calling ‘ovl_dir_read’ from ‘ovl_indexdir_cleanup’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1275:15: return_function: returning to ‘ovl_indexdir_cleanup’ from ‘ovl_dir_read’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1276:12: branch_false: following ‘false’ branch (when ‘err == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1279:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1279:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1280:21: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1280:21: danger: out-of-bounds read at byte 68 but ‘list’ ends at byte 16
# 1278|   
# 1279|   	list_for_each_entry(p, &list, l_node) {
# 1280|-> 		if (p->name[0] == '.') {
# 1281|   			if (p->len == 1)
# 1282|   				continue;

Error: GCC_ANALYZER_WARNING (CWE-127):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1281:29: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1261:5: enter_function: entry to ‘ovl_indexdir_cleanup’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1275:15: call_function: calling ‘ovl_dir_read’ from ‘ovl_indexdir_cleanup’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1275:15: return_function: returning to ‘ovl_indexdir_cleanup’ from ‘ovl_dir_read’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1276:12: branch_false: following ‘false’ branch (when ‘err == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1279:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1279:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1280:21: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1280:20: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1281:29: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1281:29: danger: out-of-bounds read from byte -24 till byte -21 but ‘list’ starts at byte 0
# 1279|   	list_for_each_entry(p, &list, l_node) {
# 1280|   		if (p->name[0] == '.') {
# 1281|-> 			if (p->len == 1)
# 1282|   				continue;
# 1283|   			if (p->len == 2 && p->name[1] == '.')

Error: GCC_ANALYZER_WARNING (CWE-126):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1283:44: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1261:5: enter_function: entry to ‘ovl_indexdir_cleanup’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1275:15: call_function: calling ‘ovl_dir_read’ from ‘ovl_indexdir_cleanup’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1275:15: return_function: returning to ‘ovl_indexdir_cleanup’ from ‘ovl_dir_read’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1276:12: branch_false: following ‘false’ branch (when ‘err == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1279:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1279:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1280:21: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1280:20: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1281:29: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1283:28: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1283:44: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1283:44: danger: out-of-bounds read at byte 69 but ‘list’ ends at byte 16
# 1281|   			if (p->len == 1)
# 1282|   				continue;
# 1283|-> 			if (p->len == 2 && p->name[1] == '.')
# 1284|   				continue;
# 1285|   		}

Error: GCC_ANALYZER_WARNING (CWE-127):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1286:75: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1261:5: enter_function: entry to ‘ovl_indexdir_cleanup’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1275:15: call_function: calling ‘ovl_dir_read’ from ‘ovl_indexdir_cleanup’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1275:15: return_function: returning to ‘ovl_indexdir_cleanup’ from ‘ovl_dir_read’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1276:12: branch_false: following ‘false’ branch (when ‘err == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1279:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1279:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1280:21: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/overlayfs/readdir.c:1286:75: danger: out-of-bounds read from byte -24 till byte -21 but ‘list’ starts at byte 0
# 1284|   				continue;
# 1285|   		}
# 1286|-> 		index = ovl_lookup_upper_unlocked(ofs, p->name, indexdir, p->len);
# 1287|   		if (IS_ERR(index)) {
# 1288|   			err = PTR_ERR(index);

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/smb/client/cifssmb.c:3083:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pSMB’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/smb/client/cifssmb.c:3067:1: enter_function: entry to ‘CIFSSMB_set_compression’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/smb/client/cifssmb.c:3077:14: call_function: calling ‘smb_init’ from ‘CIFSSMB_set_compression’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/smb/client/cifssmb.c:3077:14: return_function: returning to ‘CIFSSMB_set_compression’ from ‘smb_init’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/smb/client/cifssmb.c:3079:12: branch_false: following ‘false’ branch (when ‘rc >= 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/smb/client/cifssmb.c:3081:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/smb/client/cifssmb.c:3083:13: danger: use of uninitialized value ‘pSMB’ here
# 3081|   	in_len = rc;
# 3082|   
# 3083|-> 	pSMB->compression_state = cpu_to_le16(COMPRESSION_FORMAT_DEFAULT);
# 3084|   
# 3085|   	pSMB->TotalParameterCount = 0;

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/smb/client/cifssmb.c:3595:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pSMB’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/smb/client/cifssmb.c:3581:1: enter_function: entry to ‘smb_init_nttransact’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/smb/client/cifssmb.c:3590:14: call_function: calling ‘small_smb_init’ from ‘smb_init_nttransact’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/smb/client/cifssmb.c:3590:14: return_function: returning to ‘smb_init_nttransact’ from ‘small_smb_init’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/smb/client/cifssmb.c:3592:12: branch_false: following ‘false’ branch (when ‘rc >= 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/smb/client/cifssmb.c:3595:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/smb/client/cifssmb.c:3595:9: danger: use of uninitialized value ‘pSMB’ here
# 3593|   		return rc;
# 3594|   	in_len = rc;
# 3595|-> 	*ret_buf = (void *)pSMB;
# 3596|   	pSMB->Reserved = 0;
# 3597|   	pSMB->TotalParameterCount = cpu_to_le32(parm_len);

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/smb/client/cifssmb.c:3843:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pSMB’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/smb/client/cifssmb.c:3824:1: enter_function: entry to ‘SMBQueryInformation’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/smb/client/cifssmb.c:3837:14: call_function: calling ‘smb_init’ from ‘SMBQueryInformation’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/smb/client/cifssmb.c:3837:14: return_function: returning to ‘SMBQueryInformation’ from ‘smb_init’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/smb/client/cifssmb.c:3839:12: branch_false: following ‘false’ branch (when ‘rc >= 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/smb/client/cifssmb.c:3841:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/smb/client/cifssmb.c:3843:17: danger: use of uninitialized value ‘pSMB’ here
# 3841|   	in_len = rc;
# 3842|   
# 3843|-> 	if (pSMB->hdr.Flags2 & SMBFLG2_UNICODE) {
# 3844|   		name_len =
# 3845|   			cifsConvertToUTF16((__le16 *) pSMB->FileName,

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/smb/client/cifssmb.c:5526:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pSMB’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/smb/client/cifssmb.c:5504:1: enter_function: entry to ‘SMBSetInformation’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/smb/client/cifssmb.c:5520:14: call_function: calling ‘smb_init’ from ‘SMBSetInformation’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/smb/client/cifssmb.c:5520:14: return_function: returning to ‘SMBSetInformation’ from ‘smb_init’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/smb/client/cifssmb.c:5522:12: branch_false: following ‘false’ branch (when ‘rc >= 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/smb/client/cifssmb.c:5524:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/smb/client/cifssmb.c:5526:17: danger: use of uninitialized value ‘pSMB’ here
# 5524|   	in_len = rc;
# 5525|   
# 5526|-> 	if (pSMB->hdr.Flags2 & SMBFLG2_UNICODE) {
# 5527|   		name_len =
# 5528|   			cifsConvertToUTF16((__le16 *) pSMB->fileName,

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/verity/open.c:126:27: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘blocks_in_level[level]’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/verity/open.c:30:5: enter_function: entry to ‘fsverity_init_merkle_tree_params’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/verity/open.c:43:9: call_function: inlined call to ‘fortify_memset_chk’ from ‘fsverity_init_merkle_tree_params’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/verity/open.c:43:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/verity/open.c:46:12: branch_false: following ‘false’ branch (when ‘hash_alg’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/verity/open.c:48:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/verity/open.c:51:12: branch_false: following ‘false’ branch (when ‘salt_size == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/verity/open.c:75:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/verity/open.c:75:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/verity/open.c:76:29: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/verity/open.c:75:13: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/verity/open.c:82:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/verity/open.c:91:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/verity/open.c:98:34: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/verity/open.c:98:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/verity/open.c:98:9: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/verity/open.c:98:9: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/verity/open.c:98:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/verity/open.c:100:9: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/verity/open.c:100:38: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/verity/open.c:111:16: branch_false: following ‘false’ branch (when ‘blocks <= 1’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/verity/open.c:124:27: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/verity/open.c:124:51: branch_true: following ‘true’ branch (when ‘level >= 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/verity/open.c:125:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/verity/open.c:126:27: danger: use of uninitialized value ‘blocks_in_level[level]’ here
#  124|   	for (level = (int)params->num_levels - 1; level >= 0; level--) {
#  125|   		params->level_start[level] = offset;
#  126|-> 		offset += blocks_in_level[level];
#  127|   	}
#  128|   

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/xfs/libxfs/xfs_dir2_leaf.c:1574:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘index’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/xfs/libxfs/xfs_dir2_leaf.c:1548:1: enter_function: entry to ‘xfs_dir2_leaf_replace’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/xfs/libxfs/xfs_dir2_leaf.c:1566:17: call_function: calling ‘xfs_dir2_leaf_lookup_int’ from ‘xfs_dir2_leaf_replace’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/xfs/libxfs/xfs_dir2_leaf.c:1566:17: return_function: returning to ‘xfs_dir2_leaf_replace’ from ‘xfs_dir2_leaf_lookup_int’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/xfs/libxfs/xfs_dir2_leaf.c:1567:12: branch_false: following ‘false’ branch (when ‘error == 0’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/xfs/libxfs/xfs_dir2_leaf.c:1570:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/xfs/libxfs/xfs_dir2_leaf.c:1574:28: danger: use of uninitialized value ‘index’ here
# 1572|   	 * Point to the leaf entry, get data address from it.
# 1573|   	 */
# 1574|-> 	lep = &leafhdr.ents[index];
# 1575|   	/*
# 1576|   	 * Point to the data entry.

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/include/acpi/acpi_bus.h:563:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/acpi/sbshc.c:240:12: enter_function: entry to ‘acpi_smbus_hc_add’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/acpi/sbshc.c:246:12: branch_false: following ‘false’ branch (when ‘device’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/acpi/sbshc.c:249:18: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/acpi/sbshc.c:250:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/acpi/sbshc.c:255:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/acpi/sbshc.c:259:12: branch_false: following ‘false’ branch (when ‘_res’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/acpi/sbshc.c:261:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/acpi/sbshc.c:264:18: call_function: inlined call to ‘acpi_dev_parent’ from ‘acpi_smbus_hc_add’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/acpi/sbshc.c:264:18: call_function: inlined call to ‘acpi_driver_data’ from ‘acpi_smbus_hc_add’
#  561|   static inline void *acpi_driver_data(struct acpi_device *d)
#  562|   {
#  563|-> 	return d->driver_data;
#  564|   }
#  565|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/include/crypto/scatterwalk.h:33:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*walk.sg’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:48:13: enter_function: entry to ‘memcpy_to_scatterwalk’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:54:27: call_function: inlined call to ‘scatterwalk_next’ from ‘memcpy_to_scatterwalk’
#   31|   {
#   32|   	walk->sg = sg;
#   33|-> 	walk->offset = sg->offset;
#   34|   }
#   35|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/include/crypto/scatterwalk.h:44:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sg’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:76:6: enter_function: entry to ‘memcpy_to_sglist’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:81:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:84:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/crypto/scatterwalk.c:84:9: call_function: calling ‘scatterwalk_start_at_pos’ from ‘memcpy_to_sglist’
#   42|   					    unsigned int pos)
#   43|   {
#   44|-> 	while (pos > sg->length) {
#   45|   		pos -= sg->length;
#   46|   		sg = sg_next(sg);

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/include/linux/bitmap.h:338:32: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(const long unsigned int *)(&allowed_feature_mask[0])’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c:693:12: enter_function: entry to ‘smu_get_driver_allowed_feature_mask’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c:706:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c:711:9: call_function: inlined call to ‘bitmap_zero’ from ‘smu_get_driver_allowed_feature_mask’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c:713:15: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c:713:15: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c:713:15: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c:720:23: branch_false: ...to here
#  336|   {
#  337|   	if (small_const_nbits(nbits))
#  338|-> 		*dst = *src1 | *src2;
#  339|   	else
#  340|   		__bitmap_or(dst, src1, src2, nbits);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/include/linux/dcache.h:403:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘parent’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/namei.c:2174:20: enter_function: entry to ‘handle_dots’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/namei.c:2185:20: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/namei.c:2188:34: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/namei.c:2188:34: call_function: calling ‘follow_dotdot’ from ‘handle_dots’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/namei.c:2188:34: return_function: return of NULL to ‘handle_dots’ from ‘follow_dotdot’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/namei.c:2189:20: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/fs/namei.c:2191:25: call_function: inlined call to ‘step_into’ from ‘handle_dots’
#  401|   static inline bool d_managed(const struct dentry *dentry)
#  402|   {
#  403|-> 	return dentry->d_flags & DCACHE_MANAGED_DENTRY;
#  404|   }
#  405|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/include/linux/dma-fence.h:451:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘fence’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:7635:19: enter_function: entry to ‘amdgpu_device_enforce_isolation’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:7649:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:7658:17: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:7673:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:7680:22: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:7680:20: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:7681:31: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:7682:30: call_function: calling ‘dma_fence_is_signaled’ from ‘amdgpu_device_enforce_isolation’
#  449|   dma_fence_is_signaled(struct dma_fence *fence)
#  450|   {
#  451|-> 	if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags))
#  452|   		return true;
#  453|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/include/linux/dma-fence.h:477:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘fence’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_sched_job.c:230:6: enter_function: entry to ‘xe_sched_job_completed’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_sched_job.c:232:35: call_function: inlined call to ‘dma_fence_chain_contained’ from ‘xe_sched_job_completed’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_sched_job.c:233:30: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/xe/xe_sched_job.c:240:17: call_function: calling ‘__dma_fence_is_later’ from ‘xe_sched_job_completed’
#  475|   	 * do so.
#  476|   	 */
#  477|-> 	if (test_bit(DMA_FENCE_FLAG_SEQNO64_BIT, &fence->flags))
#  478|   		return f1 > f2;
#  479|   

Error: COMPILER_WARNING:
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/include/linux/fortify-string.h:748:17: error[error]: call to '__read_overflow' declared with attribute error: detected read beyond size of object (1st parameter)
#  746|   
#  747|   	if (__compiletime_lessthan(p_size, size))
#  748|-> 		__read_overflow();
#  749|   	if (p_size < size)
#  750|   		fortify_panic(FORTIFY_FUNC_memchr_inv, FORTIFY_READ, p_size, size, NULL);

Error: COMPILER_WARNING:
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/include/linux/fortify-string.h:799:17: error[error]: call to '__write_overflow' declared with attribute error: detected write beyond size of object (1st parameter)
#  797|   	/* Compile-time check for const size overflow. */
#  798|   	if (__compiletime_lessthan(p_size, size))
#  799|-> 		__write_overflow();
#  800|   	/* Run-time check for dynamic size overflow. */
#  801|   	if (p_size < size)

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/include/linux/ioport.h:291:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘res’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_migrate.c:1019:5: enter_function: entry to ‘kgd2kfd_init_zone_device’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_migrate.c:1028:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_migrate.c:1031:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_migrate.c:1031:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_migrate.c:1034:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_migrate.c:1035:9: call_function: inlined call to ‘fortify_memset_chk’ from ‘kgd2kfd_init_zone_device’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_migrate.c:1035:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_migrate.c:1041:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_migrate.c:1042:38: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_migrate.c:1062:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_migrate.c:1063:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_migrate.c:1064:20: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/gpu/drm/amd/amdkfd/kfd_migrate.c:1065:25: call_function: inlined call to ‘resource_size’ from ‘kgd2kfd_init_zone_device’
#  289|   static inline resource_size_t resource_size(const struct resource *res)
#  290|   {
#  291|-> 	return res->end - res->start + 1;
#  292|   }
#  293|   static inline unsigned long resource_type(const struct resource *res)

Error: GCC_ANALYZER_WARNING (CWE-126):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/include/linux/skbuff.h:3115:16: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/ipv4/ip_input.c:648:6: enter_function: entry to ‘ip_list_rcv’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/ipv4/ip_input.c:656:9: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/ipv4/ip_input.c:677:14: call_function: inlined call to ‘list_empty’ from ‘ip_list_rcv’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/ipv4/ip_input.c:677:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/ipv4/ip_input.c:678:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/ipv4/ip_input.c:678:17: call_function: calling ‘ip_sublist_rcv’ from ‘ip_list_rcv’
# 3113|   static inline unsigned char *skb_network_header(const struct sk_buff *skb)
# 3114|   {
# 3115|-> 	return skb->head + skb->network_header;
# 3116|   }
# 3117|   

Error: GCC_ANALYZER_WARNING (CWE-126):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/include/linux/skbuff.h:3115:28: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/ipv4/ip_input.c:648:6: enter_function: entry to ‘ip_list_rcv’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/ipv4/ip_input.c:656:9: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/ipv4/ip_input.c:677:14: call_function: inlined call to ‘list_empty’ from ‘ip_list_rcv’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/ipv4/ip_input.c:677:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/ipv4/ip_input.c:678:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/ipv4/ip_input.c:678:17: call_function: calling ‘ip_sublist_rcv’ from ‘ip_list_rcv’
# 3113|   static inline unsigned char *skb_network_header(const struct sk_buff *skb)
# 3114|   {
# 3115|-> 	return skb->head + skb->network_header;
# 3116|   }
# 3117|   

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/include/linux/unaligned.h:18:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(const struct <anonymous> *)(&reg_val[0]).x’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/bluetooth/btrtl.c:1359:5: enter_function: entry to ‘btrtl_setup_realtek’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/drivers/bluetooth/btrtl.c:1364:21: call_function: calling ‘btrtl_initialize’ from ‘btrtl_setup_realtek’
#   16|   static inline u16 get_unaligned_le16(const void *p)
#   17|   {
#   18|-> 	return le16_to_cpu(__get_unaligned_t(__le16, p));
#   19|   }
#   20|   

Error: GCC_ANALYZER_WARNING (CWE-126):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/include/net/l3mdev.h:183:31: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/ipv4/ip_input.c:648:6: enter_function: entry to ‘ip_list_rcv’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/ipv4/ip_input.c:656:9: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/ipv4/ip_input.c:677:14: call_function: inlined call to ‘list_empty’ from ‘ip_list_rcv’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/ipv4/ip_input.c:677:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/ipv4/ip_input.c:678:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/ipv4/ip_input.c:678:17: call_function: calling ‘ip_sublist_rcv’ from ‘ip_list_rcv’
#  181|   	struct net_device *master = NULL;
#  182|   
#  183|-> 	if (netif_is_l3_slave(skb->dev))
#  184|   		master = netdev_master_upper_dev_get_rcu(skb->dev);
#  185|   	else if (netif_is_l3_master(skb->dev) ||

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/lib/crypto/sha3.c:274:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&*(struct __sha3_ctx *)shake_ctx.state.<Uebe0>.bytes[squeeze_offset]’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/lib/crypto/sha3.c:371:6: enter_function: entry to ‘shake256’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/lib/crypto/sha3.c:376:9: call_function: inlined call to ‘shake_update’ from ‘shake256’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/lib/crypto/sha3.c:376:9: call_function: inlined call to ‘shake_update’ from ‘shake256’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/lib/crypto/sha3.c:377:9: call_function: calling ‘shake_squeeze’ from ‘shake256’
#  272|   		size_t copy = min(out_len, block_size - squeeze_offset);
#  273|   
#  274|-> 		memcpy(out, &ctx->state.bytes[squeeze_offset], copy);
#  275|   		out += copy;
#  276|   		out_len -= copy;

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/lib/find_bit.c:164:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘tmp’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/lib/find_bit.c:164:16: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/lib/find_bit.c:164:16: danger: use of uninitialized value ‘tmp’ here
#  162|   unsigned long __find_nth_bit(const unsigned long *addr, unsigned long size, unsigned long n)
#  163|   {
#  164|-> 	return FIND_NTH_BIT(addr[idx], size, n);
#  165|   }
#  166|   EXPORT_SYMBOL(__find_nth_bit);

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/lib/find_bit.c:171:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘tmp’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/lib/find_bit.c:171:16: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/lib/find_bit.c:171:16: danger: use of uninitialized value ‘tmp’ here
#  169|   				 unsigned long size, unsigned long n)
#  170|   {
#  171|-> 	return FIND_NTH_BIT(addr1[idx] & addr2[idx], size, n);
#  172|   }
#  173|   EXPORT_SYMBOL(__find_nth_and_bit);

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/lib/find_bit.c:178:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘tmp’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/lib/find_bit.c:178:16: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/lib/find_bit.c:178:16: danger: use of uninitialized value ‘tmp’ here
#  176|   				 unsigned long size, unsigned long n)
#  177|   {
#  178|-> 	return FIND_NTH_BIT(addr1[idx] & ~addr2[idx], size, n);
#  179|   }
#  180|   EXPORT_SYMBOL(__find_nth_andnot_bit);

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/lib/find_bit.c:187:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘tmp’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/lib/find_bit.c:187:16: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/lib/find_bit.c:187:16: danger: use of uninitialized value ‘tmp’ here
#  185|   					unsigned long size, unsigned long n)
#  186|   {
#  187|-> 	return FIND_NTH_BIT(addr1[idx] & addr2[idx] & ~addr3[idx], size, n);
#  188|   }
#  189|   EXPORT_SYMBOL(__find_nth_and_andnot_bit);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/lib/tests/test_ratelimit.c:111:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/lib/tests/test_ratelimit.c:102:13: enter_function: entry to ‘test_ratelimit_stress’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/lib/tests/test_ratelimit.c:107:39: call_function: calling ‘kmalloc_array_noprof’ from ‘test_ratelimit_stress’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/lib/tests/test_ratelimit.c:107:39: return_function: returning to ‘test_ratelimit_stress’ from ‘kmalloc_array_noprof’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/lib/tests/test_ratelimit.c:109:9: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/lib/tests/test_ratelimit.c:109:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/lib/tests/test_ratelimit.c:110:21: branch_true: following ‘true’ branch (when ‘i < n_stress_kthread’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/lib/tests/test_ratelimit.c:111:30: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/lib/tests/test_ratelimit.c:111:30: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/lib/tests/test_ratelimit.c:111:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/lib/tests/test_ratelimit.c:111:17: danger: dereference of NULL ‘_res + (long unsigned int)i * 40’
#  109|   	KUNIT_EXPECT_NOT_NULL_MSG(test, sktp, "Memory allocation failure");
#  110|   	for (i = 0; i < n_stress_kthread; i++) {
#  111|-> 		sktp[i].tp = kthread_run(test_ratelimit_stress_child, &sktp[i], "%s/%i",
#  112|   					 "test_ratelimit_stress_child", i);
#  113|   		KUNIT_EXPECT_NOT_NULL_MSG(test, sktp, "kthread creation failure");

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/mm/cma.c:352:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘mlp’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/mm/cma.c:344:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/mm/cma.c:347:17: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/mm/cma.c:347:17: branch_false: following ‘false’ branch (when ‘mp == ranges’)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/mm/cma.c:352:17: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/mm/cma.c:352:17: danger: use of uninitialized value ‘mlp’ here
#  350|   				break;
#  351|   		}
#  352|-> 		__list_add(&mrp->list, mlp->list.prev, &mlp->list);
#  353|   	}
#  354|   }

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/mm/damon/core.c:2253:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘cached_esz’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/mm/damon/core.c:2285:13: enter_function: entry to ‘kdamond_apply_schemes’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/mm/damon/core.c:2294:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/mm/damon/core.c:2295:21: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/mm/damon/core.c:2298:20: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/mm/damon/core.c:2303:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/mm/damon/core.c:2303:17: call_function: calling ‘damos_adjust_quota’ from ‘kdamond_apply_schemes’
# 2251|   			cached_esz = quota->esz;
# 2252|   		damos_set_effective_quota(quota);
# 2253|-> 		if (trace_damos_esz_enabled() && quota->esz != cached_esz)
# 2254|   			damos_trace_esz(c, s, quota);
# 2255|   	}

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/mm/damon/paddr.c:205:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘folio’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/mm/damon/paddr.c:320:22: enter_function: entry to ‘damon_pa_apply_scheme’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/mm/damon/paddr.c:328:24: call_function: calling ‘damon_pa_pageout’ from ‘damon_pa_apply_scheme’
#  203|   	applied = reclaim_pages(&folio_list);
#  204|   	cond_resched();
#  205|-> 	s->last_applied = folio;
#  206|   	return damon_pa_core_addr(applied * PAGE_SIZE, addr_unit);
#  207|   }

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/mm/damon/paddr.c:239:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘folio’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/mm/damon/paddr.c:320:22: enter_function: entry to ‘damon_pa_apply_scheme’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/mm/damon/paddr.c:330:24: call_function: inlined call to ‘damon_pa_mark_accessed’ from ‘damon_pa_apply_scheme’
#  237|   		folio_put(folio);
#  238|   	}
#  239|-> 	s->last_applied = folio;
#  240|   	return damon_pa_core_addr(applied * PAGE_SIZE, addr_unit);
#  241|   }

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/mm/damon/paddr.c:289:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘folio’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/mm/damon/paddr.c:320:22: enter_function: entry to ‘damon_pa_apply_scheme’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/mm/damon/paddr.c:337:24: call_function: calling ‘damon_pa_migrate’ from ‘damon_pa_apply_scheme’
#  287|   	applied = damon_migrate_pages(&folio_list, s->target_nid);
#  288|   	cond_resched();
#  289|-> 	s->last_applied = folio;
#  290|   	return damon_pa_core_addr(applied * PAGE_SIZE, addr_unit);
#  291|   }

Error: GCC_ANALYZER_WARNING (CWE-126):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/ipv4/ip_input.c:609:36: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/ipv4/ip_input.c:648:6: enter_function: entry to ‘ip_list_rcv’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/ipv4/ip_input.c:656:9: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/ipv4/ip_input.c:677:14: call_function: inlined call to ‘list_empty’ from ‘ip_list_rcv’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/ipv4/ip_input.c:677:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/ipv4/ip_input.c:678:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/ipv4/ip_input.c:678:17: call_function: calling ‘ip_sublist_rcv’ from ‘ip_list_rcv’
#  607|   
#  608|   	list_for_each_entry_safe(skb, next, head, list) {
#  609|-> 		struct net_device *dev = skb->dev;
#  610|   		struct dst_entry *dst;
#  611|   

Error: GCC_ANALYZER_WARNING (CWE-465):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/ipv6/ip6_output.c:1145:24: warning[-Wanalyzer-deref-before-check]: check of ‘dst’ for NULL after already dereferencing it
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/ipv6/ip6_output.c:1266:19: enter_function: entry to ‘ip6_dst_lookup_flow’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/ipv6/ip6_output.c:1272:15: call_function: calling ‘ip6_dst_lookup_tail’ from ‘ip6_dst_lookup_flow’
# 1143|   
# 1144|   		rcu_read_lock();
# 1145|-> 		from = rt ? rcu_dereference(rt->from) : NULL;
# 1146|   		err = ip6_route_get_saddr(net, from, &fl6->daddr,
# 1147|   					  sk ? READ_ONCE(inet6_sk(sk)->srcprefs) : 0,

Error: GCC_ANALYZER_WARNING (CWE-126):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/mptcp/protocol.h:607:16: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/mptcp/protocol.c:4104:13: enter_function: entry to ‘mptcp_graft_subflows’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/mptcp/protocol.c:4119:17: call_function: inlined call to ‘list_splice_init’ from ‘mptcp_graft_subflows’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/mptcp/protocol.c:4120:17: call_function: inlined call to ‘spin_unlock_bh’ from ‘mptcp_graft_subflows’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/mptcp/protocol.c:4122:17: call_function: calling ‘__mptcp_flush_join_list’ from ‘mptcp_graft_subflows’
#  605|   mptcp_subflow_tcp_sock(const struct mptcp_subflow_context *subflow)
#  606|   {
#  607|-> 	return subflow->tcp_sock;
#  608|   }
#  609|   

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/mptcp/subflow.c:892:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘((unsigned char*)&mp_opt.<U3820>.<U d20>)[3]’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/mptcp/subflow.c:808:21: enter_function: entry to ‘subflow_syn_recv_sock’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/mptcp/subflow.c:840:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/mptcp/subflow.c:854:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/mptcp/subflow.c:854:19: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/mptcp/subflow.c:860:1: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/mptcp/subflow.c:864:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/mptcp/subflow.c:873:20: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/mptcp/subflow.c:882:39: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/mptcp/subflow.c:884:20: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/mptcp/subflow.c:885:57: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/mptcp/subflow.c:886:28: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/mptcp/subflow.c:889:25: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/mptcp/subflow.c:892:29: danger: use of uninitialized value ‘((unsigned char*)&mp_opt.<U3820>.<U d20>)[3]’ here
#  890|   			owner = mptcp_sk(ctx->conn);
#  891|   
#  892|-> 			if (mp_opt.deny_join_id0)
#  893|   				WRITE_ONCE(owner->pm.remote_deny_join_id0, true);
#  894|   

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/mptcp/subflow.c:892:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘((unsigned char*)&mp_opt.<U5820>.<U2d20>)[3]’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/mptcp/subflow.c:808:21: enter_function: entry to ‘subflow_syn_recv_sock’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/mptcp/subflow.c:840:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/mptcp/subflow.c:854:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/mptcp/subflow.c:854:19: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/mptcp/subflow.c:860:1: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/mptcp/subflow.c:864:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/mptcp/subflow.c:873:20: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/mptcp/subflow.c:882:39: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/mptcp/subflow.c:884:20: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/mptcp/subflow.c:885:57: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/mptcp/subflow.c:886:28: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/mptcp/subflow.c:889:25: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/mptcp/subflow.c:892:29: danger: use of uninitialized value ‘((unsigned char*)&mp_opt.<U5820>.<U2d20>)[3]’ here
#  890|   			owner = mptcp_sk(ctx->conn);
#  891|   
#  892|-> 			if (mp_opt.deny_join_id0)
#  893|   				WRITE_ONCE(owner->pm.remote_deny_join_id0, true);
#  894|   

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/netfilter/nf_conntrack_expect.c:657:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  655|   		seq_printf(s, "%sUSERSPACE", delim);
#  656|   
#  657|-> 	helper = rcu_dereference(nfct_help(expect->master)->helper);
#  658|   	if (helper) {
#  659|   		seq_printf(s, "%s%s", expect->flags ? " " : "", helper->name);

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/netfilter/nf_conntrack_helper.c:405:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/netfilter/nf_conntrack_helper.c:402:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/netfilter/nf_conntrack_helper.c:405:16: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/netfilter/nf_conntrack_helper.c:405:16: danger: dereference of NULL ‘nf_ct_ext_find(*exp.master, 0)’
#  403|   		return true;
#  404|   
#  405|-> 	this = rcu_dereference_protected(help->helper,
#  406|   					 lockdep_is_held(&nf_conntrack_expect_lock));
#  407|   	return this == me;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/netfilter/nf_conntrack_netlink.c:3401:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 3399|   	m_help = nfct_help(exp->master);
# 3400|   
# 3401|-> 	helper = rcu_dereference(m_help->helper);
# 3402|   	if (!helper)
# 3403|   		return false;

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/netfilter/nft_set_pipapo.c:1656:44: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>.<Ubc80>.n’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/netfilter/nft_set_pipapo.c:1833:13: enter_function: entry to ‘nft_pipapo_commit’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/netfilter/nft_set_pipapo.c:1841:13: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/netfilter/nft_set_pipapo.c:1842:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/netfilter/nft_set_pipapo.c:1842:17: call_function: calling ‘pipapo_gc_scan’ from ‘nft_pipapo_commit’
# 1654|   			for (b = 0; b < NFT_PIPAPO_BUCKETS(f->bb); b++) {
# 1655|   				bitmap_cut(pos, pos, rulemap[i].to,
# 1656|-> 					   rulemap[i].n,
# 1657|   					   f->bsize * BITS_PER_LONG);
# 1658|   

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/netfilter/nft_set_pipapo.c:1663:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>.<Ubc80>.n’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/netfilter/nft_set_pipapo.c:1833:13: enter_function: entry to ‘nft_pipapo_commit’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/netfilter/nft_set_pipapo.c:1841:13: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/netfilter/nft_set_pipapo.c:1842:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/netfilter/nft_set_pipapo.c:1842:17: call_function: calling ‘pipapo_gc_scan’ from ‘nft_pipapo_commit’
# 1661|   		}
# 1662|   
# 1663|-> 		pipapo_unmap(f->mt, f->rules, rulemap[i].to, rulemap[i].n,
# 1664|   			     last ? 0 : rulemap[i + 1].n, last);
# 1665|   		if (pipapo_resize(f, f->rules, f->rules - rulemap[i].n)) {

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/netfilter/nft_set_pipapo.c:1663:62: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>.<Ubc80>.n’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/netfilter/nft_set_pipapo.c:1833:13: enter_function: entry to ‘nft_pipapo_commit’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/netfilter/nft_set_pipapo.c:1841:13: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/netfilter/nft_set_pipapo.c:1842:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/net/netfilter/nft_set_pipapo.c:1842:17: call_function: calling ‘pipapo_gc_scan’ from ‘nft_pipapo_commit’
# 1661|   		}
# 1662|   
# 1663|-> 		pipapo_unmap(f->mt, f->rules, rulemap[i].to, rulemap[i].n,
# 1664|   			     last ? 0 : rulemap[i + 1].n, last);
# 1665|   		if (pipapo_resize(f, f->rules, f->rules - rulemap[i].n)) {

Error: CLANG_WARNING:
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/samples/bpf/vmlinux.h:101218:2: warning: declaration does not declare anything [-Wmissing-declarations]
# 101218 |         struct freelist_tid;
#        |         ^~~~~~~~~~~~~~~~~~~
#101216|   
#101217|   struct kmem_cache_cpu {
#101218|-> 	struct freelist_tid;
#101219|   	struct slab *slab;
#101220|   	struct slab *partial;

Error: COMPILER_WARNING:
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/samples/bpf/vmlinux.h:101218:28: warning[warning]: declaration does not declare anything
#101216|   
#101217|   struct kmem_cache_cpu {
#101218|-> 	struct freelist_tid;
#101219|   	struct slab *slab;
#101220|   	struct slab *partial;

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/rt1320-sdw.c:1145:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘regvalue[i]’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/rt1320-sdw.c:1089:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/rt1320-sdw.c:1090:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/rt1320-sdw.c:1122:21: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/rt1320-sdw.c:1123:25: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/rt1320-sdw.c:1140:20: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/rt1320-sdw.c:1143:51: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/rt1320-sdw.c:1145:21: danger: use of uninitialized value ‘regvalue[i]’ here
# 1143|   		gain_val[i] = 0x1e00 - ((p->max - gain_val[i]) * interval_offset);
# 1144|   		gain_val[i] &= 0xffff;
# 1145|-> 		if (regvalue[i] != gain_val[i])
# 1146|   			changed = 1;
# 1147|   	}

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/rt1320-sdw.c:1227:34: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘regvalue’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/rt1320-sdw.c:1189:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/rt1320-sdw.c:1190:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/rt1320-sdw.c:1210:21: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/rt1320-sdw.c:1211:25: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/rt1320-sdw.c:1227:34: danger: use of uninitialized value ‘regvalue’ here
# 1225|   		}
# 1226|   
# 1227|-> 		ctl = p->max - (((0x1e00 - regvalue) & 0xffff) / interval_offset);
# 1228|   		ucontrol->value.integer.value[i] = ctl;
# 1229|   	}

Error: GCC_ANALYZER_WARNING (CWE-787):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/tas2783-sdw.c:1126:17: warning[-Wanalyzer-out-of-bounds]: buffer overflow
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/tas2783-sdw.c:1097:12: enter_function: entry to ‘tas_read_prop’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/tas2783-sdw.c:1119:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/tas2783-sdw.c:1124:16: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/tas2783-sdw.c:1125:9: call_function: inlined call to ‘find_next_bit’ from ‘tas_read_prop’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/tas2783-sdw.c:1126:17: danger: write of 4 bytes at offset ‘104’ exceeds ‘*(void *)<unknown>’
# 1124|   	addr = prop->source_ports;
# 1125|   	for_each_set_bit(bit, &addr, 32) {
# 1126|-> 		dpn[i].num = bit;
# 1127|   		dpn[i].type = SDW_DPN_FULL;
# 1128|   		dpn[i].simple_ch_prep_sm = false;

Error: GCC_ANALYZER_WARNING (CWE-787):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/tas2783-sdw.c:1127:17: warning[-Wanalyzer-out-of-bounds]: buffer overflow
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/tas2783-sdw.c:1097:12: enter_function: entry to ‘tas_read_prop’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/tas2783-sdw.c:1119:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/tas2783-sdw.c:1124:16: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/tas2783-sdw.c:1125:9: call_function: inlined call to ‘find_next_bit’ from ‘tas_read_prop’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/tas2783-sdw.c:1127:17: danger: write of 4 bytes at offset ‘128’ exceeds ‘*(void *)<unknown>’
# 1125|   	for_each_set_bit(bit, &addr, 32) {
# 1126|   		dpn[i].num = bit;
# 1127|-> 		dpn[i].type = SDW_DPN_FULL;
# 1128|   		dpn[i].simple_ch_prep_sm = false;
# 1129|   		dpn[i].ch_prep_timeout = 10;

Error: GCC_ANALYZER_WARNING (CWE-787):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/tas2783-sdw.c:1128:17: warning[-Wanalyzer-out-of-bounds]: buffer overflow
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/tas2783-sdw.c:1097:12: enter_function: entry to ‘tas_read_prop’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/tas2783-sdw.c:1119:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/tas2783-sdw.c:1124:16: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/tas2783-sdw.c:1125:9: call_function: inlined call to ‘find_next_bit’ from ‘tas_read_prop’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/tas2783-sdw.c:1128:17: danger: write of 1 byte at offset ‘202’ exceeds ‘*(void *)<unknown>’
# 1126|   		dpn[i].num = bit;
# 1127|   		dpn[i].type = SDW_DPN_FULL;
# 1128|-> 		dpn[i].simple_ch_prep_sm = false;
# 1129|   		dpn[i].ch_prep_timeout = 10;
# 1130|   		i++;

Error: GCC_ANALYZER_WARNING (CWE-787):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/tas2783-sdw.c:1129:17: warning[-Wanalyzer-out-of-bounds]: buffer overflow
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/tas2783-sdw.c:1097:12: enter_function: entry to ‘tas_read_prop’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/tas2783-sdw.c:1119:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/tas2783-sdw.c:1124:16: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/tas2783-sdw.c:1125:9: call_function: inlined call to ‘find_next_bit’ from ‘tas_read_prop’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/codecs/tas2783-sdw.c:1129:17: danger: write of 4 bytes at offset ‘136’ exceeds ‘*(void *)<unknown>’
# 1127|   		dpn[i].type = SDW_DPN_FULL;
# 1128|   		dpn[i].simple_ch_prep_sm = false;
# 1129|-> 		dpn[i].ch_prep_timeout = 10;
# 1130|   		i++;
# 1131|   	}

Error: COMPILER_WARNING (CWE-126):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/intel/avs/path.c:137:38: warning[-Wstringop-overread]: ‘strcmp’ reading 1 or more bytes from a region of size 0
#  137 |         return id->id == id2->id && !strcmp(id->tplg_name, id2->tplg_name);
#      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  ‘avs_condpaths_walk’: events 1-3
#  137 |         return id->id == id2->id && !strcmp(id->tplg_name, id2->tplg_name);
#      |                ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#      |                                  |   |
#      |                                  |   (3) warning happens here
#      |                                  (1) when the condition is evaluated to true
#......
#  155 |         if (id->id != path->template->owner->id ||
#      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#      |                                                 |
#      |                                                 (2) when the condition is evaluated to false
#  156 |             strcmp(id->tplg_name, path->template->owner->owner->name))
#      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/intel/avs/path.h:14: included_from: Included from here.
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/intel/avs/path.c:15: included_from: Included from here.
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/intel/avs/topology.h: scope_hint: In function ‘avs_condpaths_walk’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/intel/avs/topology.h:152:13: note: at offset 4 into source object ‘id’ of size 4
#  152 |         u32 id;
#      |             ^~
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/intel/avs/topology.h:152:13: note: at offset 4 into source object ‘id’ of size 4
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/intel/avs/topology.h:152:13: note: at offset 4 into source object ‘id’ of size 4
#  135|   					    struct avs_tplg_path_template_id *id2)
#  136|   {
#  137|-> 	return id->id == id2->id && !strcmp(id->tplg_name, id2->tplg_name);
#  138|   }
#  139|   

Error: COMPILER_WARNING (CWE-126):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/sound/soc/intel/avs/path.c:137:38: warning[-Wstringop-overread]: ‘strcmp’ reading 1 or more bytes from a region of size 0
#  135|   					    struct avs_tplg_path_template_id *id2)
#  136|   {
#  137|-> 	return id->id == id2->id && !strcmp(id->tplg_name, id2->tplg_name);
#  138|   }
#  139|   

Error: GCC_ANALYZER_WARNING (CWE-401):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/bpf/resolve_btfids/main.c:241:14: warning[-Wanalyzer-malloc-leak]: leak of ‘get_id(name + size)’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/bpf/resolve_btfids/main.c:776:5: enter_function: entry to ‘main’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/bpf/resolve_btfids/main.c:805:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/bpf/resolve_btfids/main.c:808:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/bpf/resolve_btfids/main.c:810:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/bpf/resolve_btfids/main.c:817:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/bpf/resolve_btfids/main.c:817:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/bpf/resolve_btfids/main.c:818:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/bpf/resolve_btfids/main.c:817:13: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/bpf/resolve_btfids/main.c:824:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/bpf/resolve_btfids/main.c:824:13: call_function: calling ‘symbols_collect’ from ‘main’
#  239|   		return NULL;
#  240|   
#  241|-> 	id = strdup(prefix_end + pos);
#  242|   	if (id) {
#  243|   		/*

Error: GCC_ANALYZER_WARNING (CWE-416):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/include/linux/list.h:107:9: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘atom’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-sched.c:3415:13: enter_function: entry to ‘__merge_work_atoms’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-sched.c:3422:16: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-sched.c:3428:29: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-sched.c:3440:25: call_function: inlined call to ‘list_splice_init’ from ‘__merge_work_atoms’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-sched.c:3441:28: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-sched.c:3446:25: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-sched.c:3446:25: call_function: calling ‘free_work_atoms’ from ‘__merge_work_atoms’
#  105|   static inline void list_del(struct list_head *entry)
#  106|   {
#  107|-> 	__list_del(entry->prev, entry->next);
#  108|   	entry->next = LIST_POISON1;
#  109|   	entry->prev = LIST_POISON2;

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-diff.c: scope_hint: In function ‘setup_compute’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-diff.c:244:16: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  244 |         option = strchr(str, ':');
#      |                ^
#  242|   	}
#  243|   
#  244|-> 	option = strchr(str, ':');
#  245|   	if (option) {
#  246|   		unsigned len = option++ - str;

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-diff.c:244:16: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  242|   	}
#  243|   
#  244|-> 	option = strchr(str, ':');
#  245|   	if (option) {
#  246|   		unsigned len = option++ - str;

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-list.c: scope_hint: In function ‘cmd_list’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-list.c:723:31: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  723 |                 else if ((sep = strchr(argv[i], ':')) != NULL) {
#      |                               ^
#  721|   			print_libpfm_events(&print_cb, ps);
#  722|   #endif
#  723|-> 		else if ((sep = strchr(argv[i], ':')) != NULL) {
#  724|   			char *old_pmu_glob = ps->pmu_glob;
#  725|   			char *old_event_glob = ps->event_glob;

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-list.c:723:31: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  721|   			print_libpfm_events(&print_cb, ps);
#  722|   #endif
#  723|-> 		else if ((sep = strchr(argv[i], ':')) != NULL) {
#  724|   			char *old_pmu_glob = ps->pmu_glob;
#  725|   			char *old_event_glob = ps->event_glob;

Error: GCC_ANALYZER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-sched.c:672:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘parms’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-sched.c:3662:12: enter_function: entry to ‘perf_sched__replay’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-sched.c:3670:15: call_function: calling ‘setup_cpus_switch_event’ from ‘perf_sched__replay’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-sched.c:3670:15: return_function: returning to ‘perf_sched__replay’ from ‘setup_cpus_switch_event’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-sched.c:3671:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-sched.c:3674:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-sched.c:3674:9: call_function: calling ‘calibrate_run_measurement_overhead’ from ‘perf_sched__replay’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-sched.c:3674:9: return_function: returning to ‘perf_sched__replay’ from ‘calibrate_run_measurement_overhead’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-sched.c:3675:9: call_function: calling ‘calibrate_sleep_measurement_overhead’ from ‘perf_sched__replay’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-sched.c:3675:9: return_function: returning to ‘perf_sched__replay’ from ‘calibrate_sleep_measurement_overhead’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-sched.c:3679:15: call_function: calling ‘perf_sched__read_events’ from ‘perf_sched__replay’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-sched.c:3679:15: return_function: returning to ‘perf_sched__replay’ from ‘perf_sched__read_events’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-sched.c:3680:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-sched.c:3683:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-sched.c:3687:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-sched.c:3689:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-sched.c:3689:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-sched.c:3691:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-sched.c:3691:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-sched.c:3695:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-sched.c:3695:9: call_function: calling ‘print_task_traces’ from ‘perf_sched__replay’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-sched.c:3695:9: return_function: returning to ‘perf_sched__replay’ from ‘print_task_traces’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-sched.c:3696:9: call_function: calling ‘add_cross_task_wakeups’ from ‘perf_sched__replay’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-sched.c:3696:9: return_function: returning to ‘perf_sched__replay’ from ‘add_cross_task_wakeups’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-sched.c:3699:9: call_function: calling ‘create_tasks’ from ‘perf_sched__replay’
#  670|   		struct sched_thread_parms *parms = malloc(sizeof(*parms));
#  671|   		BUG_ON(parms == NULL);
#  672|-> 		parms->task = task = sched->tasks[i];
#  673|   		parms->sched = sched;
#  674|   		parms->fd = self_open_counters(sched, i);

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-trace.c: scope_hint: In function ‘trace__parse_events_option’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-trace.c:5192:26: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 5192 |                 if ((sep = strchr(s, ',')) != NULL)
#      |                          ^
# 5190|   
# 5191|   	while (1) {
# 5192|-> 		if ((sep = strchr(s, ',')) != NULL)
# 5193|   			*sep = '\0';
# 5194|   

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/builtin-trace.c:5192:26: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 5190|   
# 5191|   	while (1) {
# 5192|-> 		if ((sep = strchr(s, ',')) != NULL)
# 5193|   			*sep = '\0';
# 5194|   

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/jvmti/libjvmti.c: scope_hint: In function ‘copy_class_filename’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/jvmti/libjvmti.c:145:27: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
#  145 |                 char *p = strrchr(class_sign, '/');
#      |                           ^~~~~~~
#  143|   	if (*class_sign == 'L') {
#  144|   		size_t j, i = 0;
#  145|-> 		char *p = strrchr(class_sign, '/');
#  146|   		if (p) {
#  147|   			/* drop the 'L' prefix and copy up to the final '/' */

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/jvmti/libjvmti.c:145:27: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
#  143|   	if (*class_sign == 'L') {
#  144|   		size_t j, i = 0;
#  145|-> 		char *p = strrchr(class_sign, '/');
#  146|   		if (p) {
#  147|   			/* drop the 'L' prefix and copy up to the final '/' */

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/tests/parse-events.c: scope_hint: In function ‘test_events’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/tests/parse-events.c:2615:29: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 2615 |                 while ((end = strstr(pos, "default_core"))) {
#      |                             ^
# 2613|   		char buf[1024], *buf_pos = buf, *end;
# 2614|   
# 2615|-> 		while ((end = strstr(pos, "default_core"))) {
# 2616|   			size_t len = end - pos;
# 2617|   

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/tests/parse-events.c:2615:29: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 2613|   		char buf[1024], *buf_pos = buf, *end;
# 2614|   
# 2615|-> 		while ((end = strstr(pos, "default_core"))) {
# 2616|   			size_t len = end - pos;
# 2617|   

Error: GCC_ANALYZER_WARNING (CWE-401):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/tests/pmu-events.c:958:17: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(*cur.<U9c80>.pkey)’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/tests/pmu-events.c:941:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/tests/pmu-events.c:945:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/tests/pmu-events.c:946:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/tests/pmu-events.c:946:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/tests/pmu-events.c:957:9: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/tests/pmu-events.c:957:9: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/tests/pmu-events.c:958:39: acquire_memory: allocated here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/tests/pmu-events.c:958:17: danger: ‘strdup(*cur.<U9c80>.pkey)’ leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
#  956|   	i = 1;
#  957|   	hashmap__for_each_entry(ctx->ids, cur, bkt)
#  958|-> 		expr__add_id_val(ctx, strdup(cur->pkey), i++);
#  959|   
#  960|   	hashmap__for_each_entry(ctx->ids, cur, bkt) {

Error: GCC_ANALYZER_WARNING (CWE-401):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/tests/pmu-events.c:975:25: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(*cur.<U9c80>.pkey)’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/tests/pmu-events.c:941:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/tests/pmu-events.c:945:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/tests/pmu-events.c:946:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/tests/pmu-events.c:946:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/tests/pmu-events.c:968:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/tests/pmu-events.c:968:12: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/tests/pmu-events.c:974:17: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/tests/pmu-events.c:974:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/tests/pmu-events.c:975:47: acquire_memory: allocated here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/tests/pmu-events.c:975:25: danger: ‘strdup(*cur.<U9c80>.pkey)’ leaks here; was allocated at [(9)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/8)
#  973|   		i = 1024;
#  974|   		hashmap__for_each_entry(ctx->ids, cur, bkt)
#  975|-> 			expr__add_id_val(ctx, strdup(cur->pkey), i--);
#  976|   		if (expr__parse(&result, ctx, str)) {
#  977|   			pr_err("expr__parse failed for %s\n", metric_name);

Error: COMPILER_WARNING:
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/tests/sw-clock.c: scope_hint: In function ‘__test__sw_clock_freq’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/tests/sw-clock.c:31:22: warning[-Wunused-but-set-variable=]: variable ‘tmp’ set but not used
#   31 |         volatile int tmp = 0;
#      |                      ^~~
#   29|   {
#   30|   	int i, err = -1;
#   31|-> 	volatile int tmp = 0;
#   32|   	u64 total_periods = 0;
#   33|   	int nr_samples = 0;

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/bpf-event.c: scope_hint: In function ‘kallsyms_process_symbol’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/bpf-event.c:740:16: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  740 |         module = strchr(_name, '\t');
#      |                ^
#  738|   	int err = 0;
#  739|   
#  740|-> 	module = strchr(_name, '\t');
#  741|   	if (!module)
#  742|   		return 0;

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/bpf-event.c:740:16: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  738|   	int err = 0;
#  739|   
#  740|-> 	module = strchr(_name, '\t');
#  741|   	if (!module)
#  742|   		return 0;

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/demangle-java.c: scope_hint: In function ‘java_demangle_sym’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/demangle-java.c:168:11: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  168 |         p = strrchr(str, ')');
#      |           ^
#  166|   
#  167|   	/* find start of return type */
#  168|-> 	p = strrchr(str, ')');
#  169|   	if (!p)
#  170|   		return NULL;

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/demangle-java.c:168:11: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  166|   
#  167|   	/* find start of return type */
#  168|-> 	p = strrchr(str, ')');
#  169|   	if (!p)
#  170|   		return NULL;

Error: GCC_ANALYZER_WARNING (CWE-1341):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/evlist.c:1545:9: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘go_pipe[0]’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/evlist.c:1439:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/evlist.c:1444:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/evlist.c:1444:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/evlist.c:1449:32: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/evlist.c:1450:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/evlist.c:1455:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/evlist.c:1455:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/evlist.c:1512:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/evlist.c:1530:9: release_resource: first ‘close’ here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/evlist.c:1534:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/evlist.c:1535:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/evlist.c:1545:9: danger: second ‘close’ here; first ‘close’ was at [(12)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/11)
# 1543|   
# 1544|   out_close_pipes:
# 1545|-> 	close(go_pipe[0]);
# 1546|   	close(go_pipe[1]);
# 1547|   out_close_ready_pipe:

Error: GCC_ANALYZER_WARNING (CWE-1341):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/evlist.c:1549:9: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘child_ready_pipe[1]’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/evlist.c:1439:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/evlist.c:1444:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/evlist.c:1444:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/evlist.c:1449:32: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/evlist.c:1450:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/evlist.c:1455:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/evlist.c:1455:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/evlist.c:1512:12: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/evlist.c:1529:9: release_resource: first ‘close’ here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/evlist.c:1534:12: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/evlist.c:1535:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/evlist.c:1549:9: danger: second ‘close’ here; first ‘close’ was at [(12)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/11)
# 1547|   out_close_ready_pipe:
# 1548|   	close(child_ready_pipe[0]);
# 1549|-> 	close(child_ready_pipe[1]);
# 1550|   	return -1;
# 1551|   }

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/evlist.c: scope_hint: In function ‘evlist__parse_control’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/evlist.c:1959:15: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 1959 |         comma = strchr(str, ',');
#      |               ^
# 1957|   		return -EINVAL;
# 1958|   
# 1959|-> 	comma = strchr(str, ',');
# 1960|   	if (comma) {
# 1961|   		if (endptr != comma)

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/evlist.c:1959:15: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 1957|   		return -EINVAL;
# 1958|   
# 1959|-> 	comma = strchr(str, ',');
# 1960|   	if (comma) {
# 1961|   		if (endptr != comma)

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/hwmon_pmu.c: scope_hint: In function ‘parse_hwmon_filename’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/hwmon_pmu.c:189:14: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  189 |         elem = bsearch(&fn_type, hwmon_type_strs + 1, ARRAY_SIZE(hwmon_type_strs) - 1,
#      |              ^
#  187|   		return false;
#  188|   	}
#  189|-> 	elem = bsearch(&fn_type, hwmon_type_strs + 1, ARRAY_SIZE(hwmon_type_strs) - 1,
#  190|   		       sizeof(hwmon_type_strs[0]), hwmon_strcmp);
#  191|   	if (!elem) {

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/hwmon_pmu.c:189:14: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  187|   		return false;
#  188|   	}
#  189|-> 	elem = bsearch(&fn_type, hwmon_type_strs + 1, ARRAY_SIZE(hwmon_type_strs) - 1,
#  190|   		       sizeof(hwmon_type_strs[0]), hwmon_strcmp);
#  191|   	if (!elem) {

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/hwmon_pmu.c:209:14: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  209 |         elem = bsearch(fn_item, hwmon_item_strs + 1, ARRAY_SIZE(hwmon_item_strs) - 1,
#      |              ^
#  207|   		*alarm = true;
#  208|   	}
#  209|-> 	elem = bsearch(fn_item, hwmon_item_strs + 1, ARRAY_SIZE(hwmon_item_strs) - 1,
#  210|   		       sizeof(hwmon_item_strs[0]), hwmon_strcmp);
#  211|   	if (!elem) {

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/hwmon_pmu.c:209:14: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  207|   		*alarm = true;
#  208|   	}
#  209|-> 	elem = bsearch(fn_item, hwmon_item_strs + 1, ARRAY_SIZE(hwmon_item_strs) - 1,
#  210|   		       sizeof(hwmon_item_strs[0]), hwmon_strcmp);
#  211|   	if (!elem) {

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/jitdump.c: scope_hint: In function ‘jit_detect’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/jitdump.c:769:11: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  769 |         p = strrchr(mmap_name, '/');
#      |           ^
#  767|   	 * get file name
#  768|   	 */
#  769|-> 	p = strrchr(mmap_name, '/');
#  770|   	if (!p)
#  771|   		return -1;

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/jitdump.c:769:11: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  767|   	 * get file name
#  768|   	 */
#  769|-> 	p = strrchr(mmap_name, '/');
#  770|   	if (!p)
#  771|   		return -1;

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/metricgroup.c: scope_hint: In function ‘match_metric_or_groups’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/metricgroup.c:382:11: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  382 |         m = strchr(metric_or_groups, ';');
#      |           ^
#  380|   	    (metric_or_groups[len] == 0 || metric_or_groups[len] == ';'))
#  381|   		return true;
#  382|-> 	m = strchr(metric_or_groups, ';');
#  383|   	return m && match_metric_or_groups(m + 1, sought);
#  384|   }

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/metricgroup.c:382:11: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  380|   	    (metric_or_groups[len] == 0 || metric_or_groups[len] == ';'))
#  381|   		return true;
#  382|-> 	m = strchr(metric_or_groups, ';');
#  383|   	return m && match_metric_or_groups(m + 1, sought);
#  384|   }

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/metricgroup.c: scope_hint: In function ‘encode_metric_id’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/metricgroup.c:457:19: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  457 |                 c = strchr(code_characters, *x);
#      |                   ^
#  455|   
#  456|   	for (; *x; x++) {
#  457|-> 		c = strchr(code_characters, *x);
#  458|   		if (c) {
#  459|   			ret = strbuf_addch(sb, '!');

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/metricgroup.c:457:19: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  455|   
#  456|   	for (; *x; x++) {
#  457|-> 		c = strchr(code_characters, *x);
#  458|   		if (c) {
#  459|   			ret = strbuf_addch(sb, '!');

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/print-events.c: scope_hint: In function ‘print_sdt_events’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/print-events.c:89:29: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
#   89 |                 char *bid = strchr(sdt_name->s, '@');
#      |                             ^~~~~~
#   87|   	strlist__for_each_entry(sdt_name, sdtlist) {
#   88|   		bool show_detail = false;
#   89|-> 		char *bid = strchr(sdt_name->s, '@');
#   90|   		char *evt_name = NULL;
#   91|   

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/print-events.c:89:29: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
#   87|   	strlist__for_each_entry(sdt_name, sdtlist) {
#   88|   		bool show_detail = false;
#   89|-> 		char *bid = strchr(sdt_name->s, '@');
#   90|   		char *evt_name = NULL;
#   91|   

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/print-events.c:100:46: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
#  100 |                                 char *bid2 = strchr(next_sdt_name->s, '@');
#      |                                              ^~~~~~
#   98|   			next_sdt_name = strlist__next(sdt_name);
#   99|   			if (next_sdt_name) {
#  100|-> 				char *bid2 = strchr(next_sdt_name->s, '@');
#  101|   
#  102|   				if (bid2)

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/print-events.c:100:46: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
#   98|   			next_sdt_name = strlist__next(sdt_name);
#   99|   			if (next_sdt_name) {
#  100|-> 				char *bid2 = strchr(next_sdt_name->s, '@');
#  101|   
#  102|   				if (bid2)

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/session.c: scope_hint: In function ‘map__set_kallsyms_ref_reloc_sym’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/session.c:2637:17: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 2637 |         bracket = strchr(ref->name, ']');
#      |                 ^
# 2635|   	}
# 2636|   
# 2637|-> 	bracket = strchr(ref->name, ']');
# 2638|   	if (bracket)
# 2639|   		*bracket = '\0';

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/session.c:2637:17: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 2635|   	}
# 2636|   
# 2637|-> 	bracket = strchr(ref->name, ']');
# 2638|   	if (bracket)
# 2639|   		*bracket = '\0';

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/strlist.c: scope_hint: In function ‘strlist__parse_list’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/strlist.c:147:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  147 |         while ((sep = strchr(s, ',')) != NULL) {
#      |                     ^
#  145|   	int err;
#  146|   
#  147|-> 	while ((sep = strchr(s, ',')) != NULL) {
#  148|   		*sep = '\0';
#  149|   		err = strlist__parse_list_entry(slist, s, subst_dir);

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/strlist.c:147:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  145|   	int err;
#  146|   
#  147|-> 	while ((sep = strchr(s, ',')) != NULL) {
#  148|   		*sep = '\0';
#  149|   		err = strlist__parse_list_entry(slist, s, subst_dir);

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/time-utils.c: scope_hint: In function ‘perf_time__percent_parse_str’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/time-utils.c:372:11: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  372 |         c = strchr(ostr, '/');
#      |           ^
#  370|   	memset(ptime_buf, 0, sizeof(*ptime_buf) * num);
#  371|   
#  372|-> 	c = strchr(ostr, '/');
#  373|   	if (c) {
#  374|   		return percent_comma_split(ptime_buf, num, ostr, start,

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/time-utils.c:372:11: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  370|   	memset(ptime_buf, 0, sizeof(*ptime_buf) * num);
#  371|   
#  372|-> 	c = strchr(ostr, '/');
#  373|   	if (c) {
#  374|   		return percent_comma_split(ptime_buf, num, ostr, start,

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/time-utils.c:378:11: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  378 |         c = strchr(ostr, '-');
#      |           ^
#  376|   	}
#  377|   
#  378|-> 	c = strchr(ostr, '-');
#  379|   	if (c) {
#  380|   		return percent_comma_split(ptime_buf, num, ostr, start,

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/time-utils.c:378:11: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  376|   	}
#  377|   
#  378|-> 	c = strchr(ostr, '-');
#  379|   	if (c) {
#  380|   		return percent_comma_split(ptime_buf, num, ostr, start,

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/time-utils.c:384:11: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  384 |         c = strchr(ostr, '%');
#      |           ^
#  382|   	}
#  383|   
#  384|-> 	c = strchr(ostr, '%');
#  385|   	if (c)
#  386|   		return one_percent_convert(ptime_buf, ostr, start, end, c);

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/time-utils.c:384:11: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  382|   	}
#  383|   
#  384|-> 	c = strchr(ostr, '%');
#  385|   	if (c)
#  386|   		return one_percent_convert(ptime_buf, ostr, start, end, c);

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/tp_pmu.c: scope_hint: In function ‘tp_pmu__have_event’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/tp_pmu.c:195:15: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  195 |         colon = strchr(name, ':');
#      |               ^
#  193|   	int id;
#  194|   
#  195|-> 	colon = strchr(name, ':');
#  196|   	if (colon == NULL)
#  197|   		return false;

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/tp_pmu.c:195:15: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#  193|   	int id;
#  194|   
#  195|-> 	colon = strchr(name, ':');
#  196|   	if (colon == NULL)
#  197|   		return false;

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/trace-event-info.c: scope_hint: In function ‘tracepoint_name_to_path’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/trace-event-info.c:485:21: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
#  485 |         char *str = strchr(name, ':');
#      |                     ^~~~~~
#  483|   {
#  484|   	struct tracepoint_path *path = zalloc(sizeof(*path));
#  485|-> 	char *str = strchr(name, ':');
#  486|   
#  487|   	if (path == NULL || str == NULL) {

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/trace-event-info.c:485:21: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
#  483|   {
#  484|   	struct tracepoint_path *path = zalloc(sizeof(*path));
#  485|-> 	char *str = strchr(name, ':');
#  486|   
#  487|   	if (path == NULL || str == NULL) {

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/units.c: scope_hint: In function ‘parse_tag_value’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/units.c:15:27: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
#   15 |                 char *s = strchr(str, i->tag);
#      |                           ^~~~~~
#   13|   
#   14|   	while (i->tag) {
#   15|-> 		char *s = strchr(str, i->tag);
#   16|   
#   17|   		if (s) {

Error: COMPILER_WARNING (CWE-704):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/perf/util/units.c:15:27: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
#   13|   
#   14|   	while (i->tag) {
#   15|-> 		char *s = strchr(str, i->tag);
#   16|   
#   17|   		if (s) {

Error: GCC_ANALYZER_WARNING (CWE-401):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/bpf/trace_helpers.c:641:24: warning[-Wanalyzer-malloc-leak]: leak of ‘ksyms’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/bpf/trace_helpers.c:613:5: enter_function: entry to ‘bpf_get_ksyms’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/bpf/trace_helpers.c:624:17: call_function: calling ‘load_kallsyms_custom_local’ from ‘bpf_get_ksyms’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/bpf/trace_helpers.c:624:17: return_function: returning to ‘bpf_get_ksyms’ from ‘load_kallsyms_custom_local’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/bpf/trace_helpers.c:625:12: branch_false: following ‘false’ branch (when ‘ksyms’ is non-NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/bpf/trace_helpers.c:635:13: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/bpf/trace_helpers.c:640:12: branch_true: following ‘true’ branch (when ‘f’ is NULL)...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/bpf/trace_helpers.c:641:24: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/bpf/trace_helpers.c:641:24: danger: ‘ksyms’ leaks here; was allocated at [(8)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/7)
#  639|   
#  640|   	if (!f)
#  641|-> 		return -EINVAL;
#  642|   
#  643|   	map = hashmap__new(symbol_hash, symbol_equal, NULL);

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:463:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ver_cap’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:410:5: enter_function: entry to ‘main’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:421:9: call_function: calling ‘parse_cmd_opts’ from ‘main’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:421:9: return_function: returning to ‘main’ from ‘parse_cmd_opts’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:422:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:425:14: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:426:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:431:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:432:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:439:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:439:9: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:453:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:455:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:459:19: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:459:19: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:460:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:463:12: danger: use of uninitialized value ‘ver_cap’ here
#  461|   	}
#  462|   
#  463|-> 	if (ver_ena != ver_cap) {
#  464|   		ret = psp_dev_set_ena(ys, opts.devid, ver_cap);
#  465|   		if (ret)

Error: GCC_ANALYZER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:463:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ver_ena’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:410:5: enter_function: entry to ‘main’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:421:9: call_function: calling ‘parse_cmd_opts’ from ‘main’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:421:9: return_function: returning to ‘main’ from ‘parse_cmd_opts’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:422:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:425:14: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:426:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:431:20: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:432:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:439:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:439:9: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:453:9: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:455:12: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:459:19: branch_false: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:459:19: branch_true: following ‘true’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:460:17: branch_true: ...to here
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:463:12: danger: use of uninitialized value ‘ver_ena’ here
#  461|   	}
#  462|   
#  463|-> 	if (ver_ena != ver_cap) {
#  464|   		ret = psp_dev_set_ena(ys, opts.devid, ver_cap);
#  465|   		if (ret)

Error: COMPILER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:463:12: warning[-Wmaybe-uninitialized]: ‘ver_cap’ may be used uninitialized
#  463 |         if (ver_ena != ver_cap) {
#      |            ^
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:414:24: note: ‘ver_cap’ was declared here
#  414 |         __u32 ver_ena, ver_cap;
#      |                        ^~~~~~~
#  461|   	}
#  462|   
#  463|-> 	if (ver_ena != ver_cap) {
#  464|   		ret = psp_dev_set_ena(ys, opts.devid, ver_cap);
#  465|   		if (ret)

Error: COMPILER_WARNING (CWE-457):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c: scope_hint: In function ‘main’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:463:12: warning[-Wmaybe-uninitialized]: ‘ver_ena’ may be used uninitialized
#  463 |         if (ver_ena != ver_cap) {
#      |            ^
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/drivers/net/psp_responder.c:414:15: note: ‘ver_ena’ was declared here
#  414 |         __u32 ver_ena, ver_cap;
#      |               ^~~~~~~
#  461|   	}
#  462|   
#  463|-> 	if (ver_ena != ver_cap) {
#  464|   		ret = psp_dev_set_ena(ys, opts.devid, ver_cap);
#  465|   		if (ret)

Error: GCC_ANALYZER_WARNING (CWE-688):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/filesystems/anon_inode_test.c:45:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/filesystems/anon_inode_test.c:43:9: branch_false: following ‘false’ branch...
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/filesystems/anon_inode_test.c:45:9: danger: argument 3 NULL where non-null expected
#   43|   	ASSERT_GE(fd_context, 0);
#   44|   
#   45|-> 	ASSERT_LT(execveat(fd_context, "", NULL, NULL, AT_EMPTY_PATH), 0);
#   46|   	ASSERT_EQ(errno, EACCES);
#   47|   

Error: COMPILER_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/filesystems/anon_inode_test.c:9: included_from: Included from here.
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/filesystems/anon_inode_test.c: scope_hint: In function ‘anon_inode_no_exec’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/filesystems/anon_inode_test.c:45:19: warning[-Wnonnull]: argument 3 null where non-null expected
#   45 |         ASSERT_LT(execveat(fd_context, "", NULL, NULL, AT_EMPTY_PATH), 0);
#      |                   ^~~~~~~~
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/kselftest_harness.h:767:40: note: in definition of macro ‘__EXPECT’
#  767 |         __typeof__(_expected) __exp = (_expected); \
#      |                                        ^~~~~~~~~
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/filesystems/anon_inode_test.c:45:9: note: in expansion of macro ‘ASSERT_LT’
#   45 |         ASSERT_LT(execveat(fd_context, "", NULL, NULL, AT_EMPTY_PATH), 0);
#      |         ^~~~~~~~~
/usr/include/bits/sigstksz.h:24: included_from: Included from here.
/usr/include/signal.h:328: included_from: Included from here.
/usr/include/sys/wait.h:36: included_from: Included from here.
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/kselftest_harness.h:68: included_from: Included from here.
/usr/include/unistd.h:300:12: note: in a call to function ‘execveat’ declared ‘nonnull’
#  300 | extern int execveat (int __fd, const char *__path, char *const __argv[],
#      |            ^~~~~~~~
#   43|   	ASSERT_GE(fd_context, 0);
#   44|   
#   45|-> 	ASSERT_LT(execveat(fd_context, "", NULL, NULL, AT_EMPTY_PATH), 0);
#   46|   	ASSERT_EQ(errno, EACCES);
#   47|   

Error: CPPCHECK_WARNING (CWE-476):
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/testing/selftests/mm/pagemap_ioctl.c:1171: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: tmp_buf
# 1169|   
# 1170|   	tmp_buf = malloc(sbuf.st_size);
# 1171|-> 	memcpy(tmp_buf, fmem, sbuf.st_size);
# 1172|   
# 1173|   	ret = pagemap_ioctl(fmem, sbuf.st_size, vec, vec_size, 0, 0,

Error: COMPILER_WARNING:
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/thermal/tmon/tmon.c: scope_hint: In function ‘main’
kernel-6.19.10/linux-6.19.10-300.fc45.x86_64/tools/thermal/tmon/tmon.c:233:25: warning[-Wstringop-truncation]: ‘__builtin_strncpy’ specified bound 20 equals destination size
#  233 |                         strncpy(ctrl_cdev, optarg, CDEV_NAME_SIZE);
#      |                         ^
#  231|   		case 'c':
#  232|   			no_control = 0;
#  233|-> 			strncpy(ctrl_cdev, optarg, CDEV_NAME_SIZE);
#  234|   			break;
#  235|   		case 'd':