Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp10564745rwp; Fri, 21 Jul 2023 00:56:30 -0700 (PDT) X-Google-Smtp-Source: APBJJlHxxWlxk9OemmRFSwz8bQSL3s7HKooqHoGFWYVg/s/JNv7oHtlVtYHCWXaMcnwNxfgu/ue3 X-Received: by 2002:a17:90a:910d:b0:262:ceaa:1720 with SMTP id k13-20020a17090a910d00b00262ceaa1720mr741085pjo.5.1689926189727; Fri, 21 Jul 2023 00:56:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689926189; cv=none; d=google.com; s=arc-20160816; b=k6jjXjGTjl/WM1BJqfZZ8hw+qvbq4Da+RE2DsWs3qd7UP8PrNjQev/sFVwO6VjRrQ4 ici2hIe52LLcvKRGR0X+inffZ3gz2jwxhL2auhPF1NBlE0UnKe6LSGQeHxzj7pXxRBxI 1EmXwKZLVdq6BXBLYZHr4prmGsxM6XMLnB1ybxTcROoKa/yWJFO8PWyoziNOCVHSl5ut 1MxgGmq9/bxEiDA7HLRordYK4/XdrypDNCkvMExa03SbZOesnTT4WR7FFTaR/ULyQ3nd bJN6tdWXtXn+KMu+aycgaG3OTOz0aIfqG6Qc3nmD4RRw+/Hck5QGnuapMapRQpPPRMPZ lPMQ== 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:references :in-reply-to:subject:to:from:date:message-id:dkim-signature; bh=TuXFJ1TUvuqsGSkfYKheEdE+WWVQFxrZ/wmd1eyDwzg=; fh=LLKTWvNpaBu+eM0DfSrJUDFgTyz6f6uqiGwdRv7CkEM=; b=MzWNN0yxqWgJx95/ZgIvYRDye5ssDFysWBsYf/QWdpIID4Nb/nTm7ODDuehxgNGjJf h+s2Px3/WTUJUt3Gojae1Oyew+nEiEGOn/DjBF+NM5i0PCgqOniNtjFt+AyqI1VYS4Jh Oh7taHuIWoEVgGCkMQ28lM8q69niiE2PO3geBo8wVG+Dck0fr6AMkde96XiqAfYF8o6P e7d6uJZg5sWH5H6nXElUckWmHjl4OYx7b0M0wtzFLF0nekUPraYO5gW1U99V9xDElQIZ qLbrEXszidKVmE8zqvsCpiEN8R9Vu2SdT/Pq9zWEGozaVSERFR7CYT6b3exKCepjnMAh +1Jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Xh8wgcw7; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kb2-20020a17090ae7c200b00263bfa6e205si5571343pjb.50.2023.07.21.00.55.58; Fri, 21 Jul 2023 00:56:29 -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=@kernel.org header.s=k20201202 header.b=Xh8wgcw7; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230105AbjGUHds (ORCPT + 99 others); Fri, 21 Jul 2023 03:33:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229500AbjGUHdr (ORCPT ); Fri, 21 Jul 2023 03:33:47 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4079819A1 for ; Fri, 21 Jul 2023 00:33:46 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id CAE8A612D7 for ; Fri, 21 Jul 2023 07:33:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 65B08C433C8; Fri, 21 Jul 2023 07:33:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689924824; bh=fctNF5EyYiJG9Wv//FA24SN2y/tZsF98l7MKQ2I9rpU=; h=Date:From:To:Subject:In-Reply-To:References:Cc:From; b=Xh8wgcw76Z64y6ASZc+6FAUyj+yQAqYG0IbEqVTU3GLq7y5vf/WT5cfJTV7a6Gwx+ /iHhjaFhZSFwTWpAgvXjFhzGFgtVp9FswYiviUI6y2WgrVr4zMc0tcOOUl2j6VU8kx dc3zNWG9fksW4N7QgkfdSzp0GPNKfcJHN1rrskSBELa2NokIEGOEJ53wOS6OPlblfK mBgEAxTtWZSE05CaAnPt2ChSBf4rtwlCS17pgx8A8/57jChHhEhNbNXv9bupCH73nM hiyTD8HicPwnBYUE7TxynWa3DrorNtPbfQ8U4HF3M+U2pkEBgMNWOijOK18rFw9TpA TcaS7OYA+ltDw== Message-ID: Date: Fri, 21 Jul 2023 07:33:42 +0000 From: "Maxime Ripard" To: "Javier Martinez Canillas" Subject: Re: [PATCH v4] drm/ssd130x: Allocate buffers in the plane's .atomic_check callback In-Reply-To: <20230721070955.1170974-1-javierm@redhat.com> References: <20230721070955.1170974-1-javierm@redhat.com> Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, "Daniel Vetter" , "Daniel Vetter" , "David Airlie" , "Geert Uytterhoeven" , "Maxime Ripard" , "Thomas Zimmermann" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,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 On Fri, 21 Jul 2023 09:09:50 +0200, Javier Martinez Canillas wrote: > Geert reports that the following NULL pointer dereference happens for him > after commit 49d7d581ceaf ("drm/ssd130x: Don't allocate buffers on each > plane update"): >=20 > [drm] Initialized ssd130x 1.0.0 20220131 for 0-003c on minor 0 >=20 > [ ... ] Acked-by: Maxime Ripard Thanks! Maxime