From patchwork Fri Apr 1 09:37:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 15947 X-Patchwork-Delegate: mareklindner@neomailbox.ch Return-Path: X-Original-To: patchwork@open-mesh.org Delivered-To: patchwork@open-mesh.org Received: from open-mesh.org (localhost [127.0.0.1]) by open-mesh.org (Postfix) with ESMTP id 63D57814ED; Fri, 1 Apr 2016 11:37:35 +0200 (CEST) Authentication-Results: open-mesh.org; dkim=fail reason="verification failed; unprotected key" header.d=open-mesh-com.20150623.gappssmtp.com header.i=@open-mesh-com.20150623.gappssmtp.com header.b=ZNk0X0CU; dkim-adsp=none (unprotected policy); dkim-atps=neutral Received-SPF: Neutral (access neither permitted nor denied) identity=mailfrom; client-ip=74.125.82.42; helo=mail-wm0-f42.google.com; envelope-from=sven.eckelmann@open-mesh.com; receiver=b.a.t.m.a.n@lists.open-mesh.org Authentication-Results: open-mesh.org; dmarc=none header.from=open-mesh.com Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by open-mesh.org (Postfix) with ESMTPS id 0616080CB0 for ; Fri, 1 Apr 2016 11:37:31 +0200 (CEST) Received: by mail-wm0-f42.google.com with SMTP id 127so13552440wmu.1 for ; Fri, 01 Apr 2016 02:37:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=open-mesh-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=onyWUHNpd0LF+p+75fA3BeVSwMeDXyUh+fgI5xh+qc8=; b=ZNk0X0CU6Tzcap4Kv6Og/xnoBYQje5zGdwy7QgjgPGKu32Y0KcYn/zPfdqqhs/XI40 54PgVsgm7bXr0Q6YTbMqSfF8EMhHTgOhJ7vz38qxtgBYLTc0v+udHXjbJg9OQ+FMwTuH KeqOoWeZvBPiT9bbwIXH10wse+hz0TP23VDqDOHV4twcXcLlk7+dJuu7UqEPX/1TFXcu ZjA1ImFzKvKfYhX/ioE63qdK0EuDn8GweyL5DnE7ZrJTmXKfIc2fWTvyhk8p2qjwj0iJ OZoitho8rtjv9gTqJNvw7VwJ8qoVhw3GONXCfrOJSzDlhjGBDFczIU3oJMaiH/oJagS7 7eXA== 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=onyWUHNpd0LF+p+75fA3BeVSwMeDXyUh+fgI5xh+qc8=; b=Vonrz5KIbbWAix/U6sAx/b1dv9Bdp0u4RkvGqAvJEh3cOMUMPPcK6roVPdEPi+uOa6 FpdqLAOA+DJFGvaqvZoLNhtQrJfJqFEMNAJr3kn1dEZwp/ajthK9/GB7/Lu1cW8PIvGa 4VMHUQ3EcucMHUgmPV8Zk1tp6CDH+kdnfmmmeJk2cIS1a9S/KU54zk9o8+LOewto6clZ GicH1IJfox7wGH1TIHPp+cm1W4oQ3pL3iN6AIT0gH+4lKmbi/X/MmJVCCLLl2/PwtAF4 FMpHBIUUHncehsLOoUxmHOP/8WPv5faF3qbUyZlDMZenaA6lrw6RFqqFCZhcPAT72SJk ShvQ== X-Gm-Message-State: AD7BkJIhtizJw74GBE6OKbict5vhNPhGlmqj89ynxuFL3eiwO11SXpXwU8/bxzzbQtFwsk/f X-Received: by 10.28.17.198 with SMTP id 189mr2710080wmr.47.1459503450845; Fri, 01 Apr 2016 02:37:30 -0700 (PDT) Received: from sven-desktop.home.narfation.org (xd9ba8664.dyn.telefonica.de. [217.186.134.100]) by smtp.gmail.com with ESMTPSA id ka7sm13151391wjb.8.2016.04.01.02.37.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Apr 2016 02:37:30 -0700 (PDT) From: Sven Eckelmann X-Google-Original-From: Sven Eckelmann To: b.a.t.m.a.n@lists.open-mesh.org Date: Fri, 1 Apr 2016 11:37:14 +0200 Message-Id: <1459503434-19906-1-git-send-email-sven@open-mesh.com> X-Mailer: git-send-email 2.8.0.rc3 Cc: Sven Eckelmann Subject: [B.A.T.M.A.N.] [PATCH] batman-adv: Fix checkpatch warning about 'unsigned' type X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking Errors-To: b.a.t.m.a.n-bounces@lists.open-mesh.org Sender: "B.A.T.M.A.N" From: Sven Eckelmann checkpatch.pl warns about the use of 'unsigned' as a short form for 'unsigned int'. Signed-off-by: Sven Eckelmann --- net/batman-adv/fragmentation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/batman-adv/fragmentation.c b/net/batman-adv/fragmentation.c index 910c841..65536db 100644 --- a/net/batman-adv/fragmentation.c +++ b/net/batman-adv/fragmentation.c @@ -452,7 +452,7 @@ bool batadv_frag_send_packet(struct sk_buff *skb, /* To avoid merge and refragmentation at next-hops we never send * fragments larger than BATADV_FRAG_MAX_FRAG_SIZE */ - mtu = min_t(unsigned, mtu, BATADV_FRAG_MAX_FRAG_SIZE); + mtu = min_t(unsigned int, mtu, BATADV_FRAG_MAX_FRAG_SIZE); max_fragment_size = mtu - header_size; max_packet_size = max_fragment_size * BATADV_FRAG_MAX_FRAGMENTS;