Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp143927rdb; Tue, 31 Oct 2023 03:31:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEzzHybbEBICv5aOS50vC/3bYERe8Jjyg6TrjIm7Hnv62s/J5EStUq4eA0UVw7ad+eqFA/y X-Received: by 2002:a05:6a00:178c:b0:6b1:5d1a:bd0c with SMTP id s12-20020a056a00178c00b006b15d1abd0cmr3486216pfg.16.1698748299638; Tue, 31 Oct 2023 03:31:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698748299; cv=none; d=google.com; s=arc-20160816; b=JW6+/2JEulDXBBXEz3HqqqJNOpyrvTpYBJfBgykCIMxE1TYVz8+CU0LOBzYoGXTuaE ZxGUOkKzJo5CckrUE9dXAsCSpZcOkHNf7ZDlXLiAtUPUzTLw1q/3zmITLC8bbs2CeHdU Wdsp5m6BnjXuKciOH443ydowmOY/PKzu1puhA+JqViaRkZIBm4Kev3YAOhHegiyAjgXn KbFB3kWrkaq1w2GofEr6kkjGIGO9KniegDt5XHKgO4OZqdrPs6ndru1F3ftV22UlVfYx CTJCbLXRYA1//Y9vxneCqAxWqdT4n55HkpsBKEmE4LGzYI/fz5xcNwYQOSVCpgCWPNRz n8TQ== 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=oOeHk830gvB4+ln7x6LJD5mdulx79odcUTXAP7F6L+0=; fh=Y4KK4Gf2gZykMZ2+tww5KwFHc1O9slAcZ115gzsi09A=; b=joys15dNkidmFsQxJCj2JK5LCdg88Uu1GOrKmKOP8OIV1L5MmUt9mtIQ55bh1psUd5 p7P6kOicYEYXAOk6p6NGk9/CcgCT0wz+VQvvS+lht7ehogn8QCd/ISF1nbhnOzcP1YfB WFpcbcZk2c2WoGq6Sh1KYRaXq2TwkOgRamj/DlxVs+GwTHh7YiajH9P5wht5TZvSeMWa sLfkaKbz3O/mrk6WgM2emBqVDqkEC+tnrZFdQX6/V52ewhLpPZk6dgFdqA0UhW6Ugt7M K7IuShM1itjxDdaI1oIi7+60gm9AHIwZZBUw9OX0JmA4ha8rDfiHL+KcwMLb7jsosrqN z+4g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id c7-20020a6566c7000000b0059779ae58a0si869983pgw.465.2023.10.31.03.31.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 03:31:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (Postfix) with ESMTP id A03BF80307B0; Tue, 31 Oct 2023 03:31:33 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234859AbjJaKb0 convert rfc822-to-8bit (ORCPT + 99 others); Tue, 31 Oct 2023 06:31:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231169AbjJaKbY (ORCPT ); Tue, 31 Oct 2023 06:31:24 -0400 Received: from mail-yw1-f171.google.com (mail-yw1-f171.google.com [209.85.128.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFED0A2 for ; Tue, 31 Oct 2023 03:31:22 -0700 (PDT) Received: by mail-yw1-f171.google.com with SMTP id 00721157ae682-5a8628e54d4so48662907b3.0 for ; Tue, 31 Oct 2023 03:31:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698748282; x=1699353082; 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=/sHseqslpAHK7KgV7P/BcLuw8uc0JkMkTgTl4k752Ts=; b=Lt1Re2EFNqNvFqk2hYpOh9mifGpsffEiZq5VoY6o7hfLPBaOT36lqd20BV9bs6aRXe eat2xBfrN/WIJ7fkxtwxXh1z2Cysx8QaCsU41AX1CM+tP3Z5Gb0bGc9L/ggLI4Iegcvr pI/JuuCoLgPVFjkMVAFb/OEUU4iZrxVtWivl82Cct0aBg/pCB55Plg9Nn1mqt/GTc0Hp wvrFEKcTZNyL8gIJCJbuL4rK0e9V1tkEMAGbc4aGMBp69roOxch+V/MMeNUf8oNhCUFa tZ4uO8pNcEmhRJWyL6WTOFY8/pt/Etx7jGpjkIeY45JX1D8zNIf7++hSMwX2ud6NmefU hLUA== X-Gm-Message-State: AOJu0YwJfNc/NPac8gO5lyqJR3NZVxRCGELwn0c+uwAowSpX63zYL5Ye Qcsy5H3jEORcqQD8U6SB1Gr5zWqIFOUxnA== X-Received: by 2002:a81:8d48:0:b0:59f:699b:c3b3 with SMTP id w8-20020a818d48000000b0059f699bc3b3mr1511766ywj.0.1698748281759; Tue, 31 Oct 2023 03:31:21 -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 v62-20020a0dd341000000b005950e1bbf11sm604042ywd.60.2023.10.31.03.31.20 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 31 Oct 2023 03:31:21 -0700 (PDT) Received: by mail-yb1-f170.google.com with SMTP id 3f1490d57ef6-d9a6399cf78so4820331276.0 for ; Tue, 31 Oct 2023 03:31:20 -0700 (PDT) X-Received: by 2002:a5b:ec1:0:b0:da0:3a37:61d5 with SMTP id a1-20020a5b0ec1000000b00da03a3761d5mr1526353ybs.4.1698748280706; Tue, 31 Oct 2023 03:31:20 -0700 (PDT) MIME-Version: 1.0 References: <20231020225338.1686974-1-javierm@redhat.com> <87v8aso1ha.fsf@minerva.mail-host-address-is-not-set> <87lebjksoj.fsf@minerva.mail-host-address-is-not-set> In-Reply-To: <87lebjksoj.fsf@minerva.mail-host-address-is-not-set> From: Geert Uytterhoeven Date: Tue, 31 Oct 2023 11:31:06 +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 pete.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 (pete.vger.email [0.0.0.0]); Tue, 31 Oct 2023 03:31:33 -0700 (PDT) Hi Javier, On Tue, Oct 31, 2023 at 11:11 AM Javier Martinez Canillas wrote: > Geert Uytterhoeven writes: > > 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) > > > > ? > > > > 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="(cherry picked from commit" drivers/gpu/drm/ | wc -l > 1708 Ah, so that's why it's (way too) common to have merge conflicts between the fixes and non-fixes drm branches :-( 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