Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp1026690rdh; Fri, 27 Oct 2023 02:33:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEYjM4DiK4kh7tIAXkWmFNos4ADOSrMi1bqIlLTx9Q50mG7BK03UoiYJgis/Fwpk+f5Sjh3 X-Received: by 2002:a25:4201:0:b0:d9a:4d90:feda with SMTP id p1-20020a254201000000b00d9a4d90fedamr1870995yba.62.1698399192015; Fri, 27 Oct 2023 02:33:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698399192; cv=none; d=google.com; s=arc-20160816; b=I2tFf6I1Au9UtdMD16GLsKyWg/V1JR0aERAGKdnm0XHRfAQiY6c270F5qRQFlNyB0E oP0dwYAkd87T8xrVmmDtwk0yTUqu/hxb7tFxQC3qBvYzfJtY3ak+1Ge0SMO6NX1biRlJ GX89HjXDS2I1RA1pn+r1vwnYmWOciBMRatqdiN+XOlOqMeiyppnoPG+9bmu9P158HLeq tnP0VEK+Y5uSqa5UmHVClvQDf2/+xI4ZuVBIBG35VnwAux+dWY2KPr0nDH1rfna64bL1 aIvBr1bdZzyxAT5ZM13bYh0YWtKs5awZK0jvFTaJDWbtRf6NrfcWZClHX3PMSNalM73W iDMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=i5tK4NsSAMVwjRdwU7wyEET86Ne+WP2XLYS+WWydcWk=; fh=QjXGgmTJSj4dZrs5/j37qpuyLSZMS2mro8b7tYDO9rc=; b=o2kH0M9BTancD0d3j4rxjLmcazxt0Sh7QEpf6MSbGfOeUlSp87c77DCoZqHIoFMutV eKk+6Bc10BftM5sXm1Q7o2TGG/k6puSrsZQb7xgNYfDdjvlWwOEgPpV9meQWOB6Z9+Jn BjR+xfXvX0e6j5ne6430fkfQxYq6cotfXoVvXNP2n54RDHZBfAC2UwocetgZ7Dilujnd T3n+tEC/idFb4LWSDGG91t77onDCfYXL8hjGHFKxAyL/pBJNdy9LebXy4HHjSRPJEACu SsjVcECQUfw1CRbmgQ27oQJra63mjnEZsWW2gGqJgWaPyoaKwDt9+tPWbivJxjVbAyPD SrIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Sgvk9H2x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id 83-20020a250156000000b00d9cb53e51a0si2038162ybb.664.2023.10.27.02.33.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 02:33:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Sgvk9H2x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 30869835B4E2; Fri, 27 Oct 2023 02:33:09 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235094AbjJ0Jcp (ORCPT + 99 others); Fri, 27 Oct 2023 05:32:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345622AbjJ0Jci (ORCPT ); Fri, 27 Oct 2023 05:32:38 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B5761A7 for ; Fri, 27 Oct 2023 02:31:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1698399108; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=i5tK4NsSAMVwjRdwU7wyEET86Ne+WP2XLYS+WWydcWk=; b=Sgvk9H2xvBT2DLHy0pfixyAp8tYRdSMhJmqmf3FhuGTln2SgPvDmT/ExG9ALItx7gkCcm7 7k2+hAAYChfBg6L1Xwpld9Q+mBRySOl/ge6Ots3gGaKIwl6isqhPXACQTzcI/YA9r6hLry 3mvZEO6FO5E8nNkHetaoH0dLjgyC0mQ= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-593-ZDxDjHaBML-A5ayFFYlVDQ-1; Fri, 27 Oct 2023 05:31:47 -0400 X-MC-Unique: ZDxDjHaBML-A5ayFFYlVDQ-1 Received: by mail-wr1-f70.google.com with SMTP id ffacd0b85a97d-32d8d17dcbaso962496f8f.2 for ; Fri, 27 Oct 2023 02:31:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698399106; x=1699003906; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=i5tK4NsSAMVwjRdwU7wyEET86Ne+WP2XLYS+WWydcWk=; b=dZojstezK9/d6zu+IVwDgmuygrbzOxyEicMXNavQYQi3UXiAxQCnSeDHkw7Q1XxFRo 90PgxQ7XCCs28kOsAGc8Qc0uPc+lKKv+bJi5gupQ7Ve38Coi+NDtWIB65m3z+9+nqv4J r4Fmo3NpxWYWTdewYPsvaJR93uxZ6/7TxAR8EC9p6m/KZwU2RhCGxY6QFIJm/eNs9S1C mEcgILKHud1u0E/Vb3FFFeK1IQjnbu/Irw2BTfqZAVq0R8wjFMymYHWLR8NSqSxsLRES D3zI1+Q2pJUkIuSofvI77Joj9t9IHjWBVfmSA9srAIGMQMWJiz+dTPbcrXOUQyzrCWG6 DAlA== X-Gm-Message-State: AOJu0YxMGVclBzPwqjzbvtEDdseKGRZ3t+h94bPCDe5cmjb+sKV/fEaq Wg5tAxs5Z4aBXL2Fqvms/5YbjrSoVbQCZnfy3FZNpWUnSXddWpsLSG7Mo/7UGtsnTT8C8dGLQ/X rXyJqaDDNhOSjrZEfNGFQ6eeK X-Received: by 2002:adf:ec52:0:b0:32d:a405:b6b7 with SMTP id w18-20020adfec52000000b0032da405b6b7mr1728466wrn.32.1698399106370; Fri, 27 Oct 2023 02:31:46 -0700 (PDT) X-Received: by 2002:adf:ec52:0:b0:32d:a405:b6b7 with SMTP id w18-20020adfec52000000b0032da405b6b7mr1728454wrn.32.1698399106098; Fri, 27 Oct 2023 02:31:46 -0700 (PDT) Received: from localhost ([212.80.183.76]) by smtp.gmail.com with ESMTPSA id j15-20020adfb30f000000b0032d8eecf901sm1369948wrd.3.2023.10.27.02.31.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 02:31:45 -0700 (PDT) From: Javier Martinez Canillas To: Jocelyn Falempe , linux-kernel@vger.kernel.org Cc: Thomas Zimmermann , Maxime Ripard , dri-devel@lists.freedesktop.org, Dan Carpenter Subject: Re: [PATCH] drm/ssd130x: Fix possible uninitialized usage of crtc_state variable In-Reply-To: References: <20231020225338.1686974-1-javierm@redhat.com> Date: Fri, 27 Oct 2023 11:31:45 +0200 Message-ID: <87v8aso1ha.fsf@minerva.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.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 (lipwig.vger.email [0.0.0.0]); Fri, 27 Oct 2023 02:33:09 -0700 (PDT) Jocelyn Falempe writes: > Hi, > > 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! -- Best regards, Javier Martinez Canillas Core Platforms Red Hat