Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp1998416rdb; Sun, 21 Jan 2024 03:04:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IE08TxKq545/cYrE82MxBak0QxqyHYZ4UxaWQ/gO7JXwMzpDiCLiuwsvR7/Et2xJzkCeZvT X-Received: by 2002:a05:622a:118a:b0:42a:3195:e8be with SMTP id m10-20020a05622a118a00b0042a3195e8bemr2670480qtk.51.1705835078322; Sun, 21 Jan 2024 03:04:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705835078; cv=pass; d=google.com; s=arc-20160816; b=NT+Q+MiMkH3OMRzctieE4w8ScIuT2eMK9xf6JhdM6F6Djk9YlhyK5cIKk/1uyS+3nY BCRM1HbjB/MvgHusufwPDkH71ne8p1BY1Hm8OrP5ymnkjcp0sWWqE9OFyMI4sbhxLFtB WSV2l5Y6SVbjs2Fkuzqgms2LKuxSC3MtYVshTg8qDAdY07S0+BOnG3v1gd5ayRRauM2L 41suXKmCSVZAoucdergDJ4MFww8OoYQcgc2no5Hr5vral8xaFOpEOf2ShrsHAYo1qTTu +zbdjW0URS0AwF9ijPpVUqNzM6LUeUbZDksXhcuN8L82aQpmtUI19csOAm9Sa+qRTPby R9ZA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=ui-outboundreport:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=dFe4s3Xk6af+DmJPrm+2KbPp27MD2Bm2lbhUYb8jQoM=; fh=0/TcuaBKzri5ksr7H225G01C3GZzDL76GCf9GEP1odk=; b=yKvDFkTQSP3Q7gBHhlx5Q71LFAg8uMxKglYjWnMM+JQe2/oS/CwY/D0THrEeNGZMEl mjlGj7GdXWD/nuLLpOWrkSawLx/eztw7lAJj/iuhx/EWbjaivRQ75cikmU3XI0Fbza26 va/bWn1ufCeWm6t6NkAcvs2l+aWXcBY0iGsWKhywgSNI5Ul9rhE44uRTK02HuNxKk668 yoTZd/Ek2aRu0igUhSZ+ynVKNmIujv48xrehwQq89t5WyKOrzwjk8HFJMdX4gedxPT5k pVdNhkcgOjswRKfjZKNHuO8mH41PS+DtVCaworpvI0NLo0DZtQfFhuYRrbAbXrSNDW9I 3JsA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@web.de header.s=s29768273 header.b=a0gXouY9; arc=pass (i=1 spf=pass spfdomain=web.de dkim=pass dkdomain=web.de dmarc=pass fromdomain=web.de); spf=pass (google.com: domain of linux-kernel+bounces-32019-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32019-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=web.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id c5-20020ac87d85000000b00429f731c678si3329481qtd.680.2024.01.21.03.04.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 03:04:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-32019-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@web.de header.s=s29768273 header.b=a0gXouY9; arc=pass (i=1 spf=pass spfdomain=web.de dkim=pass dkdomain=web.de dmarc=pass fromdomain=web.de); spf=pass (google.com: domain of linux-kernel+bounces-32019-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32019-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=web.de 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 1A45D1C20D48 for ; Sun, 21 Jan 2024 11:04:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E5FE536AF1; Sun, 21 Jan 2024 11:04:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=web.de header.i=markus.elfring@web.de header.b="a0gXouY9" Received: from mout.web.de (mout.web.de [212.227.15.4]) (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 BC6BD36AEB for ; Sun, 21 Jan 2024 11:04:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.227.15.4 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705835071; cv=none; b=QHhMQLHKmlDlaXiXWYmL7oSOr00XnGEdvW9ZHCulnY1UG15xNfCsH9ShetXxvLAZlG9JazbmFJi4cgeahL54jyz4k903RwbeozApKz9CneFp6Gxtn8CiNeSpkI8YD2MigP+vES5DUwVak8O6F1BUXg1yK/5WMEpi8JGji09tIvc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705835071; c=relaxed/simple; bh=ZBf5wsr0zVlRl65bLe/eDTt74wMuP9MVSgGfpJd5uQM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=P0sFXCKv12yV7s+95uu3uLHJmkvYll7UMTWZZ2ezRlMSw9F6AegVXEwTP+bFGysR59LF1n8oOZutHX8WrOesTeq9PlQQ14rwuY/3snIrlGN+wz29QQbwa9/YQSOpyYeCN+SxKtZFSG7yR8ZTDkrqnf4qrhN9IIkCgGgYdAvW1l8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=web.de; spf=pass smtp.mailfrom=web.de; dkim=pass (2048-bit key) header.d=web.de header.i=markus.elfring@web.de header.b=a0gXouY9; arc=none smtp.client-ip=212.227.15.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=web.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=web.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1705835057; x=1706439857; i=markus.elfring@web.de; bh=ZBf5wsr0zVlRl65bLe/eDTt74wMuP9MVSgGfpJd5uQM=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From: In-Reply-To; b=a0gXouY9MXY2SSbkxiwUbIR+pAywqxkENiFDsYUK0H9pntG7Zm8NmkGHAD0oNdL/ kPhZvbPw1bJIB+5UL0v4/FFsIguUkVokSOcckPHJ/3XfIRT+etxKqIIjCRJUPtBf7 krxHoyJ6Y1wVBALOWhCui9BTrpWNEUREkCJJ2/MfKY1nSDGjsJ6FiYtZRgay59I3S O6zod7PtPhpWUEfjcnM/U4sS1wMOb+VulhITKN5TUNbGyELKfBOaBCYFWfWlqguah WdGujMMKU4Nhvp7lfFB2l7AfB7Bs85x46WessfMQN+T9ThWJuJNhKG6pV4/a5BC/u DFD+/LFPQYzfSexiag== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from [192.168.178.21] ([94.31.89.95]) by smtp.web.de (mrweb006 [213.165.67.108]) with ESMTPSA (Nemesis) id 1Mc1VL-1qph6N3jOZ-00dUho; Sun, 21 Jan 2024 12:04:16 +0100 Message-ID: <161c3be1-011c-4ffd-8646-1b95f1a461eb@web.de> Date: Sun, 21 Jan 2024 12:04:16 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [cocci] [v2] coccinelle: device_attr_show: Adapt to the latest Documentation/filesystems/sysfs.rst Content-Language: en-GB To: Julia Lawall , Li Zhijian , cocci@inria.fr Cc: LKML , Nicolas Palix References: <20240119062057.4026888-1-lizhijian@fujitsu.com> From: Markus Elfring In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:WeXwUX6Svf5TPxoWwSCSwc03iGGWuP3zbVSv3X8Ju9LtW/rAIF0 imChZZIHPUfTQEsqZLxBFRS1QMwie8AM8qh3FwTsqt198cMYhwd9bHhp11crr1XZaWCncng dM+n0tgfVzGuCNKX9Hn1PFx1K7PG/QC1XUpvzN7oeWUYQRxy7GrCTtg47osDazoLvlewT42 p3q58llW/wKW+j6SUStvQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:q2jDmcDuYwQ=;C+mzgigO59RSMKBk0llp7W3YQ+A hJ6HTdXytOXxE9yN9osp7WJRJxVJB1z0akKW/hN/vWzuV6H8bHFl8Fo2iyxYjRtBLyQLiekTJ nJDak9MzxCS4UMWunPzRR5NLe2zwCHfvgnpALqG0hQd3L6Ikk964O2vGabM3rOA4d7J5pWeDE 9e/wHmWP+GXQGtNR3+/3e/kKhdC2s2I/+ezevTTSpJNyU69bVsvDj5vtv3D5WY6rthRsZaSGy yJsQ7jMQ6U3ZaDCFFP+tKwLd/qsbnLO+8zikAPYj2XThyiSaf6xkS8cejW+Hvf/mYLp2n1nch AMuMeWtAsbdwKjshf/R61ics7iJaDzN7o99J6HsEx2haTFLWC1iAajZIaWOzcfpWijXiRR+6W SUo7hS0fFgeamlkTBzFMLfBXykpK5YGC1pcg1wLPVInSqgyXTQhV7oV8c6roobUBKu5d7wz6i SkS3FDObDPortdVtDTXJNl306DVkIHPOz432I0is0YPZmDCjpx8bcNhL63powUTdjrsU+OINs PRcFCWmzpXwhoSDw38iI19+L/41iZZAM/OR+Ec6nmWHOVsvvrdCOBLLlzr7UJvQ03ShZQ5Eqc co1liF8YRgIe8agUJabA5q5cHOMS6E2CTaD4M1hlqRyVD1bmsksaua5xGBT1xy1jZX2SIebyj eKxHkOCT/uAeeR7F13Wg7qNNXzfdE2cCQX8UWpMIPwpv3OnUK5HuBk7RT0ZBj7SY+C5SzL1GX i83sHEaTbjQjsvoRYpSakZV3nOP2/l9yrr5LGxK/JKPOxMepLKmuIudYZzKdraKkBwWu1gs+N SiE/FFiyqmQjYr5C6mRRMsyGveoYTDG37oPGwr3H6qt0SjFCMEdQgpNWG5stoCgSi79JG1aOZ W6pZwECEJ39FhO/VpaNcMzygNvd8CF2fcaRKN9tiLtjRSduIToK1vqGxp3aolhqIw6LHRrqLd 5YICEQ== >> Would you like to consider the application of the following SmPL code v= ariant? >> >> -snprintf >> +sysfs_emit >> (BUF, >> - SZ, >> FORMAT, >> ... >> ); > > It's ok too. Are you going to integrate such a transformation approach? Regards, Markus