Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp156207ybj; Wed, 6 May 2020 14:00:29 -0700 (PDT) X-Google-Smtp-Source: APiQypIG6PaG+xiWN/S8m+2EkCwwCxR9hRpOwYl+jh7gRVSOEWesd+1wjz1QCM6FWBi3hy6rZtXo X-Received: by 2002:a50:d0d5:: with SMTP id g21mr9257244edf.92.1588798829566; Wed, 06 May 2020 14:00:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588798829; cv=none; d=google.com; s=arc-20160816; b=oIs1t9sdGp0EgRxN8crOo6S3uBSDrpRno3j6VINlrq/lab6YrRxeVQzhbA9aqrMyJD Ggzvd9VtSq7Oa2cXXrLKFrkmDs+CZuqMAtf+GZSROJJ6lPom8B0jyuZbpZBoA0od7NoA HnLRI49zG+LvJD4sa8qVy+UEB9uySITdf0zYW0cb4eYHCT4unvbtbJ2o/4R3KrxonlhM 7VgkAK68UrNqVilBX2/97kIDyFmtduE+8pbQSRkRhVDkoCTbk+ebdjW99jFAJ6xiqwMW wYGUpbe0H4mJgkhssApEfYaDBSAMx9f4UscwRnySgvT+2gzCFS9F3jy6913i2VYRhG7M O8RQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=7a8/6fnD/LhcGSSjnsReK7w7RGHEzjQEVOzAG5XKg0E=; b=aYoyJmO2/cmtRjw3hGUqvVOmbtEzmTAolnjcyTpwiuDC6QSnBZzFKCVL3pZ4vhx0F8 oIA3McNYFjwjAA7MMWuli2E+Q7ZwrebX+RrXN0im8WKZYtKt84K7R2kqEe+rSaX0kGNR AynhNIFsFnMP3YzcBl9NF9aJMgqyhW2APlMnuwW8xiIjMyQIcQJHSMQuClnRgMtgr/T5 gofpl98XCv2coNDjcIklabClxHequ1hY/stn7i2mApHD/3weKTNE64hQxxoFA4eHNRcZ 3jwFbg0bH4zGdxQ+YesEUcjJJTcfEIwfzah6JyqHKqXoi1FCKHw6H3hC2Z0Ah3p250Wn RD2A== 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 p15si1790922edy.132.2020.05.06.14.00.05; Wed, 06 May 2020 14:00:29 -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; 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 S1729162AbgEFU5y (ORCPT + 99 others); Wed, 6 May 2020 16:57:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726815AbgEFU5x (ORCPT ); Wed, 6 May 2020 16:57:53 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBA47C061A0F; Wed, 6 May 2020 13:57:53 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:601:9f00:477::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 8EDDD120F5281; Wed, 6 May 2020 13:57:52 -0700 (PDT) Date: Wed, 06 May 2020 13:57:51 -0700 (PDT) Message-Id: <20200506.135751.1936111471360870743.davem@davemloft.net> To: yanaijie@huawei.com Cc: roopa@cumulusnetworks.com, nikolay@cumulusnetworks.com, kuba@kernel.org, bridge@lists.linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next] net: bridge: return false in br_mrp_enabled() From: David Miller In-Reply-To: <20200506061616.18929-1-yanaijie@huawei.com> References: <20200506061616.18929-1-yanaijie@huawei.com> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 06 May 2020 13:57:52 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jason Yan Date: Wed, 6 May 2020 14:16:16 +0800 > Fix the following coccicheck warning: > > net/bridge/br_private.h:1334:8-9: WARNING: return of 0/1 in function > 'br_mrp_enabled' with return type bool > > Signed-off-by: Jason Yan Applied.