Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp2235044rwl; Mon, 26 Dec 2022 11:02:43 -0800 (PST) X-Google-Smtp-Source: AMrXdXv1eufS3pHGFWksFACNCjWs01R8uShjFqVAX1DGKNqn43YcpNrcRTOZ6PeCpUUOJ6g083vH X-Received: by 2002:a05:6a21:3d0a:b0:ac:6543:d515 with SMTP id bi10-20020a056a213d0a00b000ac6543d515mr25876013pzc.42.1672081362849; Mon, 26 Dec 2022 11:02:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1672081362; cv=pass; d=google.com; s=arc-20160816; b=kUOWgcfrLfLzpsPiDW1ju8MbqUy80LHcxOf9E9O94qTnKvSV3XAyep80D7eldfkZiI X379k9lkTqRyaxuWtMnsXY0GEUHntBlyffWx8wtpDC5alys6WALZzYktpUSCnZSnxEDI WhP/RFnvbnWUWuC/qCiiIE0Vz53K82R18oVYOBKAVLEH/w0wwqBo/aJmT9D2OXyzAaqv 7RAQtNMxOf7CrgLc5OslGxcXcasfkaiVQkiRe9pptZIPpsQjjw8/srNpJvXNEYZsZpcy Mukj4rJzaMmaeP2fhG82HaGtN47ulykHrUvBcWKiYob13j4GyfxkDb8YSIBrWeqdHpJp 8IIw== 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=8OKxMmVSZVpf6hsuOYKGvrkXa2zTnBx+FjtDUMMgRgg=; b=kI0gCdZDcb8FqkUHNtTu19/m5LdNwMZaRw12fgx1E3SF9JBGqZuH8MAw2dF0N04Qj6 Lw58gfQkpC8hXNb8BtKbnG5KDpHdyFetkg2WePZ9Nw7Q0tEwAfEfPKido77BO4yfELuh pgjeZkcbp5j+XOcDiHSNdUtuaBqSAJBe6Zx/ph2+nzhnsLJKxOwDGbhVUXfQiLn2Hwqb kxHUQhU7qOITfGcwj7AD/odPmpG94hk6Q9GoG2VyHFgIkHpcgOPhhjkoE2jd+J/pRxFv JoksUic334hOi4ISFnWksQrX4VoIMm28E395AvcTSB6/ELurBShgkn6bRsDHkeWyZPLG zPJA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@siddh.me header.s=zmail header.b=YkLhhGkd; 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 i26-20020a63585a000000b00478162cf8e3si12195872pgm.81.2022.12.26.11.02.33; Mon, 26 Dec 2022 11:02:42 -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=YkLhhGkd; 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 S232197AbiLZS2E (ORCPT + 66 others); Mon, 26 Dec 2022 13:28:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229926AbiLZS2B (ORCPT ); Mon, 26 Dec 2022 13:28:01 -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 EA3EF1162 for ; Mon, 26 Dec 2022 10:27:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672079249; cv=none; d=zohomail.in; s=zohoarc; b=TwG5ObfuPTqa6v77PlmbX/o2hW6w3fk1+xvE2jQ2Zx2scTJX//p5qtSox309DdvnmUK+GN2ERafU70UasQYXC3r9PEDH8M86EvrN+2r787On3Gh1RZG4tfMEMVy8Znq/6qdOG731zW3M6Mjr3mKJCtm21dA4Z/8CkrMpvqJLpHM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.in; s=zohoarc; t=1672079249; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=8OKxMmVSZVpf6hsuOYKGvrkXa2zTnBx+FjtDUMMgRgg=; b=QgrQdpcHXmF9dgV9xr+kO4Rz0FH2clGW/Yds3u3UXTihB/x/s2Q5xRMSE/NHGtc+5eJ1GvYCNaSvmwwg0h41YpEQPUDUUv5LRVRa5CT7FmOvkuYCHB4sy9+Z2qcqwW1vyWoC9XIOSSDqUuDRoqR1iZKM03qOlreNIa36LEMNO5A= 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=1672079249; 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=8OKxMmVSZVpf6hsuOYKGvrkXa2zTnBx+FjtDUMMgRgg=; b=YkLhhGkdxVHIKAlR5rzxZVYNjtEDrSXg8qJ3uA8XWIvLMUhCKwKSx9EMtJbMOPuE WlK4z8KoZfp7kwJbz5Vx/qTO3VnefKjZCB28ICGzKHmGZeVIET79NkFu96h2QqVtkEp 9RAthe0uhflO2svIuMVNC3U4B5GqO+Mn77yjAxqY= Received: from kampyooter.. (110.226.31.37 [110.226.31.37]) by mx.zoho.in with SMTPS id 1672079247259128.05523150859835; Mon, 26 Dec 2022 23:57:27 +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: Subject: [PATCH v3 03/10] drm: Remove usage of deprecated DRM_NOTE Date: Mon, 26 Dec 2022 23:57:15 +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_INFO 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.35.1