Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp2004180rdb; Sun, 21 Jan 2024 03:21:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IGZs3R7WWPtojG2wd51iaETpV8pEGVpRzrl+yGy7Sccy0cxY3JIjVSYf4yXpFejcuwwZrR1 X-Received: by 2002:a17:906:1457:b0:a2d:43a6:d93f with SMTP id q23-20020a170906145700b00a2d43a6d93fmr1319067ejc.133.1705836093657; Sun, 21 Jan 2024 03:21:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705836093; cv=pass; d=google.com; s=arc-20160816; b=edHaxLxlqIxmN6F283yJoqoJVhlpQnzVgmJ7eBUEpi5Md8poGg5tgehyo5m8wVZStL i0lPuVtDfORbZL47GMTpfi4pLd0XV0GW0GVEBOpnyAQ6z/EGhlwEpHKBkQqsSDbXoZE/ n7i3X4tHE6PbO+EFCekQDV5+2tW2fbAOGTCP92xL4B5WhWoY9GE/6Y4d9sK17GH32ONV QzjQPQeTEWXcPKdN7d0sHhL+smEkoBSoIdjQZCxUzWfnm2ocsdyPC+cLGLxS0t9SFmcX E9YgKbBMLfeCE4EEyTe45c0rCpZNM8UOGDVfrDL0fCrzqmRuYo/l2bUm4Vw30/GunZqA Ck7g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:references:message-id:in-reply-to:subject:cc:to:from :date:dkim-signature; bh=h2WPn6Ego06GRxcMe6RmIAum7jBpuI3hvgZ5Ctv8lLk=; fh=F9UWz/vWmabl/13q6uRPuHh1UT7SWcMG2M2xSl/2pW8=; b=J4/xfWmgvPQ2B7J975yW6Y4pynGfcv7QTmsp4PYyjDXD+GJGRn8SZDllpuZC3CkET7 H7LN7kZb17hrlvwrndBVNR2v7NmAoDaOgWl5cAd6nBZR46XiwoczYDIWWP28nSwpKUwy t6WYuRlxSfliw5fxxXs0WJpIR603OprdgFYehsByaPQqaf+gd9elCwYw+PJUrD+y6dU1 edefnmjQKSoCG5quRqt9k6xPHq92VZtRnJ1Zuds+sSgk6qRobiLSdAkKdzvzjTKvPpyE Ad0slK91gcx31oGjCtzFQEytepsP030/DSh8J6n8uSafHfBNddN3/hgHmBTasMJ7poGm BBGQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@inria.fr header.s=dc header.b=BZZe9MvG; arc=pass (i=1 spf=pass spfdomain=inria.fr dkim=pass dkdomain=inria.fr dmarc=pass fromdomain=inria.fr); spf=pass (google.com: domain of linux-kernel+bounces-32029-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32029-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=inria.fr Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id b27-20020a170906039b00b00a2ce47a1ef9si8585734eja.471.2024.01.21.03.21.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 03:21:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-32029-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@inria.fr header.s=dc header.b=BZZe9MvG; arc=pass (i=1 spf=pass spfdomain=inria.fr dkim=pass dkdomain=inria.fr dmarc=pass fromdomain=inria.fr); spf=pass (google.com: domain of linux-kernel+bounces-32029-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32029-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=inria.fr Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 5E7001F21422 for ; Sun, 21 Jan 2024 11:21:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C730736AF2; Sun, 21 Jan 2024 11:21:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=inria.fr header.i=@inria.fr header.b="BZZe9MvG" Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B9F9D36AE3 for ; Sun, 21 Jan 2024 11:21:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.134.164.83 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705836085; cv=none; b=nxWtPg6gOk6ZQ+68SM5ZkRQL9uNCPmPrhzR7X9t8Sl7rD66WlOE9SKniZAiBDy3qJi6djXVvtGSa0fnx/uEbNDkizDcgy2W0LbEh33Seaxh6jY0v0BmKKh0lZJ+J2/CXlSBZGG5tWtsu+qu75L8+sNx5XH2mWyxbS3+3whKHJc0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705836085; c=relaxed/simple; bh=8UO3qbjWHZCXyqvXRq6xNC3hqjM0b5QnsPavUA5ujBw=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=LMzvANY3JKCxyCcgMtsqL4+gWxaYYDm/9HMyLDJCinfkhS5ormt2nGMNVfcziwZ0R9UgYO7Q3CZGZEGNnCNNuBZvnJuNTmkxbhy/BG6BqOg1DQzapn43/S0ay1UaRYD1HaQCUQ34JbVlnvvit4H7haKl/VBJ8sYul0Kf1czSYpw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=inria.fr; spf=pass smtp.mailfrom=inria.fr; dkim=pass (1024-bit key) header.d=inria.fr header.i=@inria.fr header.b=BZZe9MvG; arc=none smtp.client-ip=192.134.164.83 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=inria.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=inria.fr DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=date:from:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=h2WPn6Ego06GRxcMe6RmIAum7jBpuI3hvgZ5Ctv8lLk=; b=BZZe9MvGBm/CybP4VqEyEz4a/w2mz8R8ev0qJQ9qy1AXWkdOJBVhox7Q rcWlD11pNGUDmmMVuyXpUo6zBWbAadnFGIxb9Etu6M/pyU286AtPnTOZZ +GYY8ZuA9hrlaFm2tpPp5GdSLaEfFfM/5MpA1V/KsWeNfa1RsFmS9J99K Y=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=julia.lawall@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.05,209,1701126000"; d="scan'208";a="147778071" Received: from 231.85.89.92.rev.sfr.net (HELO hadrien) ([92.89.85.231]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jan 2024 12:21:19 +0100 Date: Sun, 21 Jan 2024 12:21:19 +0100 (CET) From: Julia Lawall X-X-Sender: jll@hadrien To: Markus Elfring cc: Li Zhijian , cocci@inria.fr, LKML , Nicolas Palix Subject: Re: [cocci] [v2] coccinelle: device_attr_show: Adapt to the latest Documentation/filesystems/sysfs.rst In-Reply-To: <161c3be1-011c-4ffd-8646-1b95f1a461eb@web.de> Message-ID: References: <20240119062057.4026888-1-lizhijian@fujitsu.com> <161c3be1-011c-4ffd-8646-1b95f1a461eb@web.de> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII On Sun, 21 Jan 2024, Markus Elfring wrote: > >> Would you like to consider the application of the following SmPL code variant? > >> > >> -snprintf > >> +sysfs_emit > >> (BUF, > >> - SZ, > >> FORMAT, > >> ... > >> ); > > > > It's ok too. > > Are you going to integrate such a transformation approach? No. I already pushed the commit for Linux v6.8, and I don't think the change has any practical impact. julia