Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3149784rdh; Thu, 28 Sep 2023 04:21:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGFX0FLSqodRJ8jgo3pHuZShQQxLhEX4JrljKOezeM/B5U/tOjwxW8WI2znNnszjvBHAGlV X-Received: by 2002:a05:6a20:7d92:b0:15c:fa48:2c09 with SMTP id v18-20020a056a207d9200b0015cfa482c09mr1020621pzj.15.1695900099092; Thu, 28 Sep 2023 04:21:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695900099; cv=none; d=google.com; s=arc-20160816; b=FOW2Bj+CbaPJWD5SzPv12hVgt6/+vJpq3CMMMvAHFxinIyIJGC4wN9B8jEf05mkD/g TmOEsfNAAcMubyfly+xzgvX2G+JFFx7RI+BDlEhOAxmZQY3Z/8McNBL02HJ4c34cH0aW OyvEcOcyfPivO3Ws1sAPYYejchckxgGEmaJ+kf8h8pKpyftCo6xuXqthKF2sd9qgbkXG BnxvkoJITHimSut4xjMAoNsSCVN6K1dBzY0Cix07OyQKka+pN4OL0UyYWaqvUZVf+5vL dSKuLNNfYknp+HdCCfJeN/oGi37pUDIvcx34zCMsd+R27B1UYuRNy/JXTmJSO2TEWGQD KPcg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=liWUIdSSfUFf2mfMbaeH/qPtDKYTQmKDozfAx0lbLsk=; fh=+8yfMUekUhCQzg47WX0vwKLpcMT8BNCzX6xaRcIjE9o=; b=R7TL8sJ47Uip1ZmNsCGrCq/rO+VHwUtV5sow6iNHuc8+BwnJ+vUV18DU6Qyhb0cuoC +AqamYAauji4WCVoIRq1ph8mKguBrs8apMGkFmpCp6gXlNxykQ+ii7xkw74xFlKIRKVE EfLY4b8i2P4TC1Ngtfvmt/GxTG4t9ueulagJ4U/0TCdQI58hXFLHVWfgc55bJ0RhPKoH rdb4VZeAVUIkn7yL1TGDMsTizQHsNHSokal628+OtgbIxAKc1OU6O/oLE4ujcJMlnlEI aiPaYASa1dMUl/oJ8tk5En9+XNmwBxkrAl3rCGBQvXayWKeGTUVk/yusgeAIA0muHI9j EK5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nPqwZD4C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id na7-20020a17090b4c0700b0026b4d5844ccsi20051344pjb.27.2023.09.28.04.21.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 04:21:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nPqwZD4C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 43BE182F08D3; Thu, 28 Sep 2023 04:05:10 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232193AbjI1LEz (ORCPT + 99 others); Thu, 28 Sep 2023 07:04:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232019AbjI1LEa (ORCPT ); Thu, 28 Sep 2023 07:04:30 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F575CED; Thu, 28 Sep 2023 04:04:20 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3FC8BC433C7; Thu, 28 Sep 2023 11:04:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695899059; bh=F/2vXVnF7RSXFfWEZqx0McB1XYKZ9a+y5sHO9ziDwMc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nPqwZD4Cy7y9WGVms+U5m6Hk04N6LpWf5Jpospahi+28gDJ/vF4Gd0fN34gydOKPu /q+Ln9ktX9ZRyI8aVL97aQuJJPAkNIeoIRda2z6q7tpjFVHS/C3pGa6G2sNItKsYw9 e5JdgqsSnD4gtN5iO6fHdAPtuXSiOyW05wBc+SyaSTkp//stXSjoyzPqQHJmcqh6Px LfYGtJyXrcA5gw0QJviu/XKptE3BYohx4HgXXOEw74sShXA1Zbro+f+vBh095sOLVu /QMe9UOALNRXBMZvO/Qz6PDfTSxOoF5kUEk5VudpxKjloQyX3MepG4cXSUryYYdTgS 442JKz+LTgtxQ== From: Jeff Layton To: Alexander Viro , Christian Brauner , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Cc: platform-driver-x86@vger.kernel.org Subject: [PATCH 06/87] drivers/char: convert to new inode {a,m}time accessors Date: Thu, 28 Sep 2023 07:02:15 -0400 Message-ID: <20230928110413.33032-5-jlayton@kernel.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230928110413.33032-1-jlayton@kernel.org> References: <20230928110300.32891-1-jlayton@kernel.org> <20230928110413.33032-1-jlayton@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 28 Sep 2023 04:05:10 -0700 (PDT) Signed-off-by: Jeff Layton --- drivers/char/sonypi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/sonypi.c b/drivers/char/sonypi.c index 9211531689b2..22d249333f53 100644 --- a/drivers/char/sonypi.c +++ b/drivers/char/sonypi.c @@ -920,7 +920,7 @@ static ssize_t sonypi_misc_read(struct file *file, char __user *buf, if (ret > 0) { struct inode *inode = file_inode(file); - inode->i_atime = current_time(inode); + inode_set_atime_to_ts(inode, current_time(inode)); } return ret; -- 2.41.0