Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1153993rwd; Tue, 16 May 2023 12:37:47 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6JDJ2KK5riArtLFWzXrpSlOYU4qlui3/CXxJZLzGVPWHKVE7TpS2DMTJ0oKHWa/yVjYgT0 X-Received: by 2002:a05:6a00:248d:b0:626:29ed:941f with SMTP id c13-20020a056a00248d00b0062629ed941fmr52794188pfv.5.1684265867119; Tue, 16 May 2023 12:37:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684265867; cv=none; d=google.com; s=arc-20160816; b=xiqU2MEahwytPtex+KZ+XgM2ZDMOkrN8l2B8eBoom32IEUVYpG44jNx2Bj1jDW4h7x rgB7DH1SzY9VfsJcK8hejiDef6nIcKPnkbHsIhIiR4c/jifbVlumsfBoKNx/WkcOB6Gl nlFlZ/KuPhGhlOLAZ1JW9pEp2OJsAqecVtkrU7TC9ifp69IEIbKitGDz984tR4OEllSY TBqvM3paUC07ulN7AWCv+c7aMicm6nlHl9PbwhUFSSxsCdzcX2Qu53rQKo3jXLWirrqv 02J4rLdIpmpgeOwHg7YHFiE1uRfB6TBUxmeunDIavLzlqiKZcuoGgzUjIhxlrLeUZKbz BMiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=8vviqZhmlTEEOY5Xhpd6Q0/A7Ui0Wl7KPzyxgmh5lsc=; b=cSzoKm+CFsAx3ZX34QKIGinOnQYK8ewsq14MGS1a54zhg8142xw59VzUX1a7aNngxc J8LBU0erYjybFb7is1Jt+0dwEZw6rvu/whQUgVpCAoaE6lx9k8SswIoa/q6HsbTZRPMF F1mL0csEl9eot72GUGLeEEH8Aft0hLHEGxlPnFYdIvAiJJSvv+242ZHma/Hv6uYDZq9p VjCjmgVXm4UQhWxFUTJ64m5xw6kjNu6acK5besFEY1f59RbKBbk4pdxDjuEqRx8GcKu4 ahe2ZKwZ3YhJgBBR7OfukN2ZHyi3hIUi0RrCjTv87rDYAZO4CHprfLpu+NhbUhBZUxZE 56UA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=WYDQcjGo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w191-20020a6382c8000000b00520603e8e25si19080775pgd.67.2023.05.16.12.37.35; Tue, 16 May 2023 12:37:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=WYDQcjGo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229702AbjEPTYm (ORCPT + 99 others); Tue, 16 May 2023 15:24:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229539AbjEPTYl (ORCPT ); Tue, 16 May 2023 15:24:41 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66C914C3C; Tue, 16 May 2023 12:24:40 -0700 (PDT) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34GJOaId006175; Tue, 16 May 2023 19:24:36 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=8vviqZhmlTEEOY5Xhpd6Q0/A7Ui0Wl7KPzyxgmh5lsc=; b=WYDQcjGouc1wq/j0YLbugNDu5j1nZ5mVejPI/AZ1jP9jj3i6apdCCgYa8PjC1cbFWbQM TMe+7xUipwtrPkbxY9jfMgp353YPo7qQUo1vgJkE0w2wUnf0lBMIQYvNFYdt3QYCihd4 XRhQuWlRzrXfJwOVfZLzSeITe2zAZ6BTGmEtkqmDXn3dcXtBIwbSJoswi9ypJJroowqU PZ+9rQsC0A8O7WQ8u4yxwBAT9DYQ0xm5jvBz5r1XL+jz2aKZter9sQyUnw+Ukpu/ZtHn wYw0Crc3LrhhBeApjhFhlb8o6SMvglvL+c8WMieTFun9AlUT+9ktkk4jdHJS3Jz/j7bv dg== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qme0m88cj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 May 2023 19:24:35 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 34GJOYAV001293 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 May 2023 19:24:34 GMT Received: from [10.226.59.182] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Tue, 16 May 2023 12:24:33 -0700 Message-ID: Date: Tue, 16 May 2023 13:24:33 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 Subject: Re: [PATCH] accel/qaic: silence some uninitialized variable warnings Content-Language: en-US To: Dan Carpenter CC: Oded Gabbay , , , , References: <2d1fb58f-f98b-ba17-65e9-9ea4b467102a@quicinc.com> From: Jeffrey Hugo In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: 5G8ovkwBvnpcHAJ343cCXZs5G7-5UddB X-Proofpoint-ORIG-GUID: 5G8ovkwBvnpcHAJ343cCXZs5G7-5UddB X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-16_11,2023-05-16_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 impostorscore=0 suspectscore=0 phishscore=0 malwarescore=0 bulkscore=0 spamscore=0 adultscore=0 mlxlogscore=856 mlxscore=0 lowpriorityscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305160163 X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/10/2023 10:48 AM, Dan Carpenter wrote: > On Wed, May 10, 2023 at 08:57:03AM -0600, Jeffrey Hugo wrote: >> On 5/3/2023 4:41 AM, Dan Carpenter wrote: >>> Smatch complains that these are not initialized if get_cntl_version() >>> fails but we still print them in the debug message. Not the end of >>> the world, but true enough. Let's just initialize them to a dummy value >>> to make the checker happy. >>> >>> Signed-off-by: Dan Carpenter >> >> Thanks for the cleanup. >> >> Reviewed-by: Jeffrey Hugo >> >> Could use a fixes tag > > The fixes tag thing could have gone either way. It's really minor. > >> and also I'd prefer to maintain the style of sorting >> the variable declaration lines by line length. Given the minor nature of >> these nits, I plan to address them. > > Thanks! Pushed to drm-misc-fixes -Jeff