From patchwork Sun Nov 1 00:08:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Oltean X-Patchwork-Id: 1391688 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.a=rsa-sha256 header.s=selector2 header.b=QqLKKRsV; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4CNxHN2C78z9sVK for ; Sun, 1 Nov 2020 11:09:20 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726144AbgKAAJE (ORCPT ); Sat, 31 Oct 2020 20:09:04 -0400 Received: from mail-eopbgr30063.outbound.protection.outlook.com ([40.107.3.63]:28129 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725987AbgKAAJD (ORCPT ); Sat, 31 Oct 2020 20:09:03 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B2mqczBoHd6V5g1whjq3jpSsug0O4OMMxYd3SQxGVqiu6mXaCiociary+pDopTPQxP8hTxrCKCAxFxIZ5TBKIq8/DZsGrO66652INfqx6E0rX9kezrTnjf7CWUzn64HKhrqrfA3gUh6qIkpjfZbw1N3ugb78vniXgkHYYzRFL7z2fr5B29ORmTgqSoeEtIX+Ke0WFBkvkmHan8ZYkxOsFREn4C7DpefUf3OxqB08JiG3VAbBEbAIt2NrPn9bn5rUF3xesGRKPkmpDGY6wrtSUdlZ5rGyrw7a32vU+cSFRjh6JCIyfms/bXVZwKE27kZNcSkn6HRHKSn+ccbd7T0baQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Dl7XzK3Eivke6MpoUHcV1M5dV+lmRkhJvQM3A0MzpJY=; b=hOg77zCcae8keWkAw8taAnyfRwV0XUk6Uxs0dvlCP5A/XtiHniCxfsbC01y+fvX7jUeIyXh6cDj3ODDB2TMzqLXIXgxRsMcHdbSlG3D//Vr9NNe37B6Jhq1A9BZzuY3VivrN3dwigeB/6TIQhvYilzjAYMdRen1bXR0e2Gv6GiLU4d4bD4h8NGJqPcTI08vQEyjeW8VI/JdkzezXNoRhhTqO1n5U/tbsmbvStQyXjPZnmroL3GrNN1/AmfK1BBYY2sPcMRRD3fSIVHytBs/7vuC/xXt+ppVciUYUdpNvuUlj2vpo9DHKQv6sUm+4AS62xEbvBmYw8NCoxmoFGYvlvg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Dl7XzK3Eivke6MpoUHcV1M5dV+lmRkhJvQM3A0MzpJY=; b=QqLKKRsVZnyn6F4utnUErUlsZLrYSzJw85tqdFzeYy7aS0g7sgByKiFki3R0JnaRFDP37qUhicxmAuiPqXlh+E9Hs7Hg1wD/xVTZPQSe+Ed+srsGdlVgPYDsnbLu16hZdZZpwfqV5Lcpoc6FZ0LBJhAc763oeGHfW9g8rAbxQbA= Authentication-Results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB5696.eurprd04.prod.outlook.com (2603:10a6:803:e7::13) by VI1PR0401MB2685.eurprd04.prod.outlook.com (2603:10a6:800:58::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.18; Sun, 1 Nov 2020 00:08:57 +0000 Received: from VI1PR04MB5696.eurprd04.prod.outlook.com ([fe80::983b:73a7:cc93:e63d]) by VI1PR04MB5696.eurprd04.prod.outlook.com ([fe80::983b:73a7:cc93:e63d%3]) with mapi id 15.20.3499.029; Sun, 1 Nov 2020 00:08:57 +0000 From: Vladimir Oltean To: Roopa Prabhu , Nikolay Aleksandrov , Jakub Kicinski , bridge@lists.linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: kernel test robot Subject: [PATCH net-next] net: bridge: mcast: fix stub definition of br_multicast_querier_exists Date: Sun, 1 Nov 2020 02:08:45 +0200 Message-Id: <20201101000845.190009-1-vladimir.oltean@nxp.com> X-Mailer: git-send-email 2.25.1 X-Originating-IP: [188.25.2.177] X-ClientProxiedBy: AM3PR07CA0089.eurprd07.prod.outlook.com (2603:10a6:207:6::23) To VI1PR04MB5696.eurprd04.prod.outlook.com (2603:10a6:803:e7::13) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (188.25.2.177) by AM3PR07CA0089.eurprd07.prod.outlook.com (2603:10a6:207:6::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3541.10 via Frontend Transport; Sun, 1 Nov 2020 00:08:56 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 86d1ca41-7a56-470e-08ba-08d87dfa53da X-MS-TrafficTypeDiagnostic: VI1PR0401MB2685: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:612; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ZiN1alLy6ATV76vm9v2fvjg8jNPHMnbdJcfQR8eMdmuE5mIzi6MO7fOyQ5kUGSX15ANvdhRc7pWpWaE67BrgBsKa1x7rhkdfUHsqLqWNqJ6tzfCVMZKaTLxYfP2WLsv4xvMpHZtriro8mDplYcWWPgLkeIVqnawNNy0qESvG0i6hjrJ0TwU6vNr3dsNzhKZqrzDGSIoIxRK1oxnLk+S+YY9DHy+KgrvO9IU4BXg5VoaRqZGdo2ZOMiMpsmNckX5vsTOO8Z7uH+HRev6D1UhGSUp3JvPGtMoNuHZzLmmu3lqhmx1N8f/53iBjGLTLQCXyJ36V8i7DwxKhDC2NnvxGR+xMhF87Bpw/pg+6w8m3O9eVKCBKyQOEhhxQ8+l7diGh X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB5696.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(376002)(136003)(366004)(39850400004)(346002)(396003)(66556008)(66574015)(316002)(4744005)(1076003)(66476007)(66946007)(52116002)(6486002)(36756003)(110136005)(83380400001)(6512007)(5660300002)(86362001)(478600001)(8936002)(186003)(16526019)(6506007)(2906002)(26005)(956004)(4326008)(69590400008)(2616005)(44832011)(6666004)(8676002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: td75BwOr4awAFIrU0L9DI3pORvB4NapwdddVu+SyW7M8xdhuOShVqq+lw0TugJxcg028yU9w6W66OvFUzSPgtcMnH+FdiUx9MF4bSWY/OlX6mLtzvkGLbXmOBVem6+SXvakZ9jO7GTZoB2Yv7PKC3d9aKOo867uEcV8h0ZCPKToMgH4wd52b87ViGSWsJqv7gEj/qohT32QDRkXEXDodrW0i0BJWgLJzpp7x6/IhnMN/xxCaipqIAfOX8yFU0S7h5j1y9Thn3vZR2076wF2tAXcFYFQBa+1IXpWgjJmrbnIHtNeOBgUpVUUm+ypPdyv1QqpsGxOxPB7xwfs9a2fPcC/RwSlplE4tYOaj11I+yBBlrOCaAcldYG4AbjlMKL3x8e7zF+y+VUQ7sGqwE8Otr0e4DtZofGNfnEsX7r3dfpz0Z9Ysx/GrFv6pcqypfgvtfVWKI2X7yHzJPslYiuhBd0W7Dz1Zma2B77UUQoJ8jNwFH2kJ6R+G6+BuvuOkKSPI4BRwXwJCzKFSzMXxNTXNNgym54Rd/gT5FMwH8v4IGV+l/XTVaKjSYHhZE2CJDiUd7rB77Qnd9xwbDkpNcRqXNnb42V9E36GQlCnVQTMWVlbw/fX/p2uJl0SY5AYbUhilYG4sG6G8VlMKNAold6v/PA== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 86d1ca41-7a56-470e-08ba-08d87dfa53da X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5696.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Nov 2020 00:08:57.7747 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 9Tt5SJ7XSnOcN6DpyRP1kUUmGp4pB+QQwEhuvzAZpCaom6uoBuyT59pJK39EoL8X+/uJx3NVuZKT4ehxn3nzTg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2685 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org The commit cited below has changed only the functional prototype of br_multicast_querier_exists, but forgot to do that for the stub prototype (the one where CONFIG_BRIDGE_IGMP_SNOOPING is disabled). Fixes: 955062b03fa6 ("net: bridge: mcast: add support for raw L2 multicast groups") Reported-by: kernel test robot Signed-off-by: Vladimir Oltean --- net/bridge/br_private.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h index 4c691c371884..891f3b05ffa4 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h @@ -1013,7 +1013,8 @@ static inline bool br_multicast_is_router(struct net_bridge *br) } static inline bool br_multicast_querier_exists(struct net_bridge *br, - struct ethhdr *eth) + struct ethhdr *eth, + const struct net_bridge_mdb_entry *mdb) { return false; }