Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7505878rwd; Tue, 6 Jun 2023 11:42:02 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7oBSwn3AsDes1dDLkbKfKnigwmjz8xfZ5gujqb7eFZu1ayyFBnMlQASh8oKTagnH8vSLGc X-Received: by 2002:a05:622a:189f:b0:3f9:a65b:bc69 with SMTP id v31-20020a05622a189f00b003f9a65bbc69mr669200qtc.61.1686076921920; Tue, 06 Jun 2023 11:42:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686076921; cv=pass; d=google.com; s=arc-20160816; b=zx2QZrWykk8EoxZcaKHFz1LreKHNe+wKE1tyC715hAZeIfl6e6hdSBaLF6Mx1TyUi9 KR9OVI+UaeEOMbNb/+iQ7q0hqBXQKfDB0DfOIGyiGuX67FqVqUlosk1VcER21nOoE3sx MqNikGM4y5HBg7YM2yQRQnOQSLzYw77x1GYxyjsKnz0JlHYKYvzZL5mLs+PH9KE114fq 8i/e6DO0riKmLOuDHd8dEx5ZRWgmbudw+849FFbg5iqHGP90Fx40L1Cxv8J1DK9qeM5Y GdSTD2FIPQQyGq1zCdrxdTqNTjog9Hafcd+860K6BmMN+dv6QDGZgFSS6CgzS7TZrneW Alxg== 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=gXvXXU5Pl512RxL2KjdbvSb2lS9QYJMeMK1bfUSHDnM=; b=wj5T7XeeAXWt0wkYsaeRIMwXjzccAz1mkPEuzMrrfawzy8UrLWiArfeTLY6/k4ANm9 YEy3Jwy80OlTg9MZsr2zGMjzxscRF2/bi+fHMX5IgrEL6dwMfabINDMkht/Lg4tu67F7 BSucuLbncsrR1nTSKU5v9yMOmn6bmtyPpuLJYUbJa/ntBdzWoo1MeYfamr/fAXo/ratB q6hNbuBVi1fBkAbq1Gfmf78zCTGh6CV6GYcfP+VtcjaocIdI1BAXMCAzEdpQALglmAxq NKZceXr6ZK3AuvuZAq7MyJzy7d3PW7gg27qvzT5TJE19UgFneYKTuj24z4k4/hKXst95 vYLQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@siddh.me header.s=zmail header.b=WI9X05PB; 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 s7-20020ac85cc7000000b003f6839ccd91si6691005qta.273.2023.06.06.11.41.47; Tue, 06 Jun 2023 11:42:01 -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=WI9X05PB; 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 S238087AbjFFSbh (ORCPT + 99 others); Tue, 6 Jun 2023 14:31:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238951AbjFFSbP (ORCPT ); Tue, 6 Jun 2023 14:31:15 -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 45515170A for ; Tue, 6 Jun 2023 11:31:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686076230; cv=none; d=zohomail.in; s=zohoarc; b=X9vFGcGJeisIalvabYGBih6inqjrxMLFj22NDV82vmKlcz7pIqCbLJ40W8Hhdx+tRs76XTDecsR0DmZfw3V8El9tGEa863X8ke5mLlpwYhtLuU81NcfziCPc2oc5k7HpmHmvMd4qVSydtupKsoeEI/xgMoAjj1MIqAjoK9VqMQM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.in; s=zohoarc; t=1686076230; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=gXvXXU5Pl512RxL2KjdbvSb2lS9QYJMeMK1bfUSHDnM=; b=A0N2SwCQYXxjh13/6s2bkeFft4w7YJFnWRD9wKWXubpwAOS19pjJR94RcfZEaHF9raqQmkRvY7NuXc7HZWlEhn8zXzjeqW+kzdK1u4CVdhnU9PUYr5M07UCrqrSUIlfnzqlofN/BLYOldVQosLg9jcXM0Bf4k9n0Cn7sk6o1O5s= 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=1686076230; 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=gXvXXU5Pl512RxL2KjdbvSb2lS9QYJMeMK1bfUSHDnM=; b=WI9X05PBzmzOzoRXjArKjm0ubGJ5abijIAX1oTKNy6vzd1qBc1GTwVXiqCNq6rUr gYIt0PN/gM0r1WOly006wmTcoFFZwEwPLe2yF1Dk/6iY2gJeehuqo4bk/nSW0uKE2Pe AJ/HK/cE6clYOUniJdywWgk7/m1G88NiNOLAT3Zc= Received: from kampyooter.. (122.176.141.156 [122.176.141.156]) by mx.zoho.in with SMTPS id 1686076228732331.1940331440147; Wed, 7 Jun 2023 00:00:28 +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 , Laurent Pinchart Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Suraj Upadhyay Message-ID: <8ab073a962d29139bca3b2a4f75991f39297e56a.1686075579.git.code@siddh.me> Subject: [PATCH v10 4/9] drm: Remove usage of deprecated DRM_NOTE in DRM core Date: Wed, 7 Jun 2023 00:00:05 +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(). Reviewed-by: Laurent Pinchart 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