From patchwork Sat May 20 21:28:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 100236 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp858073qge; Sat, 20 May 2017 14:29:00 -0700 (PDT) X-Received: by 10.84.217.142 with SMTP id p14mr2843063pli.192.1495315740644; Sat, 20 May 2017 14:29:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495315740; cv=none; d=google.com; s=arc-20160816; b=Z887CIrJwlto8g4RHLgJjw1PcfnFMmQCVRHtAwcsBA+CndWIj56CI787ImehMyGjGX MSfzWajfsimjoeTctLkDegX0EkDT/SJdQNz5FrfosJvx9p35k4APhWmn088d07Kqy6Ni fdE25miqtKdKNmcBHz948Dh2h1crt/UEEscP2XKLriI84meXxdO3PIP61subpyFpkChY VQo6vK0e0nPw6wBiynhrjf8JjM4XbsWC/KjRYQ9DukgPNfBgjI9VJpG+qLPhbDDT6Bem gkATCzjW4YPdeueHVQ2sQwhWDKPaeD1CnJqx/64YUsceYtX4fe/uZ2NCOFHPenr6beyh ofcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=pMr8ym0P1rAg30XgPvnyJrXDTQk2lycD5d9PnFx8Dmg=; b=lYS6gH02K6jIdtIGBxMZ+h434dnDov8stMHiARpgpftyajsB68MZDCUnbe4Oxx/U4u z7/Cu9QNsMwTPbI/MrhL36wUzW42i97EadQot9DKXA2xI8DoYHMagcu4mYqTA49kJ0rb d+xNrWMGU1/fXXOhaaW1r3j8UxOj4PmS7OPlKDK6gCDv7rw0Db51wjQ5YofwkzTWOYXW xYxUtDxXblk4CE4C1g606ulgS1QK+qJsvzFHP0aOiUebLxmgbN6Hbsd654s/XIJOG5ci 0srROoAIn6P5Y9HcyrMVrCv2WL8k7+M0HxIJkIZn5XUosNrE/L+P1btDnRd2EBHwFydV id6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com; spf=pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o17si12129330pgc.375.2017.05.20.14.29.00; Sat, 20 May 2017 14:29:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com; spf=pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756135AbdETV26 (ORCPT + 6 others); Sat, 20 May 2017 17:28:58 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:33904 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753217AbdETV24 (ORCPT ); Sat, 20 May 2017 17:28:56 -0400 Received: by mail-pf0-f194.google.com with SMTP id w69so13154480pfk.1 for ; Sat, 20 May 2017 14:28:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=pMr8ym0P1rAg30XgPvnyJrXDTQk2lycD5d9PnFx8Dmg=; b=UxFb0cEZ/EvvdW634RIOYRuserlwdMqLjn+FLWZQA5GWZBqpK1PJRQ+A4tN5rY89ep FZSoOQy0JAxxJfmPOXbXxXF3NgCn4ODZjXMjwlSaqpdvzEx2QZ0N4BBnkM6J4dxy5iJk DLZYJUzrwTQQhH3ES5krQChYYsg8Po7d/klKtHq0uJKb/jcoBevjRu+4VUFCpV72QhJ0 Xp7v211dxWlARivAw49vKnDNyaEVjTpMkTgC5+XRz90sA+dfDXXhPNoTLp9CruH1TwST Iw28zfyQKxmW2eqeiKC2I1XfebD2J5SnxFU0aSmH56VfuH2QQhVUw3eMMzev5sByLnY+ antw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=pMr8ym0P1rAg30XgPvnyJrXDTQk2lycD5d9PnFx8Dmg=; b=uHvAvmxzJ6/TSBk9dYYs5rxIDSi4JUP2J/EJWxa4ofs1olwixAPMT8+s2GGu+NGvkb pypS+TI7FOyZDqpuOJ4WLjEGcknxzcAhXx6njlph8O1t19vhyTacx1NoOH8Xh0NwK0TC oVITH8LsNs7UHMkjLfOAJ2KN0u6H1IsXRrV+FZk3GemdM5IQ1iOmn1tZ98HCTA2NWkC8 CvP4OXVRL5ppKSWkCGBVds7b8EEFMTi4ZKvZIC3FJW5ZLnpxwF5VkEh0hR1Umyzz2Nvx 8XJeP2UcM+SZxzeO9n7SO2Ed90suaK9wtLb3YCeXAZBm5d7iiI5VKE956Wg5/tjIRWsG fOuA== X-Gm-Message-State: AODbwcDc19zG6xhFwKsfCrbckJWvuz7hQQWarSiAfH8V/TF2rjIPPlJj 4TM8VXThFZ4SyA== X-Received: by 10.99.113.78 with SMTP id b14mr17023083pgn.229.1495315735949; Sat, 20 May 2017 14:28:55 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::5341]) by smtp.gmail.com with ESMTPSA id p10sm19851701pgf.63.2017.05.20.14.28.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 20 May 2017 14:28:54 -0700 (PDT) From: Khem Raj To: netdev@vger.kernel.org Cc: Khem Raj Subject: [PATCH] include stdint.h explicitly for UINT16_MAX) Date: Sat, 20 May 2017 14:28:46 -0700 Message-Id: <20170520212846.3534-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Fixes | tc_core.c:190:29: error: 'UINT16_MAX' undeclared (first use in this function); did you mean '__INT16_MAX__'? | if ((sz >> s->size_log) > UINT16_MAX) { | ^~~~~~~~~~ Signed-off-by: Khem Raj --- tc/tc_core.c | 1 + 1 file changed, 1 insertion(+) -- 2.13.0 diff --git a/tc/tc_core.c b/tc/tc_core.c index 7bbe0d7..821b741 100644 --- a/tc/tc_core.c +++ b/tc/tc_core.c @@ -12,6 +12,7 @@ #include #include +#include #include #include #include