Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp135548rdb; Tue, 31 Oct 2023 03:12:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE27cRL4331yquVUYcYjZ8YcMkWACSiY312EwwG/1LGA620rHGznJ97wgu2vtfLPBLLRjQu X-Received: by 2002:a17:90a:fe06:b0:280:a69e:45e5 with SMTP id ck6-20020a17090afe0600b00280a69e45e5mr316918pjb.44.1698747142667; Tue, 31 Oct 2023 03:12:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698747142; cv=none; d=google.com; s=arc-20160816; b=UEer/cmuCpTzoXWKpa90pvvIvShbqLbstTTwI4RfGmyDQ+5d/UqTjyr4b/xI4pXoM2 N7lqmEXGYI0uuZAwjGmNgSyEyqNVGwkZ3cC1HwCJWQcFZFTsAOJCSZ71SKA42f1BLDFF tcvsMDC1dRUH+8ggaQEozvT+o9SIpDSOMBtdz6JwGIuKeAoebWQWLqdTM7A9j7Hk6agZ bDG7wwJdQ1K4NgLBNscw3conLojq2oWjr60cZ8V/aM00rp9bFF5hDDVPEdMbsUInC9vR yqZ8JUfwSACSCHNzfkDZl/hpuxMOZM6owNk+AkLLclWer+wlX2qhfbbk3YF3yaKTxqgI Kr6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=PzDDRWNXtvF0AiHkzgS2GcOo69dWjTdD9mgnyNtPC9Q=; fh=6sd+uGqdbN84zKyHc4kaPeCGuOwZs9YrdxPjeVSWspM=; b=GM4BqtfRnr+0Rh2JKvLNZm9HpwKxfqDvUfByK96KgBdrq1af3cpMXQFn6L8iqYQh0m 7YFwDDlpv1ZVSbUOsEK9pCdkl4q29Gw/BkEQrz9ASLAmw6PxrLkoLrZkNcwHWB0YGlX5 ZG5hO9W+mSwPZ7F6/Lt+za4yo+OrFAu9jvlZXDipjCXRDdbt6xR4w2H2AGfPQtWQRLdd YcMJdwXigWF/5TmhXyIzR5UA1zTaZEBQqr9i8NDRRg2QLS0FvuxOVa7wHm4jwvRTAN1C h4a4YRYuvjn/qr4HWwf/d4/3AoXGjFGBRt1TrXGAuGGse25LVOriY8qrnqpfB8SElniY 3HMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XedIwXID; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id bt5-20020a17090af00500b00276b35bc424si757313pjb.26.2023.10.31.03.12.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 03:12:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XedIwXID; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 880A38025B66; Tue, 31 Oct 2023 03:12:21 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236159AbjJaKMS (ORCPT + 99 others); Tue, 31 Oct 2023 06:12:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229823AbjJaKMR (ORCPT ); Tue, 31 Oct 2023 06:12:17 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 736B4DF for ; Tue, 31 Oct 2023 03:11:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1698747089; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PzDDRWNXtvF0AiHkzgS2GcOo69dWjTdD9mgnyNtPC9Q=; b=XedIwXIDonZna4qP1PDBoxGZxb+HAcmf8jXKkeIkGAckVtacU5IoI+x87uJNToIJ/xc84i NPveTCzYuD2elsRl0ixcIneqhZAIExjsnMVOGEmxzevY4vS34eYOsh8Tvu6zFnWwOe3CwQ EGwZxN9v4dFRPWP3nfTJ3hMYzouNqs0= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-536-llLkH3lFM76WHGdUPFYm0w-1; Tue, 31 Oct 2023 06:11:28 -0400 X-MC-Unique: llLkH3lFM76WHGdUPFYm0w-1 Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-40839252e81so38882455e9.3 for ; Tue, 31 Oct 2023 03:11:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698747086; x=1699351886; h=content-transfer-encoding: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=PzDDRWNXtvF0AiHkzgS2GcOo69dWjTdD9mgnyNtPC9Q=; b=PmkcKDw32U7EWl9ypDR3e4+JK+j9Ew1UBf9QpdujuaJi8IUngzMetKGCDi+MXSY8XG ZQ0Tcbh7lXRAbW/9xYOSdUldk7nWlm1uwiI4XHKkX6r1u1qHEtZ2LeJL8bEOtqLMy+s8 12cXx+31c+vaggydD6K1NWogGFQax7zvefCJ9ufTG7bAP5xNxopzmRBXZGc8lWIjZ/kp RsJ6Od6dRKOTACwqOID4C7WJj79y648vLJ7Y6QXEX4HegZvaeGUvX+xoai0bbW/gjL6B d3eE7CUBmZjPMG+E8VPQKzGFHyoyjaTUX25rKO9zDO50vxlXyEieGSltWciyiDNnW+kg fO6g== X-Gm-Message-State: AOJu0Yy6HfzmNr73EVP7LIl6jaiAfqrnCCwIEZk0wNVBYzRzhhO2qXJo mlSvjzCEdEVk7kwxBQk9CP2JnjqyzjD43nzbmeEZjl//nqQ48SPYLyAv4q3eay58uL0jW+l4jSw vI7h1nmTeyeuJ+7m0MPqFGyy/AQj3m8Qa X-Received: by 2002:a5d:5191:0:b0:32f:9709:df75 with SMTP id k17-20020a5d5191000000b0032f9709df75mr845859wrv.24.1698747086670; Tue, 31 Oct 2023 03:11:26 -0700 (PDT) X-Received: by 2002:a5d:5191:0:b0:32f:9709:df75 with SMTP id k17-20020a5d5191000000b0032f9709df75mr845843wrv.24.1698747086364; Tue, 31 Oct 2023 03:11:26 -0700 (PDT) Received: from localhost (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id a8-20020adffac8000000b003296b488961sm1127397wrs.31.2023.10.31.03.11.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 03:11:25 -0700 (PDT) From: Javier Martinez Canillas To: Geert Uytterhoeven Cc: Jocelyn Falempe , linux-kernel@vger.kernel.org, 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> <87v8aso1ha.fsf@minerva.mail-host-address-is-not-set> Date: Tue, 31 Oct 2023 11:11:24 +0100 Message-ID: <87lebjksoj.fsf@minerva.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 31 Oct 2023 03:12:21 -0700 (PDT) Geert Uytterhoeven writes: Hello Geert, > Hi Javier, > > On Fri, Oct 27, 2023 at 11:33=E2=80=AFAM 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 func= tion >> >> ssd132x_primary_plane_atomic_check() and avoid the following Smatch w= arn: >> >> >> >> drivers/gpu/drm/solomon/ssd130x.c:921 ssd132x_primary_plane_atom= ic_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) > > ? > No, that's intended. It's added by the `dim cherry-pick` command, since I had to cherry-pick to drm-misc-next-fixes the commit that was already in the drm-misc-next branch. You will find that message in many drm commits, i.e: $ git log --oneline --grep=3D"(cherry picked from commit" drivers/gpu/drm/ = | wc -l 1708 > Gr{oetje,eeting}s, > --=20 Best regards, Javier Martinez Canillas Core Platforms Red Hat