From: Tom Rini Date: Thu, 9 Oct 2014 12:23:48 -0400 Subject: [U-Boot] [PATCH fix for v2014.10 4/5] stdio: Add force parameter to stdio_deregister In-Reply-To: <201410091712.03867.marex@denx.de> References: <1411224878-13692-1-git-send-email-hdegoede@redhat.com> <1411224878-13692-5-git-send-email-hdegoede@redhat.com> <201410091712.03867.marex@denx.de> Message-ID: <20141009162348.GM25506@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Oct 09, 2014 at 05:12:03PM +0200, Marek Vasut wrote: > On Thursday, October 09, 2014 at 08:18:14 AM, Simon Glass wrote: > > Hi, > > > > On 20 September 2014 08:54, Hans de Goede wrote: > > > In some cases we really want to move forward with a deregister, add a > > > force parameter to allow this, and replace the dev with a nulldev in > > > this case. > > > > > > Signed-off-by: Hans de Goede > > [...] > > > > diff --git a/drivers/serial/serial-uclass.c > > > b/drivers/serial/serial-uclass.c index d04104e..61cbdc6 100644 > > > --- a/drivers/serial/serial-uclass.c > > > +++ b/drivers/serial/serial-uclass.c > > > @@ -197,7 +197,7 @@ static int serial_pre_remove(struct udevice *dev) > > > > > > #ifdef CONFIG_SYS_STDIO_DEREGISTER > > > > > > struct serial_dev_priv *upriv = dev->uclass_priv; > > > > > > - if (stdio_deregister_dev(upriv->sdev)) > > > + if (stdio_deregister_dev(upriv->sdev), 0) > > > > That bracket seems to be in a strange place. > > Good find, thanks! I have two questions: > 1) How come I did not notice this and my build didn't spit? Because only sandbox uses this right now I think. But I'm unhappy that I can't seem to make repeated runs of: $ ./tools/buildman/buildman -b master -c 1 -ve -T 1 -j 9 \ 'arc|blackfin|microblaze|m68k|nds32|sparc|x86|aarch64|sandbox|mips|avr32|arm|powerpc' $ ./tools/buildman/buildman -b master -c 1 -ve -T 1 -j 9 \ 'arc|blackfin|microblaze|m68k|nds32|sparc|x86|aarch64|sandbox|mips|avr32|arm|powerpc' \ -svel Show me just new problems from the last time I did it. I must be doing something wrong, Simon? -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: