Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp391890lqb; Fri, 24 May 2024 01:13:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVRLpGQpSyvw2t87WqMAa3kDw/yXjpBqnCpks+PWpW9saHTo8o3EHwyYEYl3ghPE0fkeGieBwk7zFGHsZlDP9OuOs8juDMyx8EjvmrI2g== X-Google-Smtp-Source: AGHT+IFNODKyRRS6WwR8EMAhFgMyGfYMKwJRSeqIZi+W6dcPiJB7M4y7Lmct/BGw2GPPoJm8L0yg X-Received: by 2002:a05:620a:2953:b0:794:782c:b0a9 with SMTP id af79cd13be357-794ab11f4admr215942485a.59.1716538403795; Fri, 24 May 2024 01:13:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716538403; cv=pass; d=google.com; s=arc-20160816; b=OCay1hkUjRBdDTfPvvnNFIcCUQ8+cbnZjWaXjvNw7Ol4XKvVnu9yYv+ugmfKgnnThg xQk9XSdqszzG5FKuO25dfQG56txTZDDjoQ7QG6AxFxYnV+DsTqhxu2MqFZNkNslVfEEC CWqbobuS3RJBvHcaR2S7Yxon9zd96/tG+5Gzc08AYgD/6TAh+sMFiHwMw8Gm6Q7wACFF Bt2+9YInXETf0xwh17kQjdDAhEhmiSY1vTEt04iw/+TbwOPiUPRnge2oHduxCodXj3hX gbnaS0feNoRqwM3HgVY/CYPtUVIg+EkCWXY2eiqLBkgoPFa1YyLPzzQU4iV0q1AGuvR8 3+Rg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=fo/HifB1DQNO6ydXHHI68Oeno87uAoG3bcpgtwEUM38=; fh=VoxLEyPXnJam0cIGbWQVf/wlOVF8GgcydLnzH5ceKh8=; b=m2MJ7B2KaLw50bTcnbNXGiA8Zg8c3YyuTM4DutnKGH4Nd09//teyDdc6CUYJnFga66 pzoEXWLF/zuSFL2ryHCBjl9sYW26VdOCsXmhg+i+m04D9EwDdwdKpyn9arOtcBzN/pxp x9/ieWZVr8aDnD+z/z9Fm8NJu+jAKl6w/cgI0K9Lp42uGnw01QRwE8KcT47CUPczh2eX pXPtKk9ZTicK4PH6jZ/lIllZdq3F4/8EBiFKzZv42fNUvhIRPeaebLCe3cgdJPINop5k tFOVJAI5EqoU1UXGCHlYIAvvGC3//u3ZR/OXAtPqj8K1O3RuVGjH84q+cTFiAIHQOrXj AuNA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZKeI0QRq; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-188441-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188441-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-794abd608d2si100112985a.757.2024.05.24.01.13.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 01:13:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-188441-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZKeI0QRq; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-188441-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188441-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 878FA1C209FC for ; Fri, 24 May 2024 08:13:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E1DC885C69; Fri, 24 May 2024 08:13:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ZKeI0QRq" Received: from mail-pg1-f171.google.com (mail-pg1-f171.google.com [209.85.215.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C1D6682D9E; Fri, 24 May 2024 08:13:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716538395; cv=none; b=ovPj2E0dJecWhrX+evwIhGxcSr+oBz45imck0eksrb94nkFr9GkTd7eka6Z9Ekzq24n+jgRBIN5axDap+/JTrflxTqLkzq5s52PW5Jj9gylmPAmiB4XznZfJKGq5H26q/phtfp+Npe7X5/Mz8FhxaFS7T/6l+03u2OU8EWU+vh4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716538395; c=relaxed/simple; bh=fo/HifB1DQNO6ydXHHI68Oeno87uAoG3bcpgtwEUM38=; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc: Message-Id:References:To; b=N1gbRFrzPFZAe1cuQymy34D8RNyoQdyj2wzbcNO81NcMauyK3Z4EtJ5AG2+2bOoLxMGgEKgJAnA2AvDs82gil8l0b83hrjjZfCnjMhdKlpjdZWqakl+r/pQsQkSbvyonB7WZo4goIzrQDg189Ovp+3jhLMAQEMnoek3+nBfVmFc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=ZKeI0QRq; arc=none smtp.client-ip=209.85.215.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pg1-f171.google.com with SMTP id 41be03b00d2f7-681adefa33fso471140a12.3; Fri, 24 May 2024 01:13:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716538393; x=1717143193; darn=vger.kernel.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=fo/HifB1DQNO6ydXHHI68Oeno87uAoG3bcpgtwEUM38=; b=ZKeI0QRqyqCTzZfLVZlzTX8ncE623VO8eFay1ruW3Iyaw4VjG8KorQdWGjBV6/dvWR GA76/LZZedjebMllXPIyuyIurQ0RYlr0EzKUVLgJuUr09qGhrcDxTpR/f7noYmb7+p5I KCIaZjanZSzsg/vWhhVJNYjl+uLCH6k/otvLSCzH2h8lluZ4KKUmRuPbY/YooYzSBG73 7gstky6hkEYl2tMhV2CZDVoDAGdZWYO2Q5TbV/mFceeGfSm8bO/Ecq5tocT2CFCMIuBk U7dVup8yTBbI9CMfOXisxsLhX+h3prXUYiWmg77lVPvvybVSUzaNpQOJg/7gA65dxuRE LMsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716538393; x=1717143193; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fo/HifB1DQNO6ydXHHI68Oeno87uAoG3bcpgtwEUM38=; b=nZL+koACKzYpdCVFkQQSHnEDYV7p0DYLU+uyA0eCdWUN1WIBxVcgwekicLaB9dqplf 8/o0vpIW9FRXxjSjZ43GmwIui4EzypjpdyNniZ/2havVfEzOCb0xAp2v1X2pskE02wv6 xewFX9W9PyxQISBTWxi3/ygf7MGW3R10QvExuVdnuyI0lMJjb2iIw3mkfkrC2w8el90/ FjZuE3G44/uQzraiPnsi2oKlJAAMxfY5AAp9A1TxP8tEdW0eYjdgAfBcXd9c6OzHPfPN sf78K92pxPZKLMPXQdPbvSB55aPPxT09Wxl0t/ZtoubOFlt8YTZS3H/IBj/rmMNkgZRQ /mDA== X-Forwarded-Encrypted: i=1; AJvYcCW6wNJrG1Y3ZsqnisaEWDpqymRVr/zOftfBQCIb3jWgdqA5sCJEPy7OU9b2JBM1ilQ1M7m0Ycz0ORgWyHi8+orQqEvrbzY17Z55S8e/D5BuWe7AcZMPjDPgpvlenqyvIyUVbpYyCn1XY3oOjw== X-Gm-Message-State: AOJu0Ywi2AXQmA/yIHR0vQ6sz0w+Ls5W2EPr28ZnCkkWaafDLuY240xD gWTgMcaBHXYqNYP8Ae2yRe7GwPl2QYuLmiazLItnBMWR+YkKM8zQ X-Received: by 2002:a17:90a:be0b:b0:2b6:c4d7:fc31 with SMTP id 98e67ed59e1d1-2bf5f719ce5mr1726860a91.40.1716538393006; Fri, 24 May 2024 01:13:13 -0700 (PDT) Received: from smtpclient.apple ([47.89.225.180]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2bf5f30aa26sm848060a91.6.2024.05.24.01.13.09 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 May 2024 01:13:12 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.500.171.1.1\)) Subject: Re: [PATCH] livepatch: introduce klp_func called interface From: zhang warden In-Reply-To: <18994387-2d2f-41e5-9ef6-6541dd0015d2@moroto.mountain> Date: Fri, 24 May 2024 16:12:57 +0800 Cc: Josh Poimboeuf , Miroslav Benes , Jiri Kosina , Petr Mladek , Joe Lawrence , live-patching@vger.kernel.org, linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Message-Id: <9C317446-0259-445B-8AE7-D91E1E5ABF93@gmail.com> References: <20240519074343.5833-1-zhangwarden@gmail.com> <18994387-2d2f-41e5-9ef6-6541dd0015d2@moroto.mountain> To: Dan Carpenter X-Mailer: Apple Mail (2.3774.500.171.1.1) > On May 23, 2024, at 22:22, Dan Carpenter = wrote: >=20 > Always run your patches through checkpatch. >=20 > So this patch is so that testers can see if a function has been = called? > Can you not get the same information from gcov or ftrace? >=20 > There are style issues with the patch, but it's not so important until > the design is agreed on. >=20 > regards, > dan carpenter Hi, Dan. This patch have format issues as Markus said. A newer version of this = patch is sent which is checked by ./scripts/checkpatch.pl Thanks for your suggestions. Regards, Wardenjohn