From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from az33egw01.freescale.net (az33egw01.freescale.net [192.88.158.102]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "az33egw01.freescale.net", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 1612CDE2E9 for ; Sat, 28 Jun 2008 06:19:32 +1000 (EST) Message-ID: <48654974.6060200@freescale.com> Date: Fri, 27 Jun 2008 15:11:32 -0500 From: Scott Wood MIME-Version: 1.0 To: Nye Liu Subject: Re: [PATCH] POWERPC CPM: Minor cosmetic changes to udbg_putc References: <20080627200100.GA16661@mrv.com> In-Reply-To: <20080627200100.GA16661@mrv.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Nye Liu wrote: > udbg_putc is a *function pointer* that is initialized during > udbg_init_cpm. It might not be initialized properly when called from > udbg_putc_cpm(), so (recursively) call udbg_putc_cpm() directly. ACK > Printing an "X" on initialization is ugly. How about a "\n" instead? D'oh, that was a debugging leftover that I missed when cleaning things up. Just remove it. -Scott From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760491AbYF0UTn (ORCPT ); Fri, 27 Jun 2008 16:19:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754676AbYF0UTf (ORCPT ); Fri, 27 Jun 2008 16:19:35 -0400 Received: from az33egw01.freescale.net ([192.88.158.102]:45160 "EHLO az33egw01.freescale.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754472AbYF0UTf (ORCPT ); Fri, 27 Jun 2008 16:19:35 -0400 Message-ID: <48654974.6060200@freescale.com> Date: Fri, 27 Jun 2008 15:11:32 -0500 From: Scott Wood User-Agent: Mozilla-Thunderbird 2.0.0.14 (X11/20080509) MIME-Version: 1.0 To: Nye Liu CC: linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org Subject: Re: [PATCH] POWERPC CPM: Minor cosmetic changes to udbg_putc References: <20080627200100.GA16661@mrv.com> In-Reply-To: <20080627200100.GA16661@mrv.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Nye Liu wrote: > udbg_putc is a *function pointer* that is initialized during > udbg_init_cpm. It might not be initialized properly when called from > udbg_putc_cpm(), so (recursively) call udbg_putc_cpm() directly. ACK > Printing an "X" on initialization is ugly. How about a "\n" instead? D'oh, that was a debugging leftover that I missed when cleaning things up. Just remove it. -Scott