Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp6182669rwl; Mon, 9 Jan 2023 05:22:35 -0800 (PST) X-Google-Smtp-Source: AMrXdXs065UG9bn6b3WGh3swxhcfgJ5GE4ncZDdafHBN+opewsDUrjTarXC+bnUJwQboIhEMAVK5 X-Received: by 2002:a17:906:279a:b0:7c1:10b4:4742 with SMTP id j26-20020a170906279a00b007c110b44742mr52454728ejc.55.1673270555223; Mon, 09 Jan 2023 05:22:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1673270555; cv=pass; d=google.com; s=arc-20160816; b=xZ5noXyya/ZJx2Mo1pEMxtYIlH8+9JUAAxAG47niW6Hc4FlugN901KqlzDZqzQQdBb l2891Y3bObV0LlnqQ5gfa0NlgS5k+9BzxD5DK/4sTCdEwgTzMY+xHkbahf74BaF4hMLM 3hUCZa936ZDzoJeOJto5rBWHrdJMs3GRxJjn0z8aHAAgi29RMEbRadmdDT1MCTbXXzQa Pev/PQELwN7na5dbXwjwMLNU9Og57lO80bvEh1sPGqUct5DlBEKD84PVqwLLIClpejbm GcA7wQdToOl8cf5Ar2xCf0tNIkeOweqwj/aNz5VQtd8gPpIjD8JRcew4VY+uBwqfvUYu qy2g== 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=8m3UiIpaqwhxOnubafQnfgDXsOIquhP+SlU1ixmnv+8=; b=kKPEU64AUBw/r8qJ7AsjzTJMRIaamNGr6+3fD3wpSeyHZw4UAIz+jFhFK5Gyr2DLeB CGEhpzR0/2Rr4k7iA2elq3gzmDeNtvb+cT3nq1+RsUfZ/xT8t+nSQInxXmxu6XxUUGbr uDTElSm/sPRdQIPc236Q3AAL5o3M7HFCGSnYV6txwWtYAdxHrz+SJCHRccgF3DRwHmMJ oTAA+FndUQdZE/f5StE8/3VHopZE0EeA6zv7tqbpV7hgh0Z72SfKegpe1jhxXAZMkfCD JDifreqaICQVtIQz83jB5Q+NOJ/4IGFHEkI2fxmFZExHEKUeZbqhU+m56F7cyAaX60G/ GBDg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@siddh.me header.s=zmail header.b=hx669WiN; 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=REJECT sp=REJECT 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 g23-20020a170906349700b007f46a3735c7si7034184ejb.136.2023.01.09.05.22.22; Mon, 09 Jan 2023 05:22:35 -0800 (PST) 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=hx669WiN; 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=REJECT sp=REJECT dis=NONE) header.from=siddh.me Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236199AbjAINFR (ORCPT + 52 others); Mon, 9 Jan 2023 08:05:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237338AbjAINED (ORCPT ); Mon, 9 Jan 2023 08:04:03 -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 82E7163C1 for ; Mon, 9 Jan 2023 05:03:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673269252; cv=none; d=zohomail.in; s=zohoarc; b=RAMCAHNMFblTzKqAmhy/pHgi6XvvjWo/JrabVPW8YSyCARCCXtwvTtG3eUKoh/lZO48bK0twcHEb+jnjB95ycZ+f4/j1pX4j4SxSIWsp4/JK0fzbxvuFrb5zXyQ9kfHuWEE1j8l4OK4crUWXCDrelYLXgi+hxqAnKwDul4A3OkQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.in; s=zohoarc; t=1673269252; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=8m3UiIpaqwhxOnubafQnfgDXsOIquhP+SlU1ixmnv+8=; b=Q7M320MAGUPkRSl1TWufRYwwgSsByzDJNj8EX+rnE4ESEJ9dfDc25SbO/rLbVdXOMDoK3NP/F26qCabkglCfezZpxaxdSA4JIsqwxyS312GIaBjDLuQ0XuPgVbm2W32smaM2Ve+ZMwiyoCaKu+Daw4wp4kM1NkiQVHwmYtyScEk= 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=1673269252; 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=8m3UiIpaqwhxOnubafQnfgDXsOIquhP+SlU1ixmnv+8=; b=hx669WiNq76c9dJKD5GdOZihhcpzibI8C/49xFebBLGHgK1I5dhT1eG4U6wkp8Yz ed4UycMp/vovozvUIYQZ9StYr2lxLML5BJmtYPA069HFL+f0V4FMpU4w00B93rlu4At Po9o7klcpAfW857xJQ1iHwY+ewnLZAu9l2Aot1dA= Received: from kampyooter.. (110.226.31.37 [110.226.31.37]) by mx.zoho.in with SMTPS id 1673269250525886.7014855307966; Mon, 9 Jan 2023 18:30:50 +0530 (IST) From: Siddh Raman Pant To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Simon Ser , Jim Cromie , Sam Ravnborg Cc: dri-devel , linux-kernel Message-ID: Subject: [PATCH v6 03/10] drm: Remove usage of deprecated DRM_NOTE Date: Mon, 9 Jan 2023 18:30:28 +0530 X-Mailer: git-send-email 2.39.0 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 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 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.0