Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7427893rwr; Wed, 10 May 2023 08:07:56 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5Jidks/0dCwBErmvSJr5YT4KMkkDJauuF67LWusdYQOpLamQS2iLy74pxnWI/Edu0btu/f X-Received: by 2002:a05:6808:6282:b0:38e:eaf:cf26 with SMTP id du2-20020a056808628200b0038e0eafcf26mr2628320oib.22.1683731276305; Wed, 10 May 2023 08:07:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683731276; cv=none; d=google.com; s=arc-20160816; b=pba4NMF8XE0jQn1vmV6Vy9COQfdfrHxoX/wqeu/XSFGg9FEg4U4DiHIsu8eM5P01Cm MHlna3wBH63seWUTBUx7SnUJtmr8rM4sCrbd8LRgSvxchXyomivDP4JLPqLkfpYkDNO1 DP+SYW667WLYjvWywfKb1SlliJDg+9PV1X6e6V1Za71fLVeUnFQF8iebrSvl5f0LKhVj sJ6+fHbbYIusLwe6uV177/PYxb8j11mO8j2DQa2DP2cog46ONEfbZBCdvs4hECm51tlm Lvor9ykJ+eHBV8j2aEbejie9xnmUM9ClXgsiKgDruVrgcUL5V83Or67YM0s4ouejm5zf D2Yw== 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=sM0lPnSnMR85dWalCPE6DM0jV4KlJsaqVN8HJDT/jJI=; b=HKX/u6TlBWohnwVQ58gA0o2EqEmS4oMeh6LviU4tQNcVc+midbj6WV/cX4RWUJ9ZI+ X3gWhQm1sv/QJo9lXnnILoJY5axQmYuCZKUDCZF3xdfVJgSndgarXhtL15oUNH+srsHY 27jaOtJMmZWn9A02ViYocVYGPEKQVYH/WRZfhw34sOvlV6qNRol1VL1kT9bcPTuz1Cx8 rs5KAtDR+mV/ML2ZMx9b7nDFrLr1eOXU3O/d4eKGp9Oa8Z3dnZxKSfL/OCRqvPkdxnd9 5meiBzH5ZKSc2DL/O3LXEWAlMa04MYZCv1BpyQzIgpSi4B8z1INGCJr5cGUkpRSWTHFY WuUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=HccFqMlx; 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 w3-20020aca6203000000b0039445f83efasi92802oib.1.2023.05.10.08.07.42; Wed, 10 May 2023 08:07:56 -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=HccFqMlx; 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 S237610AbjEJO5O (ORCPT + 99 others); Wed, 10 May 2023 10:57:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237146AbjEJO5N (ORCPT ); Wed, 10 May 2023 10:57:13 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C201DF; Wed, 10 May 2023 07:57:11 -0700 (PDT) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34AE8D0k014769; Wed, 10 May 2023 14:57:06 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=sM0lPnSnMR85dWalCPE6DM0jV4KlJsaqVN8HJDT/jJI=; b=HccFqMlxfqarfy4KiEqPD+LE6H8SSUECSowCbYHa/CELhlaOlLxqwWGXLHh+2ONzJKyT jOw689IWLCk+KY5iDo6oo6wzw4Ey2TZqMEpAeUnEZwYv9B8uvzkJzIPQsEj1ufkYCJ7X gyBqE81K0cAXufwF3Eb6ZzQGbHxfH55VLQIwUFiTeEuSenP5KXmOWeI5a1ml8MFZAy2g w/8rqVYSoYZLNoo+CjPKlC0H23rI+LZWRW9SK31xsVWwR78lU/c36VH+oCHRwh3PKN5G NnouW4Ic3YobTe1gMtRcAnAEbP7Arf0ZqaCdkS8KR+WVgD42Go7E3E/4cAFV6UdYqa77 yg== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qfw3d1s17-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 10 May 2023 14:57:05 +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 34AEv49n028154 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 10 May 2023 14:57:04 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; Wed, 10 May 2023 07:57:04 -0700 Message-ID: <2d1fb58f-f98b-ba17-65e9-9ea4b467102a@quicinc.com> Date: Wed, 10 May 2023 08:57:03 -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: 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: nasanex01a.na.qualcomm.com (10.52.223.231) 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-ORIG-GUID: Mug3i2VXkPTwLSIbbbTCpYZj0m2y0eCw X-Proofpoint-GUID: Mug3i2VXkPTwLSIbbbTCpYZj0m2y0eCw X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-10_04,2023-05-05_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1011 lowpriorityscore=0 malwarescore=0 impostorscore=0 adultscore=0 mlxlogscore=846 mlxscore=0 bulkscore=0 suspectscore=0 phishscore=0 spamscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305100121 X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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/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, 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.