<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi,</div><div>I just have checkouted origin/staging-testing and git rebase first-patch.Now,</div><div>=============git command &amp;&amp; output==============</div><div><div>yubo@debian:~/maintree/staging$ git branch -a</div><div>* (no branch)</div><div>&nbsp; first-patch</div><div>&nbsp; staging-next</div><div>&nbsp; staging-testing</div><div>&nbsp; remotes/origin/HEAD -&gt; origin/master</div><div>&nbsp; remotes/origin/master</div><div>&nbsp; remotes/origin/staging-linus</div><div>&nbsp; remotes/origin/staging-next</div><div>&nbsp; remotes/origin/staging-testing</div><div>&nbsp; remotes/origin/test</div></div><div><div>ubo@debian:~/maintree/staging$ git fetch origin</div><div>remote: Counting objects: 273, done.</div><div>remote: Compressing objects: 100% (273/273), done.</div><div>remote: Total 273 (delta 160), reused 0 (delta 0)</div><div>Receiving objects: 100% (273/273), 298.64 KiB | 196 KiB/s, done.</div><div>Resolving deltas: 100% (160/160), done.</div><div>From git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging</div><div>&nbsp; &nbsp;2cdb82c..d9750a2 &nbsp;staging-next -&gt; origin/staging-next</div><div>yubo@debian:~/maintree/staging$ git checkout staging-testing&nbsp;</div><div>drivers/gpu/drm/i915/intel_display.c: needs merge</div><div>error: you need to resolve your current index first</div></div><div>===============end==================</div><div><br></div><div><br></div><br><br><br><br><div style="position:relative;zoom:1">--<br>Best Regards<br><div style="clear:both"></div></div><div id="divNeteaseMailCard"></div><br>ÔÚ 2016-02-15 07:51:40£¬"Roger H Newell" &lt;newell.roger@gmail.com&gt; Ð´µÀ£º<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><p dir="ltr">I think you want to have first-patch checked out and rebase origin/staging-testing ? You mite also consider checking out staging-testing first and run git fetch origin.</p>
<p dir="ltr">On Feb 14, 2016 8:17 PM, "YU Bo" &lt;<a href="mailto:yuzibode@126.com">yuzibode@126.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi,<br>
&gt; Some days ago i followed the tips:<br>
&gt; <a href="http://kernelnewbies.org/FirstKernelPatch">http://kernelnewbies.org/FirstKernelPatch</a><br>
&gt; git clone greg's git tree and built branch first-patch.<br>
&gt; Due to my first patch that fixes coding style reported<br>
&gt; by <a href="http://checkptch.pl">checkptch.pl</a> didn't applied,so i intend to rebase my&nbsp;<br>
&gt; git branch first-patch.The question i encounter is:<br>
&gt; ==================git command &amp;&amp; output========<br>
&gt; yubo@debian:~/maintree/staging$&nbsp;&nbsp;git rebase first-patch<br>
&gt; It looks like git-am is in progress. Cannot rebase.<br>
&gt; yubo@debian:~/maintree/staging$ git am --abort&nbsp;<br>
&gt; You seem to have moved HEAD since the last 'am' failure.<br>
&gt; Not rewinding to ORIG_HEAD<br>
&gt; yubo@debian:~/maintree/staging$ git rebase first-patch<br>
&gt; First, rewinding head to replay your work on top of it...<br>
&gt; Applying: ovl: default permissions<br>
&gt; Using index info to reconstruct a base tree...<br>
&gt; Falling back to patching base and 3-way merge...<br>
&gt; ----<br>
&gt; Auto-merging drivers/gpu/drm/i915/intel_display.c<br>
&gt; CONFLICT (content): Merge conflict in drivers/gpu/drm/i915/intel_display.c<br>
&gt; Failed to merge in the changes.<br>
&gt; Patch failed at 0010 drm/i915: Only run commit when crtc is active, v2.<br>
&gt;<br>
&gt; Is there &nbsp;something with wrong?<br>
&gt; Thanks in advance for the noisy.<br>
&gt; --<br>
&gt; Best Regards<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Kernelnewbies mailing list<br>
&gt; <a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
&gt; <a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
&gt;<br>
</p>
</blockquote></div>