Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2889032pxj; Sun, 20 Jun 2021 04:12:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1UMsBwKG7xFd8rNU4td6GUjstxlsFeeodHM3VN1vEm9hEzBR54CE4acuVDqO3rC/kGbBj X-Received: by 2002:a02:3b26:: with SMTP id c38mr9183764jaa.12.1624187579026; Sun, 20 Jun 2021 04:12:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624187579; cv=none; d=google.com; s=arc-20160816; b=XvL+Ss+0wPZPT6NarJdK0/CFQjxNg2qJFXtuF0jHdT+ftX62B5ESjD4RohpksB2xyg YQkFu+sUMn4ETuRmEaK0V2OLiOHCLPRwzT2PrwD4S1zG+cfq3+8d6XwSr3aksw7ModJj gRY5KD7Nb4olYpet+sqwjPFWnoUebx6J7UiTRonITt+j61htF7CNyMCHQpQwkldT4s// sM/ngbsPYMHY8x+byxfoEGsF2uqKrtQ/rXeJ0UIApym7BjQ/xc6yla4dxi7mVGiPC6IK tZJjAij4EeQ0eMVLfEbWVS5Uiz870CyXGuV4tDryeioI9ebpteWRXbGS6v1jQs0ISn6L YNYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:references:in-reply-to:subject:cc:to:dkim-signature :dkim-signature:from; bh=SnO37iNElK7J9rAy1ARxKWBQ4+2Hp9J7w4qDXxLcZrI=; b=zYMdW6EZyWxZ1Pzq1E66W79AnmevMZgeOU3Fq5RdpnMRpJMZ796v2AZScFOehudg0V yENnhDylVxJQXwCS1D2ID/Tha1MLScELcUdiG2iYYmkFxbGhE8PISQFKB4EDzFcO+lqO x4uzbN7Wvxu4+Ms/WBjAZPb2wenwGDmJxCkAroqzqQ1oQc9dgnqhHieTykumG7+NBh5O 8bBrhr5sBvLyeR3E/1ZTmh3qYyXsgD4qJ6icXq2oyQGzlHJgaDgzgQbnan4B8ZUrCF/9 m2ecINX7jDi6DrXfATbqLRUf3gih+Uhn2xI3Ac3dhVW+7cBmQ9+o10CzCEWPYlIaJY2i XGEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=T9JY98km; dkim=neutral (no key) header.i=@linutronix.de header.b="X5hY/Y8g"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x9si16226879jaf.48.2021.06.20.04.12.47; Sun, 20 Jun 2021 04:12:59 -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; dkim=pass header.i=@linutronix.de header.s=2020 header.b=T9JY98km; dkim=neutral (no key) header.i=@linutronix.de header.b="X5hY/Y8g"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229594AbhFTLLY (ORCPT + 99 others); Sun, 20 Jun 2021 07:11:24 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:38144 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229554AbhFTLLU (ORCPT ); Sun, 20 Jun 2021 07:11:20 -0400 From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1624187346; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SnO37iNElK7J9rAy1ARxKWBQ4+2Hp9J7w4qDXxLcZrI=; b=T9JY98kmrT4K44Z3rhRVet/z2z001rKR3fFL3crNsM75St+ha/oBwjtrKWBMpswS0107Hp BunmGrPgCTXFcIlK1LiTAWVQhS7RqeNkrCDBnmbCvVJAQsNcIjh+DXz/MOAuqoEt7tB27j yHNonEYj9/vWMEiowwYioI7rXTucYMFLXnRanwCHXbX1XR22vyrxv2dbxWeNyxi95RYFLZ i48dk+oQYzLTh2vvlVjcllr80F2O0tdkZPVAVKV6cZ+zqFrngLaDqFhj3XXh9CTCqWJwul jwHFx7lTNiki/1XoBnccS8JkNRc/SpLcb27Z3obEgO7kSIzmj3BbZ9TTubVQEw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1624187346; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SnO37iNElK7J9rAy1ARxKWBQ4+2Hp9J7w4qDXxLcZrI=; b=X5hY/Y8gqtMIApbGPRcIFawr+WSv+UfghwzmwamEO71wBQJly2inZ8aShZsBYdR6YJCxGB +9P18wLtLdEHKZCA== To: =?utf-8?B?5L2V6ZGr?= Cc: Stephen Boyd , Kees Cook , linux-kernel@vger.kernel.org Subject: Re: [External] Re: [PATCH] debugobjects: add missing empty function debug_object_active_state() In-Reply-To: References: <20210617071027.60278-1-hexin.op@bytedance.com> <87wnqpdco2.ffs@nanos.tec.linutronix.de> Date: Sun, 20 Jun 2021 13:09:05 +0200 Message-ID: <87zgvkg5da.ffs@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jun 20 2021 at 13:52, =E4=BD=95=E9=91=AB wrote: > Thomas Gleixner =E4=BA=8E2021=E5=B9=B46=E6=9C=8820= =E6=97=A5=E5=91=A8=E6=97=A5 =E4=B8=8A=E5=8D=8812:47=E5=86=99=E9=81=93=EF=BC= =9A >> >> I have no problem with the patch per se, but it want's a proper use case. > > Yes, config options ensure that there will be no problems. But when > CONFIG_DEBUG_OBJECTS is not set, we should provide all empty > functions that may be used. What for? Just that we have them w/o users? If someone needs it w/o guards then we still can add it. What's the actual problem you are trying to solve? Thanks, tglx