From patchwork Mon Nov 24 10:30:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiri Pirko X-Patchwork-Id: 413606 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 9ECAD140145 for ; Mon, 24 Nov 2014 21:30:40 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753254AbaKXKae (ORCPT ); Mon, 24 Nov 2014 05:30:34 -0500 Received: from mail-wi0-f182.google.com ([209.85.212.182]:45260 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752367AbaKXKad (ORCPT ); Mon, 24 Nov 2014 05:30:33 -0500 Received: by mail-wi0-f182.google.com with SMTP id h11so5215935wiw.9 for ; Mon, 24 Nov 2014 02:30:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=wRFe5WcYUvmNq9sCoZPewyPPpoYBCq/vwbfq+8wiR3g=; b=k5TeIROVeAbOrZyFOtlThnTZi5ryel30uuhi2bVEffXuvdHfq6GHd0xbFXwA5YFSRE X0c7fEpyRBDg86YuUTPL0H8uxPNhsBfvOAA4ue8tGkzyLiNwe2JOTu3C8+f7SJRH7imN 1kfzJ2BwqBLytW1xpDh4hK1BHmbkxAF9eOaOX3AsZO0IA7zWKyRK265DtTohsTJSbIiy 8xlaoLg0fUr4mChcNSW0mnBkhjCFhzicOntv3nT/6DBAigfQb5qhTIWtbq38TZZmWY8Y q06HQlF/jiXJ7yFiWKiPw4SXRQANDXe1LjZzAzkA9dFVQDw/qqX+eOXQRr1Lys7SQRKB DMgA== X-Gm-Message-State: ALoCoQnYr3qZrxjsVvI+CvK2CYBm3Xkqwm/GNVDcwvv5xUdJCE/2ZVe2EhFbBEJwSWiXGzQObMlN X-Received: by 10.194.90.112 with SMTP id bv16mr33187167wjb.122.1416825028851; Mon, 24 Nov 2014 02:30:28 -0800 (PST) Received: from localhost (ip-94-113-123-0.net.upcbroadband.cz. [94.113.123.0]) by mx.google.com with ESMTPSA id mu4sm11427285wib.2.2014.11.24.02.30.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Nov 2014 02:30:28 -0800 (PST) From: Jiri Pirko To: netdev@vger.kernel.org Cc: davem@davemloft.net, jhs@mojatatu.com Subject: [patch net-next] tc_vlan: fix type of tcfv_push_vid Date: Mon, 24 Nov 2014 11:30:26 +0100 Message-Id: <1416825026-4628-1-git-send-email-jiri@resnulli.us> X-Mailer: git-send-email 1.9.3 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Should be u16. So fix it to kill the sparse warning. Fixes: c7e2b9689ef8136 "sched: introduce vlan action" Signed-off-by: Jiri Pirko --- include/net/tc_act/tc_vlan.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/net/tc_act/tc_vlan.h b/include/net/tc_act/tc_vlan.h index c809c1d..93b70ad 100644 --- a/include/net/tc_act/tc_vlan.h +++ b/include/net/tc_act/tc_vlan.h @@ -18,7 +18,7 @@ struct tcf_vlan { struct tcf_common common; int tcfv_action; - __be16 tcfv_push_vid; + u16 tcfv_push_vid; __be16 tcfv_push_proto; }; #define to_vlan(a) \