Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,PDS_TONAME_EQ_TOLOCAL_SHORT,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3D1AFC433B4 for ; Wed, 19 May 2021 12:18:46 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 24091611AE for ; Wed, 19 May 2021 12:18:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 24091611AE Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 76F976ED91; Wed, 19 May 2021 12:18:44 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by gabe.freedesktop.org (Postfix) with ESMTPS id 078706ED91 for ; Wed, 19 May 2021 12:18:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=DZ+/uBpSMB9Hquk+mtUG9wzPieYFcOsJhcqFJZdyx3M=; b=wC1Hw7IltZ2bJsVU22RHxTz5M8 xkbXKtu0lwXY7OTusOONIL+UHgZLuSwS3T3WihKwwG54+95K5ZgO4CebMTmwhoEnMZdx5TBfaywBS ueIMBJjfnfJsKrSabHI9+Zwu3x6mqqnXsRSoCIu96jlK9CA8Yv3prjeycjBM3QV0vD0YrThon7ohC 3W+0noURDVuH/pnQ2sFH71tgRirGgDaFxaU8b5491qkpUgucjndd86FVtyuSyndyYcIZjVx7MVtjO UHhAkhPw8ZFRNAFbZ1WG4yoTGD5/Jw+i6jOeV5ionTWqdTsqFsCVr2FEEAkvCLPoCr89KVEeSZFtN jMqOlzeQ==; Received: from willy by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1ljL8A-00EvWt-Ia; Wed, 19 May 2021 12:17:19 +0000 Date: Wed, 19 May 2021 13:16:54 +0100 From: Matthew Wilcox To: songqiang Subject: Re: [PATCH] drivers/video/fbdev/core/fbmem.c: add pointer judgment Message-ID: References: <20210519120028.7350-1-songqiang@uniontech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210519120028.7350-1-songqiang@uniontech.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jgg@ziepe.ca, linux-fbdev@vger.kernel.org, arnd@arndb.de, b.zolnierkie@samsung.com, penguin-kernel@i-love.sakura.ne.jp, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, george.kennedy@oracle.com, tzimmermann@suse.de, sam@ravnborg.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Wed, May 19, 2021 at 08:00:28PM +0800, songqiang wrote: > Signed-off-by: songqiang > --- You need to explain: - Why you think this patch is needed - Did you observe a problem at runtime? - Is this the output from some checking tool? - Why this is the right way to address the problem