Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753965AbaDYTxZ (ORCPT ); Fri, 25 Apr 2014 15:53:25 -0400 Received: from mail-qg0-f46.google.com ([209.85.192.46]:62785 "EHLO mail-qg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751876AbaDYTxW (ORCPT ); Fri, 25 Apr 2014 15:53:22 -0400 From: jon@ringle.org To: linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Cc: gregkh@linuxfoundation.org, shc_work@mail.ru, Jon Ringle Subject: [PATCH 2/2] serial: sc16is7xx: fix implicit decl of func copy_{to,from}_user Date: Fri, 25 Apr 2014 15:53:10 -0400 Message-Id: <1398455590-4374-2-git-send-email-jon@ringle.org> X-Mailer: git-send-email 1.8.5.4 In-Reply-To: <1398455590-4374-1-git-send-email-jon@ringle.org> References: <1398455590-4374-1-git-send-email-jon@ringle.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jon Ringle Fix by including linux/uaccess.h: drivers/tty/serial/sc16is7xx.c: In function 'sc16is7xx_ioctl': >> drivers/tty/serial/sc16is7xx.c:861:3: error: implicit declaration of function 'copy_from_user' [-Werror=implicit-function-declaration] >> drivers/tty/serial/sc16is7xx.c:867:3: error: implicit declaration of function 'copy_to_user' [-Werror=implicit-function-declaration] Signed-off-by: Jon Ringle --- drivers/tty/serial/sc16is7xx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/tty/serial/sc16is7xx.c b/drivers/tty/serial/sc16is7xx.c index ed139f5..7206a64 100644 --- a/drivers/tty/serial/sc16is7xx.c +++ b/drivers/tty/serial/sc16is7xx.c @@ -25,6 +25,7 @@ #include #include #include +#include #define SC16IS7XX_NAME "sc16is7xx" -- 1.8.5.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/