Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp4027003rwl; Sat, 7 Jan 2023 09:42:54 -0800 (PST) X-Google-Smtp-Source: AMrXdXsBV34n/sGfongM91UyEQHN5WRLKGSdy+poBIw9hUzckQiZSDetrwczitym967jeBIS6exJ X-Received: by 2002:a17:902:a510:b0:192:48d1:f06c with SMTP id s16-20020a170902a51000b0019248d1f06cmr54683516plq.35.1673113374508; Sat, 07 Jan 2023 09:42:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1673113374; cv=pass; d=google.com; s=arc-20160816; b=QBWezFURiSZqfNokWsy7T7sq8l51hxeIm/U5WqnJ/L1w8gZRksqWgtjwG+DBrMACaH FEQdseYKfAWiU44tiCyI2oUYkqfK6f0j7USDT+VJmOBL1lNhD8aJL21/+1EfNSkV0zZX y1PN6qBAh8qF36LiI3UQt5wS1kIpWq5vxyMWhn4gkyT2XgdUcpojc/J0z3CBFxv67FJw Y7/KCWkJbz6JeMDt3x2yO0ZDbNoxxnRnH6/qIjgZqaYI1aFBLLeibasXtXA1jebWhZkT beIFm7wG2QeZ2V/ajS5f6+x9VjGpzehLBNxcR98idpRiCJO/5YipU2MjKfO42/CtH7K4 XDBg== 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=hAzvL293jydS1JO7Kzw7JyXAeGoHUe8tt9h8scIou1F0X6T+SgYwP73Kod5Bi42JrR NnScrVqyioD9QZEKPbuuglIDHrD9U5qBuG5QZk6cksYCID1LJ7kbxY/BJof9Npx2j+59 QYddO+45WbYMhKH6eQHpYDpQOGmhOgi6XTUZAyuBMQ0solP3sWUvTQSaaH7T/18PLbqo 4O18HIY78njYoodIy+J+W947f/i9jBhf09mMXlT94emMsC1CAaGN4ClpQ7b4B0zc0EwJ x5W+QEfp+qDBg0NnEKrMb+NbuVI2CYRj5uHh6WDmUgoBq1Qma5h9EIg0U34HkLDcA0mu jfgA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@siddh.me header.s=zmail header.b="fK6jVro/"; 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 iz1-20020a170902ef8100b0019266fcbd20si4202475plb.623.2023.01.07.09.42.47; Sat, 07 Jan 2023 09:42:54 -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="fK6jVro/"; 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 S232730AbjAGRXy (ORCPT + 54 others); Sat, 7 Jan 2023 12:23:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232665AbjAGRXp (ORCPT ); Sat, 7 Jan 2023 12:23:45 -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 303A64D48F for ; Sat, 7 Jan 2023 09:23:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673112188; cv=none; d=zohomail.in; s=zohoarc; b=ADOBnuoNuboAO5qFUiRQVwiOPmzuH7NSUrUkf6RfUXxPF1Uh2idrWL8RJkLfvJB7GywDCNNJJA7HDmVCUxYj2RyauMIsUiMTx7nMMJOSGc/1fQUbouPF/JWXUuNC7aUsOqQ1k9CqCYkrvqourSy/UhNVnaaXKkWC+EMECc1P2fg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.in; s=zohoarc; t=1673112188; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=8m3UiIpaqwhxOnubafQnfgDXsOIquhP+SlU1ixmnv+8=; b=VW07aaJ0CSsYIgsKxoWfC/hrh4RBcksYFZSxXTb9z95LoCSC/9fklWtAK15kqODW1YYiGsvG9gZ3X8p7K24g0pfEFR48piz4JG2IAXyQEqoUE+c/03yKjHhH+QRu0UIwGpaSUyJ+HWcUZe+dI8VfUMxBlj7hj7x1YttS1lDnXqc= 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=1673112188; 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=fK6jVro/3CoNSHLecTeU043EVQbW6b1NRvDHmV1o2XZSjvf828YQkDKlqPxWznAM izcvoXDw7kxcunlXIwAve4gondMVJltcyqiL9FO/83kkeJwUadH6uDfEdmnE/hP2qwp ObgkqtKJC64HtRB2pfFbPADst0CsA02vBaQPtN70= Received: from kampyooter.. (110.226.31.37 [110.226.31.37]) by mx.zoho.in with SMTPS id 1673112187213332.966291569277; Sat, 7 Jan 2023 22:53:07 +0530 (IST) From: Siddh Raman Pant To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Simon Ser , Jim Cromie Cc: dri-devel , linux-kernel Message-ID: <0efc3a499d140c8ba134fe23de9afb82b71cf150.1673110890.git.code@siddh.me> Subject: [PATCH v5 03/10] drm: Remove usage of deprecated DRM_NOTE Date: Sat, 7 Jan 2023 22:52:23 +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