Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2545113lqt; Mon, 22 Apr 2024 14:01:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXhvF7kOlEscgO0vPxhjO8umOtn+HbwYSCo3jCBOoipleWCPu5uHq1YBZH9aDEbzpFusnzPKdr9vHm6WsoLGr5w32ahdKVm6dghe41P1A== X-Google-Smtp-Source: AGHT+IEFIeXPVNbJjF44GYEzAJ/gV59bFIS0Pya9hzrwz1dHOdjIWoTImcmMP8oJ6hziytjZ6brC X-Received: by 2002:a05:6a00:1799:b0:6ed:d68d:947f with SMTP id s25-20020a056a00179900b006edd68d947fmr13657656pfg.1.1713819703059; Mon, 22 Apr 2024 14:01:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713819703; cv=pass; d=google.com; s=arc-20160816; b=ovqlYAeHmjNl3ukHrVuxvknqXyShK5BJwoG+EFgl1664c7BpMUWx/SCmtbwXI5r6xj oZ21FSEvdeAbFLbvOpoau60vRHmXPuHEyxrqmBNBcDk9XdrIP+LDIzCpyGmu+0i5Cd35 unI3n8B5HmHrzbpYwouV4KX/db6vbhdLLmatJe9bIXLPYrvhEnsyXSu9YkdcK+VZ+4bQ jLnWJZQvfRurOwzMFptpfcn+Ihpd41q+Om1oEjUa0UJMzKZTlIWDoa8+PF5+uT+df19n ktl8LaUtjDuv5GHV6/Jm6TZGdsV6kvpYWy0z1hCbABn8sO1XgxQkNTLNhD2BLDbdQE3B O6cw== 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 :message-id:date:references:in-reply-to:subject:cc:to:dkim-signature :dkim-signature:from; bh=abZRkZYHaRlLT6W1Ts1dsblSbaybz8XvJ+AU+HGstm8=; fh=E762zwGjlneN3nVefwferRmxrYPVMeB4RPy755j6/pg=; b=RcZA0dozGXGVsEfv+xNjSyxrq2rAMGJ4i4i4hJNmq2eZt0ZxW9RawuAChah0PVYjs9 oT8qe7yEyJByGcFUZMoPRmr0JpUZT7wJsRauynVzi7kGpvJgGgj1/an5/JM5cIQNsyff kjBJNM7AJs2Ox1alKSJgcGBHHvCkJP026X/2B8Pk7mCMIKMTtdbbMzv0gLGfQSV3dguO 4RZAP6G5Pva67FYD1ttdUk7wV2b5lE5cYVRd2eTgAnrluWYbruA0Nr5o6YI3jvJy0BPv oShhkxCxcK7/rDYRJTQdgGJQhn4ATr60986khjI3Xf+CpkcZvmArfg25jca9MklR8D3C 34tw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=1ASENwX5; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-154027-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154027-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id le10-20020a056a004fca00b006f0c249ee94si6600730pfb.166.2024.04.22.14.01.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 14:01:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-154027-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=1ASENwX5; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-154027-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154027-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id ABDA6281382 for ; Mon, 22 Apr 2024 21:01:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 078E41C69C; Mon, 22 Apr 2024 21:01:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="1ASENwX5"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="Tinc4AlQ" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 EF8B11BC2F for ; Mon, 22 Apr 2024 21:01:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713819695; cv=none; b=ho+b5PvUG3ArRJg2maF5GCUSU+lldzXIll78mTEiegdP0pZh+XgkJvkIqEZewrXeRU6L5EQrTBIYRbD75k72+u4zXrN0vysx18EwuPaDPCBJkCKE2xhgJfyzNuHC7bC/19I6nrtgTC5Ws4MWGuVVAxHq0Y0dlGrD8/nIJtpQL9E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713819695; c=relaxed/simple; bh=P9tlWVK03HHRVR0tC6CzlRkK98bzbO2aLk8UJH3mta0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=bEda7z9dbOKKXURPgGaoXjjkfpze89EHb31dag4mpJc8Zx1fa0DcsARvrRPdMv6L8JvBIKDhgZxQf9CTIwxMo/KvUez/IwUWbeI/odz/DB/Jzg2hcRO3WzcLoxD+aW2UU4qYHVuJ9A7KDnS3V20w75B9yAgoG/khKkAqCUka4Fs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=1ASENwX5; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=Tinc4AlQ; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1713819692; 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: in-reply-to:in-reply-to:references:references; bh=abZRkZYHaRlLT6W1Ts1dsblSbaybz8XvJ+AU+HGstm8=; b=1ASENwX5bLFOcgs4FdtFyKE/xVBFFpXnySOMNiiAyvTQ5m0peZnlFp2+I79p24TbrqScIl y1dDn+aoYGnudsnV1dpNr9AWzJt8r8z50v0u6suLlV35xP+MzWaSqNtuE3Xfsg9wry5ldp KAP/rgOhlNW1NGtHvQnys4eo5xd/Zqfx80hjj31IdG3VgKjRuFyFUN8ryi9INDsKkiEMqk 4GS6Lobuz9BOigBFbtP3raYkbmIR0SUkQUY7VTi9X+iZV4Otz3XUc0fhvvGh5F2atwxvyK 8BhGvehcOK5NW05S4+gmcg4u1Ubf3Ol7PCLeowptvTT20mCGaBFd5AplatZSOg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1713819692; 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: in-reply-to:in-reply-to:references:references; bh=abZRkZYHaRlLT6W1Ts1dsblSbaybz8XvJ+AU+HGstm8=; b=Tinc4AlQdLMVfOtM0E9FyPF42kUCCqtXWf7OHksEhmMbYWCRQz3Gdqr0DSSr0t+NMa8EDU 2XJ4JGFmdnCC+PBA== To: Jinjie Ruan , linux-kernel@vger.kernel.org Cc: ruanjinjie@huawei.com Subject: Re: [PATCH -next] genirq: Reuse irq_is_nmi() In-Reply-To: <20240417085616.3785647-1-ruanjinjie@huawei.com> References: <20240417085616.3785647-1-ruanjinjie@huawei.com> Date: Mon, 22 Apr 2024 23:01:29 +0200 Message-ID: <87r0exun6e.ffs@tglx> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Wed, Apr 17 2024 at 16:56, Jinjie Ruan wrote: > > +static bool __maybe_unused irq_is_nmi(struct irq_desc *desc) Seriously? What's wrong with static inline?