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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 48BEBC64ED6 for ; Tue, 28 Feb 2023 09:26:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231315AbjB1J0Z (ORCPT ); Tue, 28 Feb 2023 04:26:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230520AbjB1J0O (ORCPT ); Tue, 28 Feb 2023 04:26:14 -0500 Received: from sender-of-o50.zoho.in (sender-of-o50.zoho.in [103.117.158.50]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3A3D2A6C5 for ; Tue, 28 Feb 2023 01:25:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677576326; cv=none; d=zohomail.in; s=zohoarc; b=fgEX+1uPj784fxN7vTXJe3nCPQJK826kEKorSZThLdyz0gDm1P4g8uUg5J4OtNjAGeGWLXvz4I14FAwERnuYZA18CeaHXDWuKS1kYbKPlWodpSTy9wI5RlXHLcUIAKc9nGiQRop1aZght9ebPdTckpoW3VVi5HmtdsUi2i1uA9o= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.in; s=zohoarc; t=1677576326; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=s+1aRwiNm1xJIIpdODVg/Fomzy58PZ9c6iVajo9oojo=; b=ZOZVG80+cq5T/bxZkcq74MVx9issxjKvo5G0QiCrnHaYZ+G10CI9CIivgru7t5rp7D18n39lGJCyBhvzdbD+WHA0agxOpumG0TP78H96XkddQb4PUogH2UCCxxEtEemS5EzFEZXp500GKk4f1lmpwIXT58yPJ/ohS7Mn+iRKXpc= 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=1677576326; 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=s+1aRwiNm1xJIIpdODVg/Fomzy58PZ9c6iVajo9oojo=; b=bPRKClt13nkeMAwH8y6t+wcpz5GeIuoCNxez5k1A1LThW9lngh5J2uhxtaFCE4zG r3F0DPekV6LZDzFfDKoJGh3QHbOmcOS2vAcE9OsF8m+cyE3myQ5zhaCWxcvkdesz177 hlcQCNMvgxv2Aru7gWSGG+GBIs8RqIYSnFqBbHUo= Received: from kampyooter.. (106.213.255.81 [106.213.255.81]) by mx.zoho.in with SMTPS id 167757632581569.92391456769133; Tue, 28 Feb 2023 14:55:25 +0530 (IST) From: Siddh Raman Pant To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Jim Cromie , Sam Ravnborg , Jani Nikula , Suraj Upadhyay Cc: linux-kernel , dri-devel Message-ID: <0653bdb84785a3de81b285b873cca253f63932e4.1677574322.git.code@siddh.me> Subject: [PATCH v8 4/8] drm: Remove usage of deprecated DRM_NOTE Date: Tue, 28 Feb 2023 14:55:08 +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 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 38ea8203df45..67fed6cee9e9 100644 --- a/drivers/gpu/drm/drm_displayid.c +++ b/drivers/gpu/drm/drm_displayid.c @@ -26,7 +26,7 @@ static int validate_displayid(const u8 *displayid, int le= ngth, int idx) =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 -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