From patchwork Tue Jun 3 09:53:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 4286321 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 82458BEEA7 for ; Tue, 3 Jun 2014 09:54:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B8E95202F0 for ; Tue, 3 Jun 2014 09:54:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 74481202E5 for ; Tue, 3 Jun 2014 09:54:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751286AbaFCJye (ORCPT ); Tue, 3 Jun 2014 05:54:34 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:58241 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751132AbaFCJyd (ORCPT ); Tue, 3 Jun 2014 05:54:33 -0400 Received: from wuerfel.localnet (HSI-KBW-134-3-133-35.hsi14.kabel-badenwuerttemberg.de [134.3.133.35]) by mrelayeu.kundenserver.de (node=mreue003) with ESMTP (Nemesis) id 0LdZnq-1WRoJa25yM-00ilnz; Tue, 03 Jun 2014 11:53:48 +0200 From: Arnd Bergmann To: Greg Kroah-Hartman Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Joe Perches , Doug Anderson , Kukjin Kim Subject: [PATCH] serial: samsung: fix typo in debug code Date: Tue, 03 Jun 2014 11:53:47 +0200 Message-ID: <10455941.RzodM59Z3O@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.11.0-18-generic; KDE/4.11.5; x86_64; ; ) MIME-Version: 1.0 X-Provags-ID: V02:K0:8aTxr+ACTn1tkSqPNasw4Ivwn3KhRiI9U7jLYuJ0kQ2 QmMPLvS0IQ86UMcRlA6jwVrybtEMu1cFLvoCzxD25stPsFLSGS SLv38+ybFubwTKRCPJddCyGLvTvHR+EI3ctrpLMvazAbtkNDGY VJqfps8xT83BCnUny5Ezn4tpW59SIzgOkr6tbOkdChjvEUdw9f k3mUuca8iABllDcCrC04FNNKkQvTGqQd1rzcEgQeWf8rohvCz2 1VteKbbF2fOHQd49k0MxSN/K/248bEttvRwC3yfzDIeYYTccT6 27QuYpTQPZODczOIeT7NykrAVRrxy7UJsPtACOJIKePoBj+hGu 7QnK8StMUOYXUUZNNmG8= Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP commit e4ac92df2791 ("serial: samsung: Neaten dbg uses") introduced a regression in the conversion from vsprintf to vsnprintf. This fixes the build error by passing the correct variable name. Signed-off-by: Arnd Bergmann Cc: Joe Perches Cc: Greg Kroah-Hartman Cc: Doug Anderson Cc: Kukjin Kim --- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/tty/serial/samsung.c b/drivers/tty/serial/samsung.c index 3293377..c1d3ebd 100644 --- a/drivers/tty/serial/samsung.c +++ b/drivers/tty/serial/samsung.c @@ -66,7 +66,7 @@ static void dbg(const char *fmt, ...) char buff[256]; va_start(va, fmt); - vscnprintf(buff, sizeof(buf), fmt, va); + vscnprintf(buff, sizeof(buff), fmt, va); va_end(va); printascii(buff);