From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Wed, 13 Jan 2016 17:14:44 +0800 Subject: [U-Boot] [PATCH 1/8] fdt: Fix up stdout correctly in fdt_fixup_stdout() In-Reply-To: References: <1451551990-32165-1-git-send-email-bmeng.cn@gmail.com> <1451551990-32165-2-git-send-email-bmeng.cn@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Simon, On Tue, Jan 12, 2016 at 12:58 AM, Simon Glass wrote: > Hi Bin, > > On 10 January 2016 at 20:02, Bin Meng wrote: >> Hi Simon, >> >> On Fri, Jan 8, 2016 at 11:34 AM, Simon Glass wrote: >>> Hi Bin, >>> >>> On 31 December 2015 at 01:53, Bin Meng wrote: >>>> When CONFIG_OF_STDOUT_VIA_ALIAS is on, always fix up kernel's stdout >>>> string with hardcoded CONFIG_CONS_INDEX. >>>> >>>> This actually reverts commit 3e303f748cf57fb23e8ec95ab7eac0074be50e2b >>>> "fdt_support: Add multi-serial support for stdout fixup", as the fix >>> >>> In that case, could this be a revert, created with 'git revert'? >> >> I've never used 'git revert' command. Did you mean this commit/patch >> should be recreated using 'git revert'? Does this matter? > > Well it creates a commit with a particular subject and format, which > people are used to seeing for reverts. So if it is actually a revert, > then yes I think you should use 'git revert'. You can edit the commit > message to provide more detail. > When running 'git revert 3e303f748cf57fb23e8ec95ab7eac0074be50e2b', I got: error: could not revert 3e303f7... fdt_support: Add multi-serial support for stdout fixup hint: after resolving the conflicts, mark the corrected paths hint: with 'git add ' or 'git rm ' hint: and commit the result with 'git commit' Looks it cannot be reverted cleanly using 'git revert' command. What's the best practice here? Regards, Bin