From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,UNPARSEABLE_RELAY,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 35140C433E4 for ; Fri, 10 Jul 2020 17:32:52 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 05DC620725 for ; Fri, 10 Jul 2020 17:32:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="P1qcgfk0" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 05DC620725 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=oracle.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 68F886ECBC; Fri, 10 Jul 2020 17:32:51 +0000 (UTC) Received: from aserp2120.oracle.com (aserp2120.oracle.com [141.146.126.78]) by gabe.freedesktop.org (Postfix) with ESMTPS id B14886EC55 for ; Fri, 10 Jul 2020 14:11:57 +0000 (UTC) Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 06AE2haA026034; Fri, 10 Jul 2020 14:11:55 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : mime-version : content-type; s=corp-2020-01-29; bh=ty/FrZjQKJTPJjyny7KJ2OX3VKdCrbXQLiStxD3Xurs=; b=P1qcgfk0qmALz5BK5KGNNamZVOahF4bnN5veRTD1bEgDSR/kvB3/PJRKNuFSrTyqYqTN 5p27+NFb9rENVnhxgSckI+zE2FYHqRdDCu7ugGycd0Yk36C+BQBCCuJclrQ7dXycU13a 5Feju8d78SbfcxpvnxnJ+XSCxPxGhTu0anEmrnGNsq5fLgshdVMSeTwEH5zxqas2OGKt kYt2ty5jQ50+pUp8OmPUN8SrL7oHWc6QKqJbe6h9gvzVGrCgQt4YO15LWF8uDzfWZ0iP YNFS4Dh2xVNi2dRaQXFePmWW9hcFoTJhuH+jXSs4+HlZQkGXBR7f3xyoCg59YHJqViHj 9w== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by aserp2120.oracle.com with ESMTP id 325y0aqnqc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 10 Jul 2020 14:11:55 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 06AE9NmQ080665; Fri, 10 Jul 2020 14:11:55 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserp3030.oracle.com with ESMTP id 325k3jxtfh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 10 Jul 2020 14:11:54 +0000 Received: from abhmp0017.oracle.com (abhmp0017.oracle.com [141.146.116.23]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 06AEBrwk016998; Fri, 10 Jul 2020 14:11:53 GMT Received: from mwanda (/41.57.98.10) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 10 Jul 2020 07:11:52 -0700 Date: Fri, 10 Jul 2020 17:11:47 +0300 From: To: Message-ID: <20200710141147.GA135232@mwanda> MIME-Version: 1.0 Content-Disposition: inline X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9677 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 phishscore=0 mlxlogscore=999 bulkscore=0 spamscore=0 mlxscore=0 adultscore=0 suspectscore=3 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2007100099 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9677 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 mlxscore=0 priorityscore=1501 spamscore=0 phishscore=0 clxscore=1011 mlxlogscore=999 lowpriorityscore=0 malwarescore=0 bulkscore=0 suspectscore=3 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2007100098 X-Mailman-Approved-At: Fri, 10 Jul 2020 17:32:50 +0000 Subject: [Intel-gfx] [bug report] drm/i915: Move the engine mask to intel_gt_info X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Hello Daniele Ceraolo Spurio, This is a semi-automatic email about new static checker warnings. The patch 792592e72aba: "drm/i915: Move the engine mask to intel_gt_info" from Jul 7, 2020, leads to the following Smatch complaint: drivers/gpu/drm/i915/i915_gpu_error.c:801 __err_print_to_sgl() error: we previously assumed 'error->gt' could be null (see line 792) drivers/gpu/drm/i915/i915_gpu_error.c 791 792 if (error->gt) ^^^^^^^^^ Existing code checks for NULL. 793 err_print_gt(m, error->gt); 794 795 if (error->overlay) 796 intel_overlay_print_error_state(m, error->overlay); 797 798 if (error->display) 799 intel_display_print_error_state(m, error->display); 800 801 err_print_capabilities(m, error); ^^^^^ Unchecked dereference inside function call. 802 err_print_params(m, &error->params); 803 } regards, dan carpenter _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx