Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp833532pxk; Mon, 31 Aug 2020 02:19:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWkH+UPGWxRQksQ4jFT3qINC6HscPs/HVSnx6oHrKQoYNMeP52UYetZ2cVVGF+LN5vDvBJ X-Received: by 2002:a50:f197:: with SMTP id x23mr309664edl.367.1598865570402; Mon, 31 Aug 2020 02:19:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598865570; cv=none; d=google.com; s=arc-20160816; b=FG/C4+nCzHUdeR74pYDqPVAzCbprKW6up3guGwEmgClJ04zZp5o4MQbWfu9ssYoHBJ ywnFY6AzYq6hcEmfRMC2yGS2/VBT2EDU0B93A5CPqlY2pim4PE1XXas9cDl7tq0+Q61T SqYmqRfz3P9OKRhG/7rtheiQ/OXLwfv6xmRF35aulqtO4XwSdSls1it1TVJFCbhgAVMG g37s5kds0YEGvQaZVBGYoAq878CvjCe1HTfDUzv10SvEerbaChZqxYcDLoAdzjVI2KnY JvxxNL/g4FaFuUD6eiugOlV7OQ+0nGa305rUdSp2rKBi0i1Yt/EhbUPfjMzilYX3CwYn 53Lg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:content-transfer-encoding:mime-version :message-id:date:subject:cc:from:dkim-signature; bh=o9UCQOw6Icrdln138Yk46bjdxyexHm5RqSjvFlYBk8U=; b=GwMBnwbxJlTyc7BNVL6r6eNp+KB6vKoLc6QEAZ6AEdUqPhQS9d7OxvE9I57V/ycXLY 2G6AVuHWE0ICY1LbaWGXT5zEeyyWtArzCYEL6ZxtDhk+hSoz43dT+QEy1Y507bCeQzCl w6L9oVr4OGei2HVM5KCTJTWcuMPg4Jydrpk1wMf2z173C9PE++CLjcBXsxjuW+lsc7e2 /o+nDLM4ZO0SPenQUSCOiHFC0LXtE8gCmodddZnzIQhXb61uLgiRpOybGnI/FtqIH92F b+B7pqO6PeDPXOZCY7t4XLEKURDCFvMkMCwL3kfCmbfxVO3odKllAMkjWmso9SqLKOJb q2mQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=QV0KmwhU; 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=fail (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 x2si4493386edj.273.2020.08.31.02.19.07; Mon, 31 Aug 2020 02:19: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=fail header.i=@gmail.com header.s=20161025 header.b=QV0KmwhU; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728406AbgHaJSA (ORCPT + 99 others); Mon, 31 Aug 2020 05:18:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727810AbgHaJR6 (ORCPT ); Mon, 31 Aug 2020 05:17:58 -0400 Received: from mail-pj1-x1044.google.com (mail-pj1-x1044.google.com [IPv6:2607:f8b0:4864:20::1044]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF74DC061573; Mon, 31 Aug 2020 02:17:58 -0700 (PDT) Received: by mail-pj1-x1044.google.com with SMTP id i13so2822351pjv.0; Mon, 31 Aug 2020 02:17:58 -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=o9UCQOw6Icrdln138Yk46bjdxyexHm5RqSjvFlYBk8U=; b=QV0KmwhUYJy5ozjdtSeFUEk/E4pQQqWsKgdToJoD/9YQZKXQzVrRNVm2CZmSW7TZpY oIAB1rJR2+QB6+QRoiknh0AAG+UZFAg0/eyjwWIpFf3mky9NVRsEZeppZvxZYsqZ8d6y T+hMBvRqeU6FyjB5PXk8g5MneZPl2TMGcswUcDtkq2U3ILQ+qvrsmgsEWWyZNJuJ+kOY ona9dzJvjwpO6dvARumpTQHpOcYzYvCIhRPUiTmPN0yk6X08t8gOv857AfhilV/09meS nkctTeb7Gbqb0dBZDccPMaeD0PYaT0YxQw6zMFHywHPmqvSyasf5drdUC09xQwhkGPiR yf0w== 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=o9UCQOw6Icrdln138Yk46bjdxyexHm5RqSjvFlYBk8U=; b=XdpTM5gjkRVF+OZ8OeoblcMor//dGMGlokZec0Y6Tep5adzZgDIPNHwUQ2gaZ+JKg8 YWYqocvKjoAoIcdpMeMdywYQ3IMZI21D39rO/HrqnwWEyFJoeDL1HJUuxxpOjjwZI/Fb 75l0RHbR7s45VOKSt2fwSqTQHYixyVFMZWtAzm6N7NiyIhr71cJlSSIXaG6BSmOTQbXY OafHVyGlgnQDPdQMensE9i50xO67u6Cu75vQChnTMkTW690Gbgkb+CuD+E10oeUd789z IzOmlkLD+UMjx5RC6imF+Sz4q4Ns1W6GPV+sZuwLF57jFoI00ciR+FkG6tY3j9rfWaoH 0c1w== X-Gm-Message-State: AOAM532dmLyFSKELE2w9qmXvwjKSXWFAUoiv1Nf+ZVCaOEngFyNNBp4f VN4K+v/YrnkDq+IByYeD0Sk= X-Received: by 2002:a17:90a:714b:: with SMTP id g11mr574043pjs.216.1598865478274; Mon, 31 Aug 2020 02:17:58 -0700 (PDT) Received: from localhost.localdomain ([49.207.195.77]) by smtp.gmail.com with ESMTPSA id k5sm6847055pgk.78.2020.08.31.02.17.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Aug 2020 02:17:57 -0700 (PDT) From: Anant Thazhemadam Cc: anant.thazhemadam@gmail.com, Tony Luck , Fenghua Yu , "Gustavo A. R. Silva" , Vlastimil Babka , Daniel Jordan , afzal mohammed , Michel Lespinasse , linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] arch: ia64 - Update put_filp to fput Date: Mon, 31 Aug 2020 14:47:46 +0530 Message-Id: <20200831091747.9305-1-anant.thazhemadam@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The function `put_filp`, (along with almost all references of it) seems to have been deprecated and exist no more, and neither the prototype nor the function definition seem to be a part of the main kernel tree anymore. It has been recommended that `fput` be used instead, so it felt like it was about time this was updated too Signed-off-by: Anant Thazhemadam --- arch/ia64/kernel/perfmon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/ia64/kernel/perfmon.c b/arch/ia64/kernel/perfmon.c index 0dc3611e7971..91349e38b9be 100644 --- a/arch/ia64/kernel/perfmon.c +++ b/arch/ia64/kernel/perfmon.c @@ -2644,7 +2644,7 @@ pfm_context_create(pfm_context_t *ctx, void *arg, int count, struct pt_regs *reg buffer_error: path = filp->f_path; - put_filp(filp); + fput(filp); path_put(&path); if (ctx->ctx_buf_fmt) { -- 2.25.1