From: Marek Vasut <marex@denx.de>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Szabolcs Sipos <labuwx@balfug.com>,
Sasha Levin <sashal@kernel.org>,
linux-stable <stable@vger.kernel.org>
Subject: Re: [PATCH] Bluetooth: btusb: Add support for TP-Link UB500 Adapter
Date: Thu, 18 Nov 2021 11:19:38 +0100 [thread overview]
Message-ID: <3626f1ad-6ebc-92ff-e00a-9f9ebf756e32@denx.de> (raw)
In-Reply-To: <YZYNgUv51hs6suNE@kroah.com>
On 11/18/21 9:23 AM, Greg Kroah-Hartman wrote:
> On Wed, Nov 17, 2021 at 09:27:17PM +0100, Marek Vasut wrote:
>> On 11/17/21 7:35 AM, Greg Kroah-Hartman wrote:
>>> On Tue, Nov 16, 2021 at 08:58:15PM +0100, Marek Vasut wrote:
>>>> On 11/16/21 7:35 PM, Greg Kroah-Hartman wrote:
>>>>> On Tue, Nov 16, 2021 at 06:41:08PM +0100, Szabolcs Sipos wrote:
>>>>>> On 10/11/21 09:44, Greg Kroah-Hartman wrote:
>>>>>>> On Sun, Oct 10, 2021 at 10:59:06PM +0200, Marek Vasut wrote:
>>>>>>>> Hello everyone,
>>>>>>>>
>>>>>>>> The following new device USB ID has landed in linux-next recently:
>>>>>>>>
>>>>>>>> 4fd6d4907961 ("Bluetooth: btusb: Add support for TP-Link UB500 Adapter")
>>>>>>>>
>>>>>>>> It would be nice if it could be backported to stable. I verified it works on
>>>>>>>> 5.14.y as a simple cherry-pick .
>>>>>>>
>>>>>>> A patch needs to be in Linus's tree before we can add it to the stable
>>>>>>> releases. Please let us know when it gets there and we will be glad to
>>>>>>> pick it up.
>>>>>>>
>>>>>>> thanks,
>>>>>>>
>>>>>>> greg k-h
>>>>>>
>>>>>> Hello Greg,
>>>>>>
>>>>>> The patch has reached Linus's tree:
>>>>>> 4fd6d4907961 ("Bluetooth: btusb: Add support for TP-Link UB500 Adapter")
>>>>>>
>>>>>> Could you please add it to stable (5.15.y)?
>>>>>
>>>>> I will queue it up for the next set of kernels after the current ones are
>>>>> released.
>>>>
>>>> btw while you're bringing it up, is there some sure-fire method I can use to
>>>> verify the patch is in Linus tree, besides having a separate checkout of
>>>> that tree ?
>>>
>>> Without the tree/branch checked out? Not that I know of, sorry.
>>
>> I have a local checkout of Linus tree, except I also have other remotes in
>> it, that's what I meant.
>>
>>>> I usually have both Linus tree as origin and next in one git tree, so I was
>>>> wondering if there is a recommended way to avoid mistakes like the one I
>>>> made above (and checking at git.kernel.org apparently also has its
>>>> downsides).
>>>
>>> Having both in one git tree is fine. Just switch between branches (one
>>> that tracks Linus's and one that tracks linux-next) and you can see what
>>> is happening in each of them.
>>
>> I can do some "git log linus/master | grep the-commit" , but that does not
>> seem to be the most efficient approach, or is it ?
>
> git log linux/master path/to/file/you/care/about.c
>
> will give you just the log of the specific file as you know what one you
> are looking for here, right?
>
>>> There's other "tricks" to see if patches have been added to branches by
>>> adding them to a branch and then rebasing and seeing the end result, but
>>> those get tricky to try to explain in simple emails...
>>
>> Some sort of git-cherry-pick and git-rebase ?
>
> Yes, create a branch:
> git checkout -b my_new_branch linux/master
> add the patch
> git cherry-pick SHA_to_pick
>
> And then later on after you have updated linux/master:
> git rebase linux/master
> and see if anything is still left here or not:
> git log linux/master..HEAD
>
> if the commit is merged, then the log will be empty.
Thanks
prev parent reply other threads:[~2021-11-18 10:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-10 20:59 [PATCH] Bluetooth: btusb: Add support for TP-Link UB500 Adapter Marek Vasut
2021-10-11 7:44 ` Greg Kroah-Hartman
2021-11-16 17:41 ` Szabolcs Sipos
2021-11-16 18:35 ` Greg Kroah-Hartman
2021-11-16 19:58 ` Marek Vasut
2021-11-17 6:35 ` Greg Kroah-Hartman
2021-11-17 20:27 ` Marek Vasut
2021-11-18 8:23 ` Greg Kroah-Hartman
2021-11-18 10:19 ` Marek Vasut [this message]
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=3626f1ad-6ebc-92ff-e00a-9f9ebf756e32@denx.de \
--to=marex@denx.de \
--cc=gregkh@linuxfoundation.org \
--cc=labuwx@balfug.com \
--cc=sashal@kernel.org \
--cc=stable@vger.kernel.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