Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7415009rwd; Tue, 6 Jun 2023 10:20:41 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5JKxg6VZeuhtmWN+TVZJDtrN0DmwtbGOxzYds64ZOHo1pCMuk67w0nY6N4ENb6kCgjNrTr X-Received: by 2002:ac8:7f4a:0:b0:3f7:f60c:7806 with SMTP id g10-20020ac87f4a000000b003f7f60c7806mr505521qtk.12.1686072041024; Tue, 06 Jun 2023 10:20:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686072041; cv=pass; d=google.com; s=arc-20160816; b=V39vW2UHKf0DtySN07phYD4dk94c8WfAIwQ9iBsjp2xWMHOTZvhKLtD5wEPkdT9Z9t 91xzgln6MraFypYZRySj5Tfi16QJJpj5bb9yUBtiSvqv0TV8SCdhBj7hN2G/2CjU2/4h etkAz3+t381YX2S+lKG497ARHTFxsYrNasbIPy5vJJNBMKDVjlfSrCqP/8wO76ySLkBp vljF3+OS0zkpwBX5HOWvDyzLK5lId7SoTbkdhyGdUBkOy6YYThlK8q3TmJA1ZxxEe6L3 bgFrEjLWbD+jiOAFmzjBaYY9jsLEO4ikAzUirEhdPQAseRL4TBrB7bFd1lBN6HyjmeBZ plvA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:importance:content-transfer-encoding :mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:dkim-signature; bh=LTxuxhAkDUTr7cvt9W2R40ESQVovz8E2KvQjnCTzwmk=; b=tWDLV0vkUVZbSRgnmIp66zM0gMTumk+o+DGpmrqH43Z7VfraFZwCkAEYdpKyW6g9s4 n3lm+eFkigte4OHiKlK2yOgzYS1XaGUB+4u4JpbGGeyNUldU+xhPc2s99GWm3eVZFmYe fPIbQc3lUL45GE8x4Y27tUoIVO6fSJ5B/mx3DFCDjQr5NahJPrxPBuY7VpLutlnDBpcK zskanpVhspUNBpwTl13MyY+R6Y0L7BgF5Ck1LAmwv08MrIC9NtdNgRk8nlttQyT+bbA7 wTNoyBouY6s97qJ9Nh2kFubBPW+/L1xIsgIyqv7lYMbD0X8zjDUrZDfnKmY7osrcPsmm DZZg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@siddh.me header.s=zmail header.b=t5SOgODm; arc=pass (i=1 spf=pass spfdomain=siddh.me dkim=pass dkdomain=siddh.me dmarc=pass fromdomain=siddh.me>); 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=siddh.me Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o14-20020a05622a138e00b003f9b8646458si348537qtk.804.2023.06.06.10.20.16; Tue, 06 Jun 2023 10:20:41 -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=@siddh.me header.s=zmail header.b=t5SOgODm; arc=pass (i=1 spf=pass spfdomain=siddh.me dkim=pass dkdomain=siddh.me dmarc=pass fromdomain=siddh.me>); 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=siddh.me Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238590AbjFFRRh (ORCPT + 99 others); Tue, 6 Jun 2023 13:17:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238366AbjFFRRg (ORCPT ); Tue, 6 Jun 2023 13:17:36 -0400 Received: from sender-of-o51.zoho.in (sender-of-o51.zoho.in [103.117.158.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9747610CB for ; Tue, 6 Jun 2023 10:17:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686071812; cv=none; d=zohomail.in; s=zohoarc; b=ATrlHIcqcLpy1PBiRvhF7ACfyIJDrqdLx7VuzKLtLADdGOPy2KtrBQmZpkVvmFrCp+xhPpTnSLWxeJJbmfUJMjS7hFvOJ2V1bRhtLnl3nfDtRO2PPqnV/Sl9DVpgpIRO8JFsSjq3rPOCsdexYF/of3gPyw3kmEmeclooFO2benI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.in; s=zohoarc; t=1686071812; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=LTxuxhAkDUTr7cvt9W2R40ESQVovz8E2KvQjnCTzwmk=; b=d9jAGnc7PtqUmZhZZRmrtXcVp/0zdeiopoa1q1ktD6WxUVgD19w1lFWPbQRBwKIy5HzaKX+b04S50A+zRL5AZ+KubPNXihhtIP51FUfi8bYEWcd3nQtPKAV7Dzp+OhLJKXTig0ZeOSUm+FnGdBP1tHOmSMY1qLicdKyWajKF120= ARC-Authentication-Results: i=1; mx.zohomail.in; dkim=pass header.i=siddh.me; spf=pass smtp.mailfrom=code@siddh.me; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1686071812; s=zmail; d=siddh.me; i=code@siddh.me; h=Date:Date:From:From:To:To:Cc:Cc:Message-ID:In-Reply-To:References:Subject:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=LTxuxhAkDUTr7cvt9W2R40ESQVovz8E2KvQjnCTzwmk=; b=t5SOgODmJS0mdusxjbfc+2BsRCB66NPFEZuH/oG7AY0QbnXJ2/h/fxzA5qRwwBwr ExzAcXtHTkz5O5xI2ZjLunbCzmi23ZMSKQQ1KwQk6S4tdC/yKAVCAIaEE/KJ0ya2hcl vxGIULlPy5o8LQaJ65f7Yk7PaD/67TchBMtAWyog= Received: from mail.zoho.in by mx.zoho.in with SMTP id 1686071671472920.9108657396287; Tue, 6 Jun 2023 22:44:31 +0530 (IST) Date: Tue, 06 Jun 2023 22:44:31 +0530 From: Siddh Raman Pant To: "Laurent Pinchart" Cc: "Maarten Lankhorst" , "Maxime Ripard" , "Thomas Zimmermann" , "David Airlie" , "Daniel Vetter" , "Andrzej Hajda" , "Neil Armstrong" , "Robert Foss" , "Jonas Karlman" , "Jernej Skrabec" , "Jani Nikula" , "dri-devel" , "linux-kernel" , "Suraj Upadhyay" Message-ID: <18891b3faa3.57976e1f126744.7700241596970251743@siddh.me> In-Reply-To: <20230606145706.GE7234@pendragon.ideasonboard.com> References: <3b880e4a20b7952b257b896900256fcfff14b153.1686047727.git.code@siddh.me> <20230606145706.GE7234@pendragon.ideasonboard.com> Subject: Re: [PATCH v9 6/8] drm: Remove usage of deprecated DRM_DEBUG MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Importance: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Tue, 06 Jun 2023 20:27:06 +0530, Laurent Pinchart wrote: > Hi Siddh, > > Thank you for the patch. Anytime :) > > if (!ctx_entry) { > > - DRM_DEBUG("out of memory\n"); > > + drm_dbg_core(dev, "out of memory\n"); > > This message could also be dropped. Okay. > > - DRM_DEBUG("\n"); > > + drm_dbg_core(dev, "\n"); > > This message seems of dubious value :-) Maybe you could drop it in a > patch on top of this series ? Okay. > > - DRM_DEBUG("\n"); > > + drm_dbg_core(NULL, "\n"); > > This is even worse :-) The next two messages are also fairly useless, > they should be expanded, or dropped. Okay. > > - DRM_DEBUG("\n"); > > + drm_dbg_core(dev, "\n"); > > Ditto. Okay. > > + drm_dbg_core(dev, "\n"); > > + > > Same, and the two messages below too. Okay. > > - DRM_DEBUG("\n"); > > + drm_dbg_core(dev, "\n"); > > Here too. Okay. > With the commit subject fixed, > > Reviewed-by: Laurent Pinchart laurent.pinchart+renesas@ideasonboard.com> Thanks, Siddh