Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7588839rwr; Wed, 10 May 2023 09:59:10 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4zlaAVAaoc0KLZMb5Wcyhs1MES69Z8udw46A1A0yuueMCuBYzZ2Rz11bTgdHCjE1bHcy9v X-Received: by 2002:a17:90a:fa91:b0:246:634d:a89c with SMTP id cu17-20020a17090afa9100b00246634da89cmr17899951pjb.41.1683737949851; Wed, 10 May 2023 09:59:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683737949; cv=none; d=google.com; s=arc-20160816; b=wn0w6R4//s8sXaP03D515pkhFt4Zzz7kx5/7upRNhw/W57KQkJ+CPWeyRdcq3diuIJ 61pBe4KmnuTckb6FDCSqGC32PiHDvBPoknnTmuAYwlsaY4LSoL5SKAfqrZSGYSJ9ahUt 5SkaHWK4SH+WdQqJAoVvvf460OaCLUebDJA8p8vbMTAz5tmJ6glluGBBdy/85Jtu5cqq 5MaxFI7HOFFlJ4Zl2Iaqt6h6ILzijxlKmc+6JrUxgnwfTkG+rs2B/VH2CsMoDBabBeRC qXkogEf+XVC/xAPGYMZqufoANpf9UPf/0Twk+NtrTt5RroBvyWoF4d5JRuwX8XriYjvQ NdJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=MwVVyzBwHFgq5mjt1+OBVM71N6e1slDHiUKoKcjYW0Q=; b=ju9b4/KMFndgJRR4wPXrC0JKfi7qZwYSgnF9na/RgjEMvi/OL9NdFSCv7aiD3TAY0p ePDu3ku1OG24LJxQoZcfhqpPik/9zRlCYFGSWtQZN8wQDDyR2TALZAXZygt2qSjVOgr0 cDrX+BPXsyDNqso7aK4CPJ3WkZ29jYhS/RKonr9w14Y66z/WmigO6QUpcoWyJuGjKdwX VLdoaIitodZtA/nkx7ej1lQtAAYSSR1O/AIQeP15keSd1B2z6x8vgo0apVswRMqi3mbC Rxg5wWyEjbv7ggsX6YxviXactIGOauf6q4P0OWdfNFbplcDCO9vzuirHB6KeP73LdmP7 xngg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yy0HCIvU; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z19-20020a63e113000000b0052c4fdb2c7fsi4443467pgh.635.2023.05.10.09.58.54; Wed, 10 May 2023 09:59:09 -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=@linaro.org header.s=google header.b=yy0HCIvU; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229711AbjEJQs1 (ORCPT + 99 others); Wed, 10 May 2023 12:48:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229580AbjEJQs0 (ORCPT ); Wed, 10 May 2023 12:48:26 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E57C830F7 for ; Wed, 10 May 2023 09:48:24 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-3f315735514so254594225e9.1 for ; Wed, 10 May 2023 09:48:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683737303; x=1686329303; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=MwVVyzBwHFgq5mjt1+OBVM71N6e1slDHiUKoKcjYW0Q=; b=yy0HCIvUH4Sd4z+3E6svVggUDeh72opPe44l+Bem25petIjeKIIYzQqIWoBHzl0UNL u8N7qm1cfYKJD1Ud9Mt207BcE7wIRoHy5kG7p3GN6XH5gbPk9a9QsPQFB8wRk7t3ofPb irL1km6PsxvZruvN922JFOGjHAm15x9jXWprgf38trxk65/fHgrIdA5B21I1Eaxx5U5U Vr9vc6Ht/FGK2UikGQRSwBVMjn+MURFnJaJB+b6VjaIY9OW2l6qZWYznyy4flM8XPjzv T7OLdbQBdX4JqZsW5cTIjUhOJ0XTVn+QRau4Lu2oA7/p/THSVE1O6yCmsl+0iv+PveoN oQdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683737303; x=1686329303; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=MwVVyzBwHFgq5mjt1+OBVM71N6e1slDHiUKoKcjYW0Q=; b=FQqjXiZKVmA5G9DNSnoEnrvt+ATOp0zBCUqQT6mkAvrgkCp3SVW/zpBiO/77dvbv1g iWkb3SSXCoaT2nTdTqXLRwHCfYbbqYeSOpOdIXXyYElKd6Qt358q7sphD0yHgAiD6/tE pKdhnzy34tRZDW2orRVvxL6at/YyWu5I3KQGFd1nOYTQRGf5zDh/aN/nmnVQtFebm5SG svjyvvOVia1Qe2Z3Bua2yRTy+tc/HPEngbQv5xZeU3CjNDX8uGWHslZ/fO2t1FyfmWqb EYB3OrbI36o6eMIEXFhiv2P82T14xHRHkJ/qzXOQmE1N+dtSeCtEEyXwiA2oI2mvMlDe kvrw== X-Gm-Message-State: AC+VfDyOaqXOWgHn779dLLKMNQEdxBW4SSqLQmQypQJVpbRGnB2r/K7t Ztme5WU+KipXchAgup1RPiX7l12i5LZtp6wmdmA= X-Received: by 2002:a05:600c:3b91:b0:3f1:7b63:bf0e with SMTP id n17-20020a05600c3b9100b003f17b63bf0emr12869963wms.18.1683737303342; Wed, 10 May 2023 09:48:23 -0700 (PDT) Received: from localhost ([102.36.222.112]) by smtp.gmail.com with ESMTPSA id y5-20020a1c4b05000000b003f429d59e37sm6135075wma.34.2023.05.10.09.48.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 May 2023 09:48:21 -0700 (PDT) Date: Wed, 10 May 2023 19:48:16 +0300 From: Dan Carpenter To: Jeffrey Hugo Cc: Oded Gabbay , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] accel/qaic: silence some uninitialized variable warnings Message-ID: References: <2d1fb58f-f98b-ba17-65e9-9ea4b467102a@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2d1fb58f-f98b-ba17-65e9-9ea4b467102a@quicinc.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 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! regards, dan carpenter