| Submitter | Simon Glass |
|---|---|
| Date | Nov. 22, 2012, 7:12 p.m. |
| Message ID | <1353611587-18186-6-git-send-email-sjg@chromium.org> |
| Download | mbox | patch |
| Permalink | /patch/201151/ |
| State | Superseded, archived |
| Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 729D52C0089 for <incoming@patchwork.ozlabs.org>; Fri, 23 Nov 2012 06:17:29 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E5BDF4A0F8; Thu, 22 Nov 2012 20:17:03 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 307Lb+lWaFrP; Thu, 22 Nov 2012 20:17:03 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B68E84A0FB; Thu, 22 Nov 2012 20:15:44 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9575C4A039 for <u-boot@lists.denx.de>; Thu, 22 Nov 2012 20:15:06 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JhcqiltMHMAz for <u-boot@lists.denx.de>; Thu, 22 Nov 2012 20:15:04 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-qc0-f202.google.com (mail-qc0-f202.google.com [209.85.216.202]) by theia.denx.de (Postfix) with ESMTPS id 870154A03C for <u-boot@lists.denx.de>; Thu, 22 Nov 2012 20:14:48 +0100 (CET) Received: by mail-qc0-f202.google.com with SMTP id s25so975422qcq.3 for <u-boot@lists.denx.de>; Thu, 22 Nov 2012 11:14:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=4lURMnaTlBiQI0Cg8ZmvIK262uaL7FQKg3vJlGFC7wE=; b=XJwu+WuEvzEtv00+53Q5hTWCMFcHvAWT3ZbBcuU2KJ59RmmkPylzb7BtSKgsrhw+0j 1qL/mbajiOLQxK9rxKW2td15FuR2kus45rfWIy2X/JcQv78K1JGtuf2XMFu0Cr3P1Ojq htlSG8Z3g89XL1IrHkpJJliwslfZkIaQ4iSwpN6CL2g4OuGc6kmuopBCFL8+VrvP8pSt iT31/QY9VVKZRDp8NNzuSetaml8thself+aO7bA0txHsIUPgFUejz+Npli8WTapWWfZx cOvdpNFFjqKPptgfZHuqODDVZsSm4BniKeVpp7wNxA5zIbEtQRyKunUtmSLMQtYi8wN4 q10w== Received: by 10.236.149.33 with SMTP id w21mr911090yhj.33.1353611686006; Thu, 22 Nov 2012 11:14:46 -0800 (PST) Received: from wpzn3.hot.corp.google.com (216-239-44-65.google.com [216.239.44.65]) by gmr-mx.google.com with ESMTPS id r6si278653yhc.7.2012.11.22.11.14.46 (version=TLSv1/SSLv3 cipher=AES128-SHA); Thu, 22 Nov 2012 11:14:46 -0800 (PST) Received: from kaka.mtv.corp.google.com (kaka.mtv.corp.google.com [172.22.73.79]) by wpzn3.hot.corp.google.com (Postfix) with ESMTP id D31FC100048; Thu, 22 Nov 2012 11:14:45 -0800 (PST) Received: by kaka.mtv.corp.google.com (Postfix, from userid 121222) id 868F9160AC8; Thu, 22 Nov 2012 11:14:45 -0800 (PST) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Date: Thu, 22 Nov 2012 11:12:49 -0800 Message-Id: <1353611587-18186-6-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 1.7.7.3 In-Reply-To: <1353611587-18186-1-git-send-email-sjg@chromium.org> References: <1353611587-18186-1-git-send-email-sjg@chromium.org> X-Gm-Message-State: ALoCoQmVDs7SVLQeE0QXyHreXRUVkqTsRtNBPT1SdJwzH3W3dnpLOItlj7RFYzMt+yZCpWJROzAQhdybeEuhluJIBT8xoJIbfXE93aaPjUpDhPrRM8qWaeXt8AlEkD3VSW+sjbdlgdS4Vd9Ct3bfUhBBI/2tii6qfmuSdhnTtTwgy4CEIWFghDwpI7KMiu5y8dQtjyh1eeue Cc: Tom Rini <trini@ti.com>, Vincent Palatin <vpalatin@chromium.org> Subject: [U-Boot] [PATCH v2 05/23] stdio: remove useless strncpy X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <http://lists.denx.de/mailman/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <http://lists.denx.de/mailman/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de |
Comments
Simon Glass - Nov. 22, 2012, 7:12 p.m.
Patch
diff --git a/common/stdio.c b/common/stdio.c index 605ff3f..c7a323f 100644 --- a/common/stdio.c +++ b/common/stdio.c @@ -135,7 +135,6 @@ struct stdio_dev* stdio_clone(struct stdio_dev *dev) return NULL; memcpy(_dev, dev, sizeof(struct stdio_dev)); - strncpy(_dev->name, dev->name, 16); return _dev; }