Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6912104rwd; Tue, 6 Jun 2023 03:57:07 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ54Bw+mEH6qPJynJAouLjg3x3sLMlDgr9EZAdt0cZlc0dFTnDkoCWxjuGr0O7vEQ9kzpViC X-Received: by 2002:a05:620a:28d4:b0:75e:d5e5:6b1 with SMTP id l20-20020a05620a28d400b0075ed5e506b1mr724527qkp.75.1686049027655; Tue, 06 Jun 2023 03:57:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686049027; cv=pass; d=google.com; s=arc-20160816; b=av0EQ9Z2Jh7YZXn8z+pzizT+AiVcedW3dvlQEixU0GJz1ANPNcfbF8+H6GCDB8ISRa fz6jOPudaaAba6yBE2MbZV9uIrzBE8TU6W27iixCpXrFagYJxHSaCi3Yf7Epp3BADtXe 71SLFpZP/31enJKymQD2ztVdrqa7BzEKwGuRL3oBBsgZikZgsLjnvo6tXweZzlDGwth8 OxmNduH+2uruFcHsRJsZRkhKGPvpacWKLd5ifkZ8P7ukKx+CwBLM6pt9CTwxcuK/WNHR Vd+mSzwWhf31yOT/+mRiPSQq67Byw6/MyaQl/CqXrmielxPPFP8jfJLA3SjDlL4CTbuz Z6Ag== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:subject:message-id:cc:to:from :dkim-signature; bh=oaRDWrHa9OwMd9tMZjDMhVHgfoU1wFJjeKV6s1bIgBA=; b=QLNnnV00UuJAr0hOSCGETs7xyU4RCiyWxqraaBIU34iWG8XqrnIlj2Iyu6SYqPYAtr tdjlYltf/TaDovTdT+IO2RcafWwW6ki/L8ksjudZAq53x0K2ZjnwCAd7iIUpgCYyYu5t uHkasHkBF0Pp2i6SAmsoVA9lwF563Jur/yNv/ANOdpqOYQhUhbt0+KlyYMlEwOVXsfPZ bBSbJS9Y4krNGBOnWEOVhd9hNN76gOc+WHKaD6JcSMlNNhv0J/jONk8DrXyEvg6nIPgr DdV0oSQv1+yPuo8HmHZQEhAmlFEkhlipIeg5UJk3RDjZIoYvaVp5mLfLjenHeqRxyXM7 mVSw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@siddh.me header.s=zmail header.b=at6SXXhs; 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 w20-20020ae9e514000000b0075cd458ddb5si5730900qkf.57.2023.06.06.03.56.42; Tue, 06 Jun 2023 03:57:07 -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=at6SXXhs; 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 S237119AbjFFKsM (ORCPT + 99 others); Tue, 6 Jun 2023 06:48:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233093AbjFFKrc (ORCPT ); Tue, 6 Jun 2023 06:47:32 -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 A6BAEE42 for ; Tue, 6 Jun 2023 03:46:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686048331; cv=none; d=zohomail.in; s=zohoarc; b=UvubI0ufLdq+aLsLCgpiNRcI1SL6UnVyfZOBemO56MTqS32QSUlYqzaYu8rHCJKG1kwxwL8ztdDGZCGm1TCZCHs4GUc+dB6gHA2JlOmydJr/JrDiddIASc6OHfOz/k5H82v2TMK3V6OYkfjKe8Lot1tMWW/h0UtNK4e+vQFlYR8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.in; s=zohoarc; t=1686048331; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=oaRDWrHa9OwMd9tMZjDMhVHgfoU1wFJjeKV6s1bIgBA=; b=PmAuNgAbivHQippfZ9q5173Rdgd0sWgjx1d846eSogThkjpdyeNggxxMlUVLwf6UG/yDf5WRQvYBamacZq/rcWs5E7HTVMitwM0SzE2vC2R5il1imitl/Jk1hsTNgPjYK80CdjxHPq1OE9bDtR203USQMaiVQqcnt8e2uRIbLZk= 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=1686048331; s=zmail; d=siddh.me; i=code@siddh.me; h=From:From:To:To:Cc:Cc:Message-ID:Subject:Subject:Date:Date:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding:Content-Type:Message-Id:Reply-To; bh=oaRDWrHa9OwMd9tMZjDMhVHgfoU1wFJjeKV6s1bIgBA=; b=at6SXXhsguFokWjd741ICj90PKaQZw8HVk17W6QRId8iJA6YMT1qkphbM1up+8uz Kwo0CtXRTsfRkXFLshM+Iv0aCFzUGxOWDN1L0f42/fzy72u/wIA4NBiT9XHdGKj5tSU IgggfwwwkOv9pSJ8oVcCOKTGoUf5dUJRuiRIBvx8= Received: from kampyooter.. (122.176.141.156 [122.176.141.156]) by mx.zoho.in with SMTPS id 1686048330047115.23647061214422; Tue, 6 Jun 2023 16:15:30 +0530 (IST) From: Siddh Raman Pant To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Jani Nikula Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Suraj Upadhyay Message-ID: <91d957dd92b41dda42da912397df195e3565866a.1686047727.git.code@siddh.me> Subject: [PATCH v9 4/8] drm: Remove usage of deprecated DRM_NOTE Date: Tue, 6 Jun 2023 16:15:18 +0530 X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Content-Type: text/plain; charset=utf8 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 drm_print.h says DRM_NOTE is deprecated in favor of drm_notice(). Signed-off-by: Siddh Raman Pant --- drivers/gpu/drm/drm_displayid.c | 2 +- drivers/gpu/drm/drm_kms_helper_common.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/drm_displayid.c b/drivers/gpu/drm/drm_displayi= d.c index 9edc111be7ee..27ffeee09e4f 100644 --- a/drivers/gpu/drm/drm_displayid.c +++ b/drivers/gpu/drm/drm_displayid.c @@ -42,7 +42,7 @@ validate_displayid(const u8 *displayid, int length, int i= dx) =09for (i =3D 0; i < dispid_length; i++) =09=09csum +=3D displayid[idx + i]; =09if (csum) { -=09=09DRM_NOTE("DisplayID checksum invalid, remainder is %d\n", csum); +=09=09drm_notice(NULL, "DisplayID checksum invalid, remainder is %d\n", cs= um); =09=09return ERR_PTR(-EINVAL); =09} =20 diff --git a/drivers/gpu/drm/drm_kms_helper_common.c b/drivers/gpu/drm/drm_= kms_helper_common.c index 0bf0fc1abf54..7a41373b67dc 100644 --- a/drivers/gpu/drm/drm_kms_helper_common.c +++ b/drivers/gpu/drm/drm_kms_helper_common.c @@ -41,7 +41,7 @@ MODULE_LICENSE("GPL and additional rights"); /* Backward compatibility for drm_kms_helper.edid_firmware */ static int edid_firmware_set(const char *val, const struct kernel_param *k= p) { -=09DRM_NOTE("drm_kms_helper.edid_firmware is deprecated, please use drm.ed= id_firmware instead.\n"); +=09drm_notice(NULL, "drm_kms_helper.edid_firmware is deprecated, please us= e drm.edid_firmware instead.\n"); =20 =09return __drm_set_edid_firmware_path(val); } --=20 2.39.2