Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp127598rdb; Tue, 31 Oct 2023 02:56:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEKzgRg9PCGbYKdtZiJeIavY2uSikxSgV1stm/XcApBJVoWXH9JCNHuLez75Vj6v1ZLUrUP X-Received: by 2002:a05:6a20:4401:b0:179:faa1:46ba with SMTP id ce1-20020a056a20440100b00179faa146bamr12741266pzb.35.1698746200832; Tue, 31 Oct 2023 02:56:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698746200; cv=none; d=google.com; s=arc-20160816; b=eDTnDJ6H600Pukl3cwiEvar+u/lGo8u6DijAmaKiTJaF5Pae9Nbj/ijqNxZbcQ+VCQ MskRwuaonMBpjk84ob6LsbiA1inqh/9FsTK+LOQqGdMtCKaIfsNhr8ZnYKg9APZfAj32 0nI0uce4dgTovWTaRhPxbPyKK+gx74KgjMZBodF4yrpSxOVK6qHErahlHW4E3FpUwipM AtjRNWsBH4G6O5et42hk8eGm+Tiv6PsSAlFYf2yxd7ale2tF8f/R4EwXWLd0d26ybWEo HaeQZE+FN35GfiIEDvfEff3jgt5i91mXgGkBFdJBI8mZgx1wvzjHfUybsC1O6B7iIs+j rnQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=w8sbz+cTEv370eqB9fj4nPnKnFTPCFMlqzRabIKmv3o=; fh=Y4KK4Gf2gZykMZ2+tww5KwFHc1O9slAcZ115gzsi09A=; b=WC1HSUMmKoFBZXExS7gMYiSjdxwKM1LoQAIGI6p/UzsgwUeeiXSFQ1rFrVeAxMKkjK yKlgzePJDIWsEIdkeBaN/RJWuvbSsk9X9F+LKG5XDgp42opbSQebgL41NRMMLFhxPrkP EVkhElQLb7Mu3szib+jb5MT8o08UhgYTssXZ3EcYgvvWEQS+Fi5EaOXrxWb7KbfFTLji R+hhrRcicr+NaXOX6pP0+fuF6Wtm5bw+O04FTd81HGYChtTuw14Yxhu6W2xvVksv+ASU C6zr+/h+R/PioaoHamPGqXby8bWnXWNiYAkFsAOzqr65O+mVBUQWRJzNgHRCl6cjrgDn O1zg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id bw18-20020a056a02049200b005b87be63da6si847077pgb.488.2023.10.31.02.56.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 02:56:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 7887F80AF834; Tue, 31 Oct 2023 02:56:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233751AbjJaJ4d convert rfc822-to-8bit (ORCPT + 99 others); Tue, 31 Oct 2023 05:56:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235267AbjJaJ4b (ORCPT ); Tue, 31 Oct 2023 05:56:31 -0400 Received: from mail-yw1-f170.google.com (mail-yw1-f170.google.com [209.85.128.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11A9E102 for ; Tue, 31 Oct 2023 02:56:29 -0700 (PDT) Received: by mail-yw1-f170.google.com with SMTP id 00721157ae682-5a8ada42c2aso53216457b3.3 for ; Tue, 31 Oct 2023 02:56:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698746188; x=1699350988; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YNZBHyiLRY+gCpq29CudcvsFOdjkuZ4E9FiQic5rKGY=; b=iMbj29o96aJVutXNZinHF+4dq/nLf1DUY3jWUfSDWUjSy04xBX5Clb+LZvJumHkZN7 /9O+E+TZvu5KimrXMJnDkhpyrr7+k8yvoNLQXav/jmL86iXRWHcPw/oDnvHemBrME5Tk kDSC8oITAIowk++pROraLOHO0JswBKWrj+wFOIoRtPbhmQ6EborEUq/wL24GD9LvGP2u nSpOK2bmzrGKBIDmigqGfJ4NOT7JYL8nT74/UTWVeVMFj7MJ5K4O3ymILdDcti0ZhNXj oa1ULOlw3C6/DfOKfTKghf5Gd1hWjpkx6LcVGTBUGxlreX4qw8Gb7Vv9JdJg98Crwy0h XGHg== X-Gm-Message-State: AOJu0Yye8CviNrRU2kTlkI18mt1XeOOheEqRbULmkUfSbJPacul04BJo 0UUQ95ScgBHyig+3huVU6jflVlWc4ox40A== X-Received: by 2002:a0d:dd0e:0:b0:583:d8d4:7dfe with SMTP id g14-20020a0ddd0e000000b00583d8d47dfemr12381042ywe.31.1698746188011; Tue, 31 Oct 2023 02:56:28 -0700 (PDT) Received: from mail-yb1-f170.google.com (mail-yb1-f170.google.com. [209.85.219.170]) by smtp.gmail.com with ESMTPSA id k186-20020a816fc3000000b0058427045833sm578890ywc.133.2023.10.31.02.56.27 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 31 Oct 2023 02:56:27 -0700 (PDT) Received: by mail-yb1-f170.google.com with SMTP id 3f1490d57ef6-d84f18e908aso4855329276.1 for ; Tue, 31 Oct 2023 02:56:27 -0700 (PDT) X-Received: by 2002:a25:cb47:0:b0:d9a:6855:14cd with SMTP id b68-20020a25cb47000000b00d9a685514cdmr11085901ybg.39.1698746187360; Tue, 31 Oct 2023 02:56:27 -0700 (PDT) MIME-Version: 1.0 References: <20231020225338.1686974-1-javierm@redhat.com> <87v8aso1ha.fsf@minerva.mail-host-address-is-not-set> In-Reply-To: <87v8aso1ha.fsf@minerva.mail-host-address-is-not-set> From: Geert Uytterhoeven Date: Tue, 31 Oct 2023 10:56:14 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] drm/ssd130x: Fix possible uninitialized usage of crtc_state variable To: Javier Martinez Canillas Cc: Jocelyn Falempe , linux-kernel@vger.kernel.org, Thomas Zimmermann , Maxime Ripard , dri-devel@lists.freedesktop.org, Dan Carpenter Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Tue, 31 Oct 2023 02:56:38 -0700 (PDT) Hi Javier, On Fri, Oct 27, 2023 at 11:33 AM Javier Martinez Canillas wrote: > Jocelyn Falempe writes: > > On 21/10/2023 00:52, Javier Martinez Canillas wrote: > >> Avoid a possible uninitialized use of the crtc_state variable in function > >> ssd132x_primary_plane_atomic_check() and avoid the following Smatch warn: > >> > >> drivers/gpu/drm/solomon/ssd130x.c:921 ssd132x_primary_plane_atomic_check() > >> error: uninitialized symbol 'crtc_state'. > > > > That looks trivial, so you can add: > > > > Acked-by: Jocelyn Falempe > > > > Pushed to drm-misc (drm-misc-next). Thanks! Looks like you introduced an unintended (cherry picked from commit 9e4db199e66d427c50458f4d72734cc4f0b92948) ? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds