Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp2078982pxv; Sun, 11 Jul 2021 01:53:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwR+pflTjWZ8nav7xHgoKltSDh6kOeS4uJQxs17jKPFkzgTHZ70PMp0Gea+DRX7Y0GJdFJV X-Received: by 2002:aa7:cf91:: with SMTP id z17mr58479516edx.112.1625993610347; Sun, 11 Jul 2021 01:53:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625993610; cv=none; d=google.com; s=arc-20160816; b=hVT+yA49NPE9XcTC2UOe442vwlrqYVp8AE3LYxG5sSQIBbCEVw8Kcp1MbadP30QrnV LepOg0wm6tqOnxSnTDaeqT2xmd06HXnpLYLvGPWRVd8xtcI2pEQmq9VUT0TL5XRrbXKk D0D8lqtI6wZnnpDNJ2UYEivkrO1tl+LbGDq7fhX6mrHt52OGDA7A7bKpEIW07B9q7Su2 Hrhc5dYP4PL87rz/JqqsvULaFIRGzGHb7fvvqi8rF5dV5Xu3/G+kHQDDHnW4QBClRJxd D7AqZMzPbmUaKt90sJsLGSo+PQUrt9uv0IHXLMxVbUthzsuIxauSIg58P3J5lbRDJvHv 181w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=fiuAO62+7h7s9nSyvEm63tvLNu0SfPaEdE1IBzqVth0=; b=h7CCqV+rdbAYaS9jl8W4tgxEA1kc5QxXOHqdvet57egxx7mpu/gPD5Sb3ELoHbjEyV w05pTcYMxh6fWLwMBxvN/waEI6cqyVFAXB3v40ZOM5HB7aF+u2pAkG+zEMiwTWJ+BlP2 P+s/RQto0tAi2Gi6d8w9BbSMIqt6/IdCGSvTa8trP0nwgbjWrlfdQgUuBw7lJronln8L I1NEg0da/z4kpMs4W52q0ltdVfSyKfZBhgQbxLe8KW2k9QtKWaY0JIioYBcU6KH8I8s9 TgzLU/e+VJaM4LoIDrihnPH1vAL3+ZVjs6Q1kC0RuwQ9aAgecls6rX6wZ07/uGoEfEmV PhdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TDmSZmVi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 4si12363725ejr.126.2021.07.11.01.53.07; Sun, 11 Jul 2021 01:53:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TDmSZmVi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230386AbhGKIxe (ORCPT + 99 others); Sun, 11 Jul 2021 04:53:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229523AbhGKIxe (ORCPT ); Sun, 11 Jul 2021 04:53:34 -0400 Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21F4CC0613DD for ; Sun, 11 Jul 2021 01:50:48 -0700 (PDT) Received: by mail-pf1-x429.google.com with SMTP id y4so13190979pfi.9 for ; Sun, 11 Jul 2021 01:50:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=fiuAO62+7h7s9nSyvEm63tvLNu0SfPaEdE1IBzqVth0=; b=TDmSZmVie/dyu8SHyYbkDDM+qqdCjrqdgh5/P5Hm03vkA6wgJzgwajW7tog8kSSpig JKTaeAxeKkcttBLAnqQZWJS0d5CsYOKWDuAAg/8fFGkamr6eOq/W8HaNKtP/D+fHtmsG M1c5DAEIB73uC4YQyTPC2I0QuUes1UFHd/WawvXXwCsXn44x8z+FI049X38q/+piG3ll RaLiGcV0AbhRnbOJsjFpK6fNvm0t+pku8J9wPQlFc7rTdaH9pkqeYR4+rAUSE3ksRFfw WeeKDTe6g4r/ip3f4+o6Lp4UVBR5/YCbvr9mQUAbg3ASKD8+HbSb6sHFJIcNgyh/syQS XKxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=fiuAO62+7h7s9nSyvEm63tvLNu0SfPaEdE1IBzqVth0=; b=cW+qoq4dEtxsv8MTmfupMucUlScX21dyGpnS6SjBUq+sFZh0aHVs9NZVlFk9hn/xrm lgaaFu5+P4lj/+hj3/yvlMbcUN7DSlNSAsFd+VBZs0uufSh9YUBCRZL+bXPEo1XJpPgF ryZR8dqWD+WeOearBbdSzIxMdRihLt9obOafQ+U/ynLa2XrRqvY+5Z7J1cz5TnZjOzpe 81aenaJArvSr4TmnDUfrIgM9xRgiknTycxntsTpuJmKXs0pKq7DNH10xQC4wSYfw3DC2 hfzTQW09K4b5bYxd7XM5I21/8m+xLin43vtoJhLe0oIFyayTRdPJLWWic82YaP6ns9sY kHQA== X-Gm-Message-State: AOAM533HVymw8tet0Fq3yyCxDfXqK78qJ4Yycfrur8ZuSZWBkpK9/p52 +xCYBOcCHHTegAzn9SaPzA4= X-Received: by 2002:a63:1661:: with SMTP id 33mr5901358pgw.443.1625993447486; Sun, 11 Jul 2021 01:50:47 -0700 (PDT) Received: from localhost.localdomain ([49.37.51.242]) by smtp.gmail.com with ESMTPSA id f19sm959714pjj.22.2021.07.11.01.50.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Jul 2021 01:50:47 -0700 (PDT) From: Dwaipayan Ray To: airlied@linux.ie, daniel@ffwll.ch Cc: lukas.bulwahn@gmail.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Dwaipayan Ray Subject: [PATCH] drivers:gpu:drm:selftests: cleanup __FUNCTION__ usage Date: Sun, 11 Jul 2021 14:20:30 +0530 Message-Id: <20210711085030.95725-1-dwaipayanray1@gmail.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org __FUNCTION__ exists only for backwards compatibility reasons with old gcc versions. Replace it with __func__. Signed-off-by: Dwaipayan Ray --- drivers/gpu/drm/selftests/test-drm_modeset_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/selftests/test-drm_modeset_common.h b/drivers/gpu/drm/selftests/test-drm_modeset_common.h index cfb51d8da2bc..a4e9d9bacc89 100644 --- a/drivers/gpu/drm/selftests/test-drm_modeset_common.h +++ b/drivers/gpu/drm/selftests/test-drm_modeset_common.h @@ -9,7 +9,7 @@ #define FAIL(test, msg, ...) \ do { \ if (test) { \ - pr_err("%s/%u: " msg, __FUNCTION__, __LINE__, ##__VA_ARGS__); \ + pr_err("%s/%u: " msg, __func__, __LINE__, ##__VA_ARGS__); \ return -EINVAL; \ } \ } while (0) -- 2.28.0