Re: [PATCH V2] poweroff: fix bug in orderly_poweroff

2012-09-21 Thread Serge Hallyn
Quoting Feng Hong (hongf...@marvell.com): > Hi, Serge, > > I am just a graduate and it's my first time to send a patch to opensource, so > thank you very much for reminding me the "changelog affairs", it seems this > patch has been added to -mm tree as attached mail, and I have no chance to > c

RE: [PATCH V2] poweroff: fix bug in orderly_poweroff

2012-09-20 Thread Feng Hong
@vger.kernel.org Subject: Re: [PATCH V2] poweroff: fix bug in orderly_poweroff On Thu, 20 Sep 2012 17:16:35 -0700 Feng Hong wrote: > I am just a graduate and it's my first time to send a patch to > opensource, so thank you very much for reminding me the "changelog > affairs",

Re: [PATCH V2] poweroff: fix bug in orderly_poweroff

2012-09-20 Thread Andrew Morton
On Thu, 20 Sep 2012 17:16:35 -0700 Feng Hong wrote: > I am just a graduate and it's my first time to send a patch to > opensource, so thank you very much for reminding me the "changelog > affairs", it seems this patch has been added to -mm tree as attached > mail, and I have no chance to change t

RE: [PATCH V2] poweroff: fix bug in orderly_poweroff

2012-09-20 Thread Feng Hong
m.org; serge.hal...@canonical.com; ebied...@xmission.com; linux-kernel@vger.kernel.org Subject: Re: [PATCH V2] poweroff: fix bug in orderly_poweroff Quoting hongfeng (hongf...@marvell.com): > orderly_poweroff is trying to poweroff platform by two steps: > step 1: Call userspace application to poweroff

Re: [PATCH V2] poweroff: fix bug in orderly_poweroff

2012-09-20 Thread Serge E. Hallyn
Quoting hongfeng (hongf...@marvell.com): > orderly_poweroff is trying to poweroff platform by two steps: > step 1: Call userspace application to poweroff > step 2: If userspace poweroff fail, then do a force power off if force param > is set. > > The bug here is, step 1 is always successful with

[PATCH V2] poweroff: fix bug in orderly_poweroff

2012-09-18 Thread hongfeng
orderly_poweroff is trying to poweroff platform by two steps: step 1: Call userspace application to poweroff step 2: If userspace poweroff fail, then do a force power off if force param is set. The bug here is, step 1 is always successful with param UMH_NO_WAIT, should change to UMH_WAIT_EXEC whi

[PATCH V2] poweroff: fix bug in orderly_poweroff

2012-09-18 Thread hongfeng
orderly_poweroff is trying to poweroff platform by two steps: step 1: Call userspace application to poweroff step 2: If userspace poweroff fail, then do a force power off if force param is set. The bug here is, step 1 is always successful with param UMH_NO_WAIT, should change to UMH_WAIT_EXEC whi