From patchwork Fri Mar 17 11:07:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frode Isaksen X-Patchwork-Id: 9630473 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CBE2F60132 for ; Fri, 17 Mar 2017 11:43:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B348D2855A for ; Fri, 17 Mar 2017 11:43:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A1F1628534; Fri, 17 Mar 2017 11:43:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D975028534 for ; Fri, 17 Mar 2017 11:43:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751022AbdCQLnF (ORCPT ); Fri, 17 Mar 2017 07:43:05 -0400 Received: from mail-wr0-f176.google.com ([209.85.128.176]:36396 "EHLO mail-wr0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750980AbdCQLnD (ORCPT ); Fri, 17 Mar 2017 07:43:03 -0400 Received: by mail-wr0-f176.google.com with SMTP id u108so50153742wrb.3 for ; Fri, 17 Mar 2017 04:42:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=Wp1QISM/4m7t/RvDltAuwwr9c9hd9CmrrTxu2n6CSC8=; b=HOw1wDvR0eFSg/XPI1qCDAILFWOTPwKUiCIX1y+ySDsiS0C7C8K8ZO4Ybx+wxTfE6g soEWtDJqiP1wcAf7XRNldHRJaaWpfWhW1ivPmP/CZ9hhMgOOxZgEPlkx6RGLWoLiaFTQ fzi3kIK536AkpdORRy0pvGTxyYNZh7JAf/QxuUn6nWbPMFMboMdA4+8vIJll9QkRoq9T hDBhwwFOCwqx8AzTxtA0v4zhEgtGD4SrCYmXb0NlgKikQ046B1G2QkTrJJgjtG8tqvnG MpF+3d/8Vyd4QD+yGe//a1bEczDRHViF2dFRU2GyC64RZ8Oq68vTpSM0u9+OcO2r0vQx VE3g== 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=Wp1QISM/4m7t/RvDltAuwwr9c9hd9CmrrTxu2n6CSC8=; b=fcL/PxbNVqa0lid654IZbELV4OdGv9fXpf+fvx6kQVXHBRk9ADFyk5Y5HFl2UE/xCC /ExVakB4jr1YPRqS6da0CviBWQ4CEqondhW1tTuR1zbwcXdoBuBa4QV5jUd2HMOrZITN +SjKmI5HiOKvd2AQqrXSXFac5M4XFiL1KAY7JRB0FgKbcicHDneTHQro+jyC0LxIptIO oR7WDSaSQ4gXQWKreXZDChoQvuU+DFDZn/1eO+7hTTLZj5ZPCGR8YoHlCWb1yC/4+8vP Kj8FUWDQTpCpf7Jg/O94raGGLfzJK8js7eM7owcuE2YBG8xJyiHiOriG2xckb5DijMki acPw== X-Gm-Message-State: AFeK/H0K/vvNq7j2WWVZFavM84lQcVyr2U6g3BnrSETYLHmR65fmZSvhMhT/k4ppdK3xnFux X-Received: by 10.223.131.3 with SMTP id 3mr12678249wrd.153.1489748888734; Fri, 17 Mar 2017 04:08:08 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id g23sm2277178wme.8.2017.03.17.04.08.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 17 Mar 2017 04:08:08 -0700 (PDT) From: Frode Isaksen To: nsekhar@ti.com, khilman@baylibre.com, ptitiano@baylibre.com, linux-arm-kernel@lists.infradead.org Cc: broonie@kernel.org, linux-spi@vger.kernel.org, Frode Isaksen Subject: [PATCH] spi: loopback-test: fix compile error on x86 Date: Fri, 17 Mar 2017 12:07:58 +0100 Message-Id: <1489748878-15020-1-git-send-email-fisaksen@baylibre.com> X-Mailer: git-send-email 2.7.4 Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fix compile error caused by missing vmalloc() definition on x86 (and maybe other platforms) by including vmalloc.h. Signed-off-by: Frode Isaksen --- drivers/spi/spi-loopback-test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/spi-loopback-test.c b/drivers/spi/spi-loopback-test.c index 3596051..4e7843e 100644 --- a/drivers/spi/spi-loopback-test.c +++ b/drivers/spi/spi-loopback-test.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include "spi-test.h"