Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 35533C433EF for ; Fri, 15 Jul 2022 09:52:03 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 47E3B10F456; Fri, 15 Jul 2022 09:52:02 +0000 (UTC) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3A10B10F456 for ; Fri, 15 Jul 2022 09:52:00 +0000 (UTC) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id B7BC2320095B; Fri, 15 Jul 2022 05:51:57 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Fri, 15 Jul 2022 05:51:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; t=1657878717; x=1657965117; bh=S2rwDfHC9o XpuuEOYHUag4B2VepokxV6WAqDHEuCkQY=; b=RUVLo8zxTB3GaHDGvdi3G36FLy V9Ue0iINxZ4EBDX2+X1ZW/VZJm/cesOjV1FNqv+odH/uAtd2AVBZ722wY0Hw6tnI apqb4ZvqYRcbt48XJCAwR40NblTWAy3fzXUg3bHBzbpE3MN1Ris6mF5cVu31VwJg sC9TxUacbQO5gdbQMQSnDzIkPjE8trUxwIrESG4Ty0pg350sB/BGaM2bCWHTqGLq b7b1/9xksPc2oqIoLxVrbuysPtAavhFcZTShjVJMo7ZhR5LpsaPrXy/gYaowqOIR sL1DxYcTKnlSU86liMBgZWAzGLEYe2h+QzFkR1zgCo8n+Nz0OncK6tdDmw9A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1657878717; x=1657965117; bh=S2rwDfHC9oXpuuEOYHUag4B2Vepo kxV6WAqDHEuCkQY=; b=wj8F5lumZDkRoFPxeGM/cQZt8N97B3qD2tUSSFQ1utN/ 48q1dzkfMEHZ1v+gszu+iptNfXizGmWFW8zbSTefck9A94PMz8GeH6Nl+MKqTTAW Xgz3QN22lBMlpDStjB7JalfkbDviwoB3vXlGeoRuv0T2yfb3IbNc9rx/xpztkl7k GgydNCGEv8yOK4s7Kn42aKsoCRR7ilIR/55o0Duf/izaaIPSi0oDYWdDdBPZ1IW1 bGUU6w+bx9fbejB2LqR1Dr4PkL2TZbHYMRJkaGZO5bTAwctikJSfKTBqPbw5DGr7 ILiHPWC+A1e2j1FhN2TiS2fqyl2dmHSm1SD3l+0k6g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudekuddgvdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepofgrgihi mhgvucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrg htthgvrhhnpeeftdeuveetgefgiedvffejjeelvdevudduteetkedvieeuhedvgeekvdel teffkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 15 Jul 2022 05:51:55 -0400 (EDT) Date: Fri, 15 Jul 2022 11:51:53 +0200 From: Maxime Ripard To: Liu Zixian Subject: Re: [PATCH] drm: correct comments Message-ID: <20220715095153.nyjb3pendkubmdrq@houat> References: <20220715092256.982-1-liuzixian4@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220715092256.982-1-liuzixian4@huawei.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: tzimmermann@suse.de, airlied@linux.ie, dri-devel@lists.freedesktop.org, linfeilong@huawei.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi, On Fri, Jul 15, 2022 at 05:22:56PM +0800, Liu Zixian wrote: > On failure, these functions return errno, not NULL. They don't return an errno but an error pointer Maxime