Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp5902519pxb; Thu, 20 Jan 2022 06:55:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJxhOuBNmyULgQU4zokHFQLiEaJkjx5BvPwcifXoJ2s8bYnEKNzapC5axv9GtBcK0oaqR4gk X-Received: by 2002:a63:1462:: with SMTP id 34mr15842921pgu.229.1642690506968; Thu, 20 Jan 2022 06:55:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642690506; cv=none; d=google.com; s=arc-20160816; b=oGDdDEQr6qNmCv1z2TtfIAEfULKYpzGh5ZQiqcEplPlY7NiGTXmfcCTfP7leKamTLa DxHlejqHEYdoZE9141kDaCIuBL+SmETQdU0FjLCJRpMCts/tZnenx7qj3fpQM5l4hd5O aMRMVgCheLrzZ/HaM4UGr5kNMgmauGuPZ1sbfi4pk3Q0zplQEdRRv8TZOxJCPbpDDr48 wosf+dEBYkIAkBBtyBfNltmpdqGxiNoW/lyDfgM91r20XDLDJd+PSGM+q/Cld7R3U5Eg +SpqQz2EwxADZj3ioofN48vmf/2hZlSRhPX4R/Zwh2u8nreKxZFL57TZSQIMnnAzSyVC jwDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date; bh=BA0MnReR1Im+/q5dyDYJIY6q1FEwjCfoTiN23sR0W8s=; b=bWAFESIVsjLVSW1SIPccG/RvRo1RPBH/w2BqttwC+hsgcpDjO22KpDzVyMeyRUT81i c/CMl7TAF57SK60rd46niygINOZK2R6DWfA2ao0f0Cm/WcUrYqhLu/wmaxFuHN8D8uI5 e+W5+8s0B+r50dGKVZO84l/2p+5jtC9nBi6jwRR4x7kXv6hMGh0ICpFcdc8O1sgTvc9l l/GikZhsThqrmLzsjXGYEmlIQJRVlBF3qc2xQynnMjSncVSA/PuO/piazwhaENVGAIaz +dzHhFZmYoId4BBTOm3RATne+CW5Sr9MVzuQ02uzOlO+KOJ9xXOjd/cqBA2kNYRVwnP9 S0jQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g22si3402328pgh.823.2022.01.20.06.54.55; Thu, 20 Jan 2022 06:55:06 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346112AbiARQBH (ORCPT + 99 others); Tue, 18 Jan 2022 11:01:07 -0500 Received: from angie.orcam.me.uk ([78.133.224.34]:38956 "EHLO angie.orcam.me.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233506AbiARQBG (ORCPT ); Tue, 18 Jan 2022 11:01:06 -0500 Received: by angie.orcam.me.uk (Postfix, from userid 500) id 53D4392009C; Tue, 18 Jan 2022 17:01:05 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id 4589B92009B; Tue, 18 Jan 2022 16:01:05 +0000 (GMT) Date: Tue, 18 Jan 2022 16:01:05 +0000 (GMT) From: "Maciej W. Rozycki" To: Thomas Bogendoerfer cc: Tiezhu Yang , Xuefeng Li , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 3/3] MIPS: signal: Remove unnecessary DEBUG_SIG related code In-Reply-To: <20220102133231.GH3468@alpha.franken.de> Message-ID: References: <1639974460-3278-1-git-send-email-yangtiezhu@loongson.cn> <1639974460-3278-4-git-send-email-yangtiezhu@loongson.cn> <20220102133231.GH3468@alpha.franken.de> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 2 Jan 2022, Thomas Bogendoerfer wrote: > > DEBUG_SIG is not defined on MIPS, so DEBUGP() is an empty function. > > Additionally, it is unacceptable to printk messages in the normal > > path of signal handling, the system can not work well if DEBUG_SIG > > is defined, so just remove the related code. > > I like to keep this debug aid for now. And it is perhaps worth noting that we have similar developer aids in many places across our code base. Maciej