Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp168521imn; Fri, 29 Jul 2022 03:27:36 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uToNqStOUoTuH2Q13nZ6y6U8AZoUjmVrfydTfQDBUOSgRRTbTO2dmAY+m1DgOntPx5prtL X-Received: by 2002:a17:907:9620:b0:72b:5822:93d0 with SMTP id gb32-20020a170907962000b0072b582293d0mr2379685ejc.235.1659090456223; Fri, 29 Jul 2022 03:27:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659090456; cv=none; d=google.com; s=arc-20160816; b=PSwstXy2ajGD1OfUDXCGIpguYkl4RibTHs7BRt1MGVjR+6pDE/XVGMkSk/PPrTXy6p T9aJwguQBXtgoedN0CDxbtrlNuV+qMvJeB+NgPToaLpVQRYwXp6ZPePOKzyZcSTFsNd4 EhJm7Ugm1J0JdzDyakEFAZ/pWLoxV7IEN79SR8mLb26mZ13/P/ELtwEt3V21krQXB61U LDsNB3gNW1xWuSgldUGzZy4QGr66d3157Y/z1Els3SgK3mJNawmT0uGUTCOChuy+6e7+ oVA3p5dBRfUgmBPQiDlmbgyJIcwoHthFmXLlaiPQVY207pfV/e7tj5KSh7/LLtih1c7h g57A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=AQ4gZf3KmENdJS0hRhcm31iu2j9Fh3i+6a97HrmMD5k=; b=rrZHcb96S64ke8w0SPu6jSgwKeGihkBJai9nDFLI6wh/wCTQhng1g7OT0OgAY8XD26 O2LOV1mGvKm1sphMrapAByoCjPi40hkEQprWkLUa0MTpN57himtr7goget1uyYW6Z6jw 4wfI1Ejr9PjhvT6+k/wtdLU8hMC5yZ0PES8yP7jikTSndE1ClIguZLm3NrjP009M8BhE euUbElvV4iPo78gbgTUmsEropwet50+BKHQmQvWtrT6c2V66KwWJ2xskcQKMjV86NASO 9/uHX+LCeCN7dwkSykv7T7/AqD+lztzDJlY83BFiIkmnWeGonvOaomxluljR8dQQjGT9 Qhcw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c12-20020a056402120c00b0043c0288d312si2423111edw.584.2022.07.29.03.27.11; Fri, 29 Jul 2022 03:27:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234896AbiG2KYz (ORCPT + 99 others); Fri, 29 Jul 2022 06:24:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229471AbiG2KYy (ORCPT ); Fri, 29 Jul 2022 06:24:54 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D8B8820DC; Fri, 29 Jul 2022 03:24:53 -0700 (PDT) Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.54]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4LvNnz3H3rzWg24; Fri, 29 Jul 2022 18:20:55 +0800 (CST) Received: from kwepemm600016.china.huawei.com (7.193.23.20) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Fri, 29 Jul 2022 18:24:50 +0800 Received: from localhost.localdomain (10.67.165.24) by kwepemm600016.china.huawei.com (7.193.23.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Fri, 29 Jul 2022 18:24:50 +0800 From: Guangbin Huang To: , , , , , , , , CC: , , , , Subject: [PATCH net 0/2] net: fix using wrong flags to check features Date: Fri, 29 Jul 2022 18:17:53 +0800 Message-ID: <20220729101755.4798-1-huangguangbin2@huawei.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.67.165.24] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To kwepemm600016.china.huawei.com (7.193.23.20) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We find that some drivers may use wrong flags to check features, so fix them. Jian Shen (2): net: ice: fix error NETIF_F_HW_VLAN_CTAG_FILTER check in ice_vsi_sync_fltr() net: ionic: fix error check for vlan flags in ionic_set_nic_features() drivers/net/ethernet/intel/ice/ice_main.c | 2 +- drivers/net/ethernet/pensando/ionic/ionic_lif.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 2.33.0