Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp815728ybj; Thu, 7 May 2020 08:15:23 -0700 (PDT) X-Google-Smtp-Source: APiQypJ5urnpsWfl+IqG/3vpFrkKIjMIQDi2GHtBRDjkmqrk6aMb2ztGDMtWPv+E4EgTbAiPznw2 X-Received: by 2002:a17:906:1dce:: with SMTP id v14mr12830895ejh.244.1588864523106; Thu, 07 May 2020 08:15:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588864523; cv=none; d=google.com; s=arc-20160816; b=my6A9eA0a85iFYM/XBqYnTIZ8f9uQwY9a9FU2LKpDzyBqCCsSQeB1crawYq9UW3dF5 JQPUL+kjHL9iLk7I13GDfZvVCx4mjiLIfpMtGJ0eKuJyX/on56w7vYM/FzYIiQyeHp6z /lSh+nifRfeezaF9hzHYmqG1bomCR8TlZVQgWWoVMUimc4zTotyswc8LrVBJKzTmDFN5 wM7qJAkLdgKjUqoCfCytznH5Y+sdipXma3HshGt6B2uG3HrO13UaLWVoritDqEE2i2XM tyTOkJ4E+AaRqWU4UQIEN0cb0IcWsbKUONhuTtzxu0qiQUNPNOuC18jKttB2sprDIAKw WSTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=RndLXpjGcg2BFmdbethLGIwu7OqaNE0mD4rRGU8RVzc=; b=jl/wNkRd66944EHwxlikx7DBniupjtE91ojrYZxLSTkpH3Qm7g9Ia7HpCuzAFEmkdm tF2SE+1M8JJTvTq9JJRFBREWFw8Iq0yinoHGQ1hdDF6x/57NCnEOmi2GHwTEr/uvO45q 83OQP0adQi6fFj51IMviMcgnAdtWC5RIL82xhEdSjy8Vqjt4qee/BvskOfxEMfIW1Pd9 Kb33bYQOpsHDKJWnb/tYO5SXnzmadQGzt77rRq8UefA3Zlmuc7u6TGcJ6MD02tFExMfL tJADod3wIczuwcuDQjUEZqlHMBUB4ItwQEiKRTk3pXDIsQhMK1pLsO2PA9GPQqNCV8lg DQYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=nkAMZOGN; 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=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i14si3453513edt.120.2020.05.07.08.14.59; Thu, 07 May 2020 08:15:23 -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=@chromium.org header.s=google header.b=nkAMZOGN; 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=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727824AbgEGPLD (ORCPT + 99 others); Thu, 7 May 2020 11:11:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726267AbgEGPLC (ORCPT ); Thu, 7 May 2020 11:11:02 -0400 Received: from mail-vs1-xe43.google.com (mail-vs1-xe43.google.com [IPv6:2607:f8b0:4864:20::e43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CDD9C05BD43 for ; Thu, 7 May 2020 08:11:02 -0700 (PDT) Received: by mail-vs1-xe43.google.com with SMTP id x6so3667043vso.1 for ; Thu, 07 May 2020 08:11:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RndLXpjGcg2BFmdbethLGIwu7OqaNE0mD4rRGU8RVzc=; b=nkAMZOGNPKlk7/n/u8CYJjF3Syua63LITwI5bpol7Mqr6TTXkvZw6dqszUIx/ap1/B 2dZmgFSOZ9u78AywiwqogbB9v4eKI4IMaebLSxRBporBGtdbS4hwzV2kX5nAjoCwY71n B0oR0yhSAs/RGthRqb1FqMAneLaVwGi1i4tdw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RndLXpjGcg2BFmdbethLGIwu7OqaNE0mD4rRGU8RVzc=; b=TZLuLDhSIr7NJOLhW+dkVtOoTDPRgV0bUpRbGP3YLTw3+z5NUWPOhqOoWcNfVTyCWl nCRGh6I91cGeFCzN3sAheOd83dci1hJDJscurU9zrqk5T0Kst74Uosar0yAEZD0dY/i6 73PZFAPJhf7uyoBUgK/XLGgCoz3RGwvPiEPPu5Yj1NH1vqSPWeFEucl+bF6+7//1CPIE h0MXMaKt0QnWVwPrNSnpDg/Lw0A6DE0uJhP+qDZ6jq6UPVhinH0R8YvYc20znbdYQIME uJEuvwHuhylj6sWwzm3UtO3F1UtdpoVuLlQ7OvROCEmW//sd5bjA0nQmLRdO4udd2EcB XbiA== X-Gm-Message-State: AGi0Pubp9W+RLxIx1BtUc3rYmOs60CstJETQeXv2plOQA/Qot54+zt7Y 8g+Gpmhdk7l5OtVn1I5AQykHBYZjey4= X-Received: by 2002:a67:2dcb:: with SMTP id t194mr12733157vst.136.1588864260948; Thu, 07 May 2020 08:11:00 -0700 (PDT) Received: from mail-vk1-f173.google.com (mail-vk1-f173.google.com. [209.85.221.173]) by smtp.gmail.com with ESMTPSA id l192sm271277vsd.15.2020.05.07.08.11.00 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 07 May 2020 08:11:00 -0700 (PDT) Received: by mail-vk1-f173.google.com with SMTP id v23so1563793vke.13 for ; Thu, 07 May 2020 08:11:00 -0700 (PDT) X-Received: by 2002:a1f:c643:: with SMTP id w64mr12224571vkf.0.1588864259688; Thu, 07 May 2020 08:10:59 -0700 (PDT) MIME-Version: 1.0 References: <20200507110649.37426-1-yanaijie@huawei.com> In-Reply-To: <20200507110649.37426-1-yanaijie@huawei.com> From: Doug Anderson Date: Thu, 7 May 2020 08:10:48 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] kgdb: Return true in kgdb_nmi_poll_knock() To: Jason Yan Cc: Jason Wessel , Daniel Thompson , kgdb-bugreport@lists.sourceforge.net, LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Thu, May 7, 2020 at 4:07 AM Jason Yan wrote: > > Fix the following coccicheck warning: > > include/linux/kgdb.h:301:54-55: WARNING: return of 0/1 in function > 'kgdb_nmi_poll_knock' with return type bool > > Signed-off-by: Jason Yan > --- > include/linux/kgdb.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Douglas Anderson