Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp4621966rwj; Tue, 20 Dec 2022 12:45:44 -0800 (PST) X-Google-Smtp-Source: AA0mqf4BEWDaNaBQ0J/a1zhDdE+6mH+PC2HyiiGzejFXLkqVmOass/me3sPrMYCJ4wvPVEs2LNut X-Received: by 2002:a05:6a21:2d07:b0:a5:6e3d:107b with SMTP id tw7-20020a056a212d0700b000a56e3d107bmr57739684pzb.0.1671569144059; Tue, 20 Dec 2022 12:45:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1671569144; cv=pass; d=google.com; s=arc-20160816; b=JBJBPM/UmoAgPu33Ki4KrGPf3p0R7NSo5K2sRSIAXDiSreCzbpZCxKO5GW38sVmHxr XhkAar6sk/WARGgQ/PUEAOJLd1DDV8EqTKpw5mCPEJi4rIm2SHIY0GzHTytF+OIUmE5F iVSYPRkZ3TOvkmP1jdWU5Fstig3GBU+d3dMRnrtCIO3CGDUE3EKo1vswOelOFHNTcD4H Owf5zQGOScVcq5LiXE62Mn7YNmordiwTbWmbsY5EkBrdG+sVdgd4FExvtBiUOga2b2xw 9vBaHm+KgleeO2+42XFyoPzbsQeWra3ZlYgiL6BCCuxl5QTxy7Liv1K7gJ1ywX7mBpDC zRmg== 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=B4vywaIeLwwUL8wGjn4w5oeVMlLDAnoFbaWGpVzc6bA=; b=jvYB9Y0ksVN6YjTGDeUQFeUkjMW83RiNpg+ZzVA0s4L5AV6lAG+Zto4nKqUkGdVjCF g47b4whOihByATfAqLrRmoe2y44OhfGiYSziZtnPoZx/S8CI/H0jfJz5zYkVDch8D6Wa wdemLC8yCSAHZ0gVM2YiqSByShyIND9coB8xaah5N4kywRjn2KnTCZ9lEFD7GP0Oz7kE mt00gOrvblnNxxBb096K/JCWhBsoT5rnp9TYS188eomXfSuJHvk4HuJzBQsIlvvTdZ5y 8VvlNQoIjo2Ot/EnQTgYm7WSEvQTVPhMCsq0rmG2ky8gJ6lnPOWCFySlHQIOLfiSyXor 8wOw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@siddh.me header.s=zmail header.b=heY8VjP7; 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 l188-20020a633ec5000000b0046ae2a8ea9csi14827251pga.733.2022.12.20.12.45.35; Tue, 20 Dec 2022 12:45:44 -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=heY8VjP7; 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 S234236AbiLTURj (ORCPT + 68 others); Tue, 20 Dec 2022 15:17:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229451AbiLTURh (ORCPT ); Tue, 20 Dec 2022 15:17:37 -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 688D2D43 for ; Tue, 20 Dec 2022 12:17:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671567419; cv=none; d=zohomail.in; s=zohoarc; b=HfgL6Jue0Y0Rojcp5SehZwYQN0BTAlCvRulSiyHEocY1ejgx1Xoa5HBUsUN0zvFbXe+eJz0JlT6Bvlo76dguHABL5X3QwuZQpaNHamVD08sU9GwbQPkFwiMVZIcwKrICBXGu5hBTHQP24/eJpP7p1hInyO9mQyPpPydnvFqw1FI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.in; s=zohoarc; t=1671567419; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=B4vywaIeLwwUL8wGjn4w5oeVMlLDAnoFbaWGpVzc6bA=; b=NmdxvWTfCADXu8h23KHd6olXtR5IziDsuxL4iTyaWJN6nF37BTE/4zSinHg+5qzbpl329XOw7wTvgSpsVYncXizFmIYfuDwqMfEMW7osbGr9B5kkb+m+7ZItFC7M5eQsk7rn+GexC6HZ6Fh0beKM6mLiRBU8r/UXabbrrtND2vs= 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=1671567419; 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=B4vywaIeLwwUL8wGjn4w5oeVMlLDAnoFbaWGpVzc6bA=; b=heY8VjP7cjsXz2je20S1ET3eBzTMeKTh0uG55VBqDW13Ub3hIC0KUWJEMTn5JJlw zAkawAg5qlEs/Ao0nNsROT7sKMOgrdf2UH+HZ3WEi8QNQN+8kB3N7G+p9P9zow3N5F/ L2jGkAGYELZfqp53GI/YiyjH30iza0jkYDrhT2B0= Received: from kampyooter.. (110.226.31.37 [110.226.31.37]) by mx.zoho.in with SMTPS id 1671567419224643.9504838203884; Wed, 21 Dec 2022 01:46:59 +0530 (IST) From: Siddh Raman Pant To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter Cc: dri-devel , linux-kernel Message-ID: <09fceb1bcb8721e7ff1801e62f016f09d8f3d287.1671566741.git.code@siddh.me> Subject: [PATCH 02/10] drm: Remove usage of deprecated DRM_NOTE Date: Wed, 21 Dec 2022 01:46:37 +0530 X-Mailer: git-send-email 2.35.1 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 favour of pr_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..e8431da8238a 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=09pr_notice("DisplayID checksum invalid, remainder is %d\n", csum); =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..bcb3dd62462c 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"); +=09pr_notice("drm_kms_helper.edid_firmware is deprecated, please use drm.e= did_firmware instead.\n"); =20 =09return __drm_set_edid_firmware_path(val); } --=20 2.35.1