Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp1490200rwl; Thu, 5 Jan 2023 14:32:32 -0800 (PST) X-Google-Smtp-Source: AMrXdXulOp5lNMlknWvME/reBNn4rru5tRNtnCdBCoB6xG+TlJP9aRy5Y9ZRP9v3GBYYscyJvnfu X-Received: by 2002:a05:6a20:d044:b0:a5:c5ed:6469 with SMTP id hv4-20020a056a20d04400b000a5c5ed6469mr67902742pzb.31.1672957952093; Thu, 05 Jan 2023 14:32:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1672957952; cv=pass; d=google.com; s=arc-20160816; b=jmZUFL4/i5oJc/NSiiiib3G8MdYxqWnDiGDEdM+p8qdEJZ2tH+QaL/DTa3wq53iyn7 JKgOKgLsqdkb3ZN6Wp47gMZazSAjgwEWiHFbMxE4Ergm1BTKxhQDhgA7G7QVY54HbhZ6 6w7q3Eg9KzdM9PfdAKhgB4cuJ656TuN92shTpuMe3hObOCIFUQYZoe/dNBBITNgZ7Hcz TpImJ/sAO6cXVBX6gNZUvdzJ+Rq6XqrG9vy124Lg8rWwGEIaEQvdo60yOzQvWM/irCT3 lvr71cn2r67sUksdXoiJHJGisBYViEXUthdK9cCqxigF9gvZ0jhDhKsPTyugsvwIHLVd mCxg== 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=B79xJbdtAs3L33sTdEB+1H/XzOM/gKYkZCWIe4CrWLefFGuGJ2uw382kS68d9F3H3P WQvAh3H6kc3NmJUcTpz3DZpo0tlnJ2CqI0PlIb3SbLKfmCo9LzZtrznpJ9XGBuC7OZte NfxrZier78UTrnPnOx/tFEqbZDM+mIAjTYfTo625TTr8/MIV8WgmnuDFab9wGZcwuoFm SgO9Y5wNhH1qcqhDJvmFGkUpGjJLhvyqXflVgwadCY0e9td2nA0i9z6MsJ3c9oA3ofaC m5eXIYgPgjYtWmolNOFhWq25N6WWgLxdjeHpdWhI+7CLlBQZZ9XZy+p6WKyQ20p/L6N9 EVjw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@siddh.me header.s=zmail header.b=RDuXqehO; 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 o30-20020a63921e000000b00477037e706bsi41304390pgd.727.2023.01.05.14.32.23; Thu, 05 Jan 2023 14:32:32 -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=RDuXqehO; 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 S235820AbjAEWZu (ORCPT + 57 others); Thu, 5 Jan 2023 17:25:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235875AbjAEWZp (ORCPT ); Thu, 5 Jan 2023 17:25: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 665CB6D52D for ; Thu, 5 Jan 2023 14:25:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672957509; cv=none; d=zohomail.in; s=zohoarc; b=RmEZYZTTZ+n9uss18sU3rIltLzJrCKx61PtiH8FE/9rJNFFc4360JEH+lDUbaVplNeq1pUue1ssrlOJzINq7PSnEufzGkoqqH0DSwF8FJkiaQ/dX3QQ/SMmURfhet9W/yE/ubsIQsutRHxpM0NVKwO4N1uyWM9qBo/4X8625QrI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.in; s=zohoarc; t=1672957509; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=8m3UiIpaqwhxOnubafQnfgDXsOIquhP+SlU1ixmnv+8=; b=A/unJIuimFwtpf6sClwSI4IwDSe0jVSsEVC9VZECS1g9+yRE1MzOXLTaqeDLO1iZUYrt0M5a8Y70xFz7bEMvgs3JWgfxD7HLn+LyRa3n6Epfw+kOuj4UuayK8X4I7MHJe5+C7kdq3yUpFn4KaLZw0YIF7rHaQJGQsxchlWhOQh8= 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=1672957509; 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=RDuXqehOf3S1hiI4cakCQa4MevmZ7QWt0nW0pV+xXQcKRHDQjOPPY6OiI6A9T0D2 3ZiPScseo0PZekpvqsAxzr7I7h7Ukp6g592OZDxraSs8Lcqy9H/llvZSCirgTPIjYnn H16XKNb5sWnX2VnKIuGPmpTEwADJQPS9H8h8CJzw= Received: from kampyooter.. (110.226.31.37 [110.226.31.37]) by mx.zoho.in with SMTPS id 1672957507254842.5520703240902; Fri, 6 Jan 2023 03:55: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: <4b4e45033e7980669d34467ad9b2c361822c0218.1672957022.git.code@siddh.me> Subject: [PATCH v4 03/10] drm: Remove usage of deprecated DRM_NOTE Date: Fri, 6 Jan 2023 03:54:54 +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