Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp35620604rwd; Mon, 10 Jul 2023 09:59:29 -0700 (PDT) X-Google-Smtp-Source: APBJJlGS0XxxyIKxdmA6zytkqWisQaLpiKmpN+qFkgnMePiDAbbVmaSv6mHMhaQw2XCwLkXefajy X-Received: by 2002:a17:902:b708:b0:1b8:ae8c:7bfb with SMTP id d8-20020a170902b70800b001b8ae8c7bfbmr10080229pls.17.1689008368925; Mon, 10 Jul 2023 09:59:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689008368; cv=none; d=google.com; s=arc-20160816; b=gQxcR7ogIz3PpEvlc/ki+GSrHtexkkFWVDtp9hjRONa5DCZmUiXk1CXfsawHWJPcY5 VJ2ny7YhJ5m1h9DwEegU0j3LNzyZ2TgIefxl93vPH8hVq/A3tEdkmSFoP1QrUCUALKoA eq1cViXni0UmfwjeMs1z904cjH5gik2A67cnBBjo2JEEFT8FBdmMTgMa0WO/+6s+BzNT iactI/JVJORnA5RFOv+jRFKmKAXV0BVyW3I3945PCgC4q+7SkeaQH2D5LmUDPUD/i3we 2ShDTO5h4kXDDQ8Np/VjRr4L2PNF9djHWdPkpm+1Ktv68rgessxDhoLkrtnid3apjFKF rGiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:dkim-signature; bh=lRU9KE0/UeG1sJBHq2OuDf9Y6hZBKDfbe6WNpwhFzK0=; fh=5Fq8HL4R/1kFmhP2rHpi1MUy4YRLSC4iqLN+yZsVPkI=; b=Y/HzHC1muZCsV2CkQkXwoTufPHyMfy6dVoWIUVHrDo0EH69npEz/Ims1cNa108Njw+ nWk5RUipID5Qwf3hMIPa+fKY+je8qMgMftV+y5ZGC8VkYkMIuJ3Qi8HK5C76a28BnCJo YyEcKeLr4qjTDi9iZYhniscMOng2iABhRm6xafCm1w+ayWXO9gd3MosKOWkq8By+9rzs JTozlfVP+JVhC7pHm2NT3B3aCSBw1IgdloVYg0IntvN96BxBQV3klh/oOHhkSZaJ7yai CiqRxdNJQY4N0K9yzVrlNg2hp/FS/YD0c6e+hH0wNPC5ydY7A79aldctGsyHft6F7Fao zRRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=buVV+QQk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q13-20020a170902c74d00b001b55070e154si127956plq.96.2023.07.10.09.59.15; Mon, 10 Jul 2023 09:59:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=buVV+QQk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230448AbjGJQvl (ORCPT + 99 others); Mon, 10 Jul 2023 12:51:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230417AbjGJQvk (ORCPT ); Mon, 10 Jul 2023 12:51:40 -0400 Received: from mail-pf1-x44a.google.com (mail-pf1-x44a.google.com [IPv6:2607:f8b0:4864:20::44a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EA4012E for ; Mon, 10 Jul 2023 09:51:39 -0700 (PDT) Received: by mail-pf1-x44a.google.com with SMTP id d2e1a72fcca58-666e5f0d639so5881646b3a.3 for ; Mon, 10 Jul 2023 09:51:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1689007898; x=1691599898; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=lRU9KE0/UeG1sJBHq2OuDf9Y6hZBKDfbe6WNpwhFzK0=; b=buVV+QQk90iJgfUh7Kqt1d2+0obGf2JPxRXP4oJ586nGq2pFwHByr0UpziYonmHBKq pFpq8lX7kdAGGmFJdQNkWk9DZv4uReocJ3MD1Ba3CNsFdB01Wb5Lx0ieEvAxUEJdssn+ MrFfgk/NpgSXWV7f06QJSDLXuINxy2eUOCK6hpOTOkGDg8gpXGli7D4XmJ80gJYBKZLS Ckg+NOslBTqeP+QGNLlh4kCH2vzEZZtWXW6gcX+IH+BtARZUteajxMX08hsbh3nHpKTl 27dU3CYhVWWTB7g8DXpFctVDPY1es87ZGdvh8qhGUXc16drPYFOGETN/93l5g6ToJt5e lvqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689007898; x=1691599898; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=lRU9KE0/UeG1sJBHq2OuDf9Y6hZBKDfbe6WNpwhFzK0=; b=ft1nIiiR2N7cW2tx+fIHAq4U+9gs29M7dpASqjNAVV/uBTjLCSqsPMqiCzd8jaEp0x 4UkyTLeMd3ITXuIqbkfQIViFCUyDzDfntxV6XFrYhO6kt0s8ATWiOOKNJJkSb1yQT8AK x1HGXoMF90r4+qsnbYUCSEkC46VXiOF+YdBMFub/qP4fb5ENA8q9Oniv29UCIpxXsZSe LrJxChNVKhy7Ahmejt9bP0MrW0j9RItsbA52jAYf12AWxQq9iHoGGQGxpSqAVFExWMB9 mmKot9L4BNjl2z+LTPdbX/qHJrvrVfXF/rqP/gIsrmm+iWNrp6KVV+ZosVNcr2lC6NTZ 0yIw== X-Gm-Message-State: ABy/qLbg7flis36eTLa+HAQy4N6ryVEIuAGBgVLWcmpJtJxj2RIltikC wNivUvq/9WeEeiZa5tKnUqrU089lMWw= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a05:6a00:3921:b0:67c:a3a6:7a70 with SMTP id fh33-20020a056a00392100b0067ca3a67a70mr16686189pfb.4.1689007898532; Mon, 10 Jul 2023 09:51:38 -0700 (PDT) Date: Mon, 10 Jul 2023 09:51:36 -0700 In-Reply-To: <20230706072954.4881-1-duminjie@vivo.com> Mime-Version: 1.0 References: <20230706072954.4881-1-duminjie@vivo.com> Message-ID: Subject: Re: [PATCH v1] virt: kvm: Replace define function From: Sean Christopherson To: Minjie Du Cc: linux-fsdevel@vger.kernel.org, Paolo Bonzini , "open list:KERNEL VIRTUAL MACHINE (KVM)" , open list Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, USER_IN_DEF_DKIM_WL autolearn=unavailable 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 On Thu, Jul 06, 2023, Minjie Du wrote: > Replace DEFINE_SIMPLE_ATTRIBUTE with DEFINE_DEBUGFS_ATTRIBUTE. NAK. I'm sending a patch to revert 5103068eaca2 ("debugfs, coccinelle: check for obsolete DEFINE_SIMPLE_ATTRIBUTE() usage"), this is beyond ridiculous. https://lore.kernel.org/all/Y3PPCHa9Yzi1sSnQ@google.com