Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4144225pxv; Mon, 19 Jul 2021 18:19:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCqf2Yrk9khIN4TqbrOYjjZNeOkYQpZi67blFlHC6d96yTvI1RP3mR0+YtjWr7obbvJwQP X-Received: by 2002:a05:6402:2788:: with SMTP id b8mr37835577ede.244.1626743980918; Mon, 19 Jul 2021 18:19:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626743980; cv=none; d=google.com; s=arc-20160816; b=vN5Aaa8EFC8MiULG6zo/XHqlrJpn8ViB6LFzi592HOgUuGO7hTCkvqAHV0VLoLgE2Q ev5tbyjkeC2LZrNupnjTNEU/sNrBfIzhtbqeBoA22uWkBWSu5j3w/EpctQndJrlfjOws 2kSZXxmWcw5X8Hw+9HOyVMj70dCzaSiUt82hqw2Nzp4egSV7zz0bbeJqoszvhAnrXJfQ 2ilg3ouM1COAlq0c9JTrt/8FDPdJZVCHLgqX3p78jr2yjOXU4RmgRruY7CC7frQ/QAJz k6yypNsdUbZcCvDlCrICiM3qyqeebVnlRMcgSIN5nKow7xH+SmSAQ5NOmfrySZApmvua PMCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=FV5caeD8pFWC0poDTV9qvkg6ySmeunQgSRbzu/Nk8S8=; b=J7n39S1xjMy9c8IoHH/qxZKwiVMUwkxWha2yRG1Embf6tSpu3v50g94/tbeRVb2oZj /t+VEgEaLtNKvLSFqO6hZCv/Si3C0vjzUkLS9QxvnoLVouzvYJ6cVxZuFOZ8MkHXCp8c iIzb0OcCrby1dnuKqBCkZx6ZuY4ovPxEibBjWQCd9fqrx0ZkoOmvx0kX9ykoGPKbipSU 2uwYbpepulu9qEsw1a6tAD9Z8Hf6AZfplMs36zvJr8OGgAfrRarPvaHh+SVfiHopflT8 VqIFrwwLYqBEIighz7F4mXcFP6V2e3hi1fOUEDGQHMKxAU7ZFK5hVvQUaiRvyBcZc3by /xdg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d10si22170960ejr.696.2021.07.19.18.19.14; Mon, 19 Jul 2021 18:19:40 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350289AbhGTAeC (ORCPT + 99 others); Mon, 19 Jul 2021 20:34:02 -0400 Received: from mx.socionext.com ([202.248.49.38]:10511 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1381046AbhGTA2Z (ORCPT ); Mon, 19 Jul 2021 20:28:25 -0400 Received: from unknown (HELO kinkan2-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 20 Jul 2021 10:08:53 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan2-ex.css.socionext.com (Postfix) with ESMTP id 8647A205902A; Tue, 20 Jul 2021 10:08:53 +0900 (JST) Received: from 172.31.9.53 (172.31.9.53) by m-FILTER with ESMTP; Tue, 20 Jul 2021 10:08:53 +0900 Received: from yuzu2.css.socionext.com (yuzu2 [172.31.9.57]) by iyokan2.css.socionext.com (Postfix) with ESMTP id 52BE7B638F; Tue, 20 Jul 2021 10:08:53 +0900 (JST) Received: from [10.212.31.2] (unknown [10.212.31.2]) by yuzu2.css.socionext.com (Postfix) with ESMTP id 161D9B1D52; Tue, 20 Jul 2021 10:08:52 +0900 (JST) Subject: Re: [PATCH] PCI: endpoint: Use sysfs_emit() in "show" functions To: =?UTF-8?Q?Krzysztof_Wilczy=c5=84ski?= Cc: Kishon Vijay Abraham I , Lorenzo Pieralisi , Bjorn Helgaas , Sasha Levin , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org References: <1626662666-15798-1-git-send-email-hayashi.kunihiko@socionext.com> <20210719034313.GA274232@rocinante> <20210719151837.GA473693@rocinante> From: Kunihiko Hayashi Message-ID: <6d10e89b-3518-faff-e320-6d03013567a1@socionext.com> Date: Tue, 20 Jul 2021 10:08:51 +0900 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210719151837.GA473693@rocinante> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Krzysztof, On 2021/07/20 0:18, Krzysztof Wilczy?ski wrote: > [+cc Sasha for visibility] > > Hi! > > [...] >>> Nice catch! >> >> I actually executed "cat" against configfs to meet the issue and found >> your solution in pci-sysfs. > > Oh! That's not good... I am curious, which attribute caused this? Sorry I misunderstood. I found this "cat" issue on next-20210713 and all configfs attribues had the same issue. However, my patch wasn't the solution for the issue. This has been fixed by 7fe1e79b59ba ("configfs: implement the .read_iter and .write_iter methods"). The function replacement was found in the process of finding the issue. > Also, if this is fixing a bug, then it might warrant letting the folks who look > after the long-term and stable kernels know. I also wonder if there would be > something to add for the "Fixes:" tag, if there is a previous commit this > change fixes. So my patch doesn't fix any issues. Thank you, --- Best Regards Kunihiko Hayashi