kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: greg@kroah.com (Greg KH)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Rebase against linux-next tree?
Date: Thu, 16 Mar 2017 10:26:48 +0900	[thread overview]
Message-ID: <20170316012648.GA28723@kroah.com> (raw)
In-Reply-To: <CAO62RXdo_57RB=w3+PcRwvQqQnuRpVMYcX+_zBsHOnbO5hyaew@mail.gmail.com>

On Tue, Mar 14, 2017 at 07:52:36PM -0600, Perry Hooker wrote:
> I recently submitted a patch (attached below) that corrects a couple
> of 'sparse' warnings in drivers/staging/rtl8192u/r8192U_dm.c.
> 
> I got this reply back from greg k-h:
> 
> > This patch does not apply to my tree at all :(
> > Please rebase it against linux-next and try again.
> 
> However,  I thought I *was* working off linux-next. This is what I did:
> 
> $ git remote add linux-next
> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> $ git fetch linux-next
> $ git fetch --tags linux-next
> $ git remote update
> $ git checkout next-20170310
> $ git apply 0001-staging-rtl8192u-use-__le16_to_cpu-instead-of-cast.patch
> 
> ... and the patch applied ok.
> Just to be sure, I also did this:
> 
> $ git clone git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> $ git apply 0001-staging-rtl8192u-use-__le16_to_cpu-instead-of-cast.patch
> 
> ... and the patch again applied OK.
> 
> What am I doing wrong / where should I go for more info?

linux-next is usually a day or so behind my tree, so maybe there were
other patches from other developers that caused the conflict.  Try
linux-next now and see if there still is a conflict or not, and if not,
rebase and resend the patches.

If you really want to do a lot of staging tree work, I suggest working
off of my staging-next or staging-testing branch.  Note, sometimes
staging-testing gets rebased, so unless you know how to handle that, I
would stay away from it :)

That's the fun of dealing with a subsystem that gets a few hundred
patches submitted every day, it moves fast...

thanks,

greg k-h

  reply	other threads:[~2017-03-16  1:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-15  1:52 Rebase against linux-next tree? Perry Hooker
2017-03-16  1:26 ` Greg KH [this message]
2017-03-16  4:38   ` valdis.kletnieks at vt.edu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170316012648.GA28723@kroah.com \
    --to=greg@kroah.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).