Skip to contentSkip to conversation

About my strnlen patch

Qemu-devel Programmingkid 2 participants 6 messages Dec 21, 2017

lore
Share & tools
lore
#1 lore raw
Quoted 1 line · Programmingkid

Now would be a good time to push the strnlen patch.

No links to the patch? Generally, when pinging a patch, it's best to reply to the existing thread, or at least provide a URL to the thread, where the patch was proposed.

Signature · 3 lines
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org
#2 lore raw
Quoted 8 lines · Eric Blake
Quoted 1 line · Programmingkid

Now would be a good time to push the strnlen patch.

No links to the patch? Generally, when pinging a patch, it's best to reply to the existing thread, or at least provide a URL to the thread, where the patch was proposed.

Yes here is the patch: https://patchwork.kernel.org/patch/10027375/

#3 lore raw
Quoted 9 lines · Programmingkid
Quoted 8 lines · Eric Blake
Quoted 1 line · Programmingkid

Now would be a good time to push the strnlen patch.

No links to the patch? Generally, when pinging a patch, it's best to reply to the existing thread, or at least provide a URL to the thread, where the patch was proposed.

Yes here is the patch: https://patchwork.kernel.org/patch/10027375/

And that link says it was applied to libfdt on Oct 25. What still needs to happen that caused you to send this ping?

Signature · 3 lines
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org
#4 lore raw
Quoted 6 lines · Eric Blake
Quoted 2 lines · Programmingkid
Quoted 2 lines · Eric Blake
Quoted 8 lines
Quoted 6 lines
Quoted 5 lines · Programmingkid
Quoted 1 line

Now would be a good time to push the strnlen patch.

No links to the patch? Generally, when pinging a patch, it's best to reply to the existing thread, or at least provide a URL to the thread, where the patch was proposed.

Yes here is the patch: https://patchwork.kernel.org/patch/10027375/

And that link says it was applied to libfdt on Oct 25. What still needs to happen that caused you to send this ping?

It isn't available in QEMU yet. Without the patch building QEMU on Mac OS 10.6 fails.

The patch'ed code would be found here: <qemu folder>/dtc/libfdt/libfdt_env.h.

I can check on the patch's status by deleting the dtc folder and retrieve it again using this command:

$ scripts/git-submodule.sh dtc
#5 lore raw
Quoted 13 lines · Programmingkid
Quoted 13 lines · Eric Blake
Quoted 8 lines · Programmingkid
Quoted 7 lines · Eric Blake
Quoted 1 line · Programmingkid

Now would be a good time to push the strnlen patch.

No links to the patch? Generally, when pinging a patch, it's best to reply to the existing thread, or at least provide a URL to the thread, where the patch was proposed.

Yes here is the patch: https://patchwork.kernel.org/patch/10027375/

Quoted 8 lines
Quoted 1 line

And that link says it was applied to libfdt on Oct 25. What still needs to happen that caused you to send this ping?

It isn't available in QEMU yet. Without the patch building QEMU on Mac OS 10.6 fails.

The patch'ed code would be found here: <qemu folder>/dtc/libfdt/libfdt_env.h.

I can check on the patch's status by deleting the dtc folder and retrieve it again using this command:

$ scripts/git-submodule.sh dtc

In other words, for qemu, you are proposing a patch to update the dtc submodule to a newer commit id. Instead of describing that in words, it's better to post an actual patch, such as this, which updates to the latest dtc commit available as of my email:

dtc +1 -1
index 558cd81bdd..e671852042 160000
@@ -1 +1 @@
-Subproject commit 558cd81bdd432769b59bff01240c44f82cfb1a9d
+Subproject commit e671852042a77b15ec72ca908291c7d647e4fb01

Create such a patch by: 'cd dtc; git pull; git merge origin; cd ..; git add dtc'. However, pointing the dtc submodule to a commit in-between releases may not be desirable; your commit landed in dtc as commit c8f8194d, missing v1.4.5 (qemu.git is currently pointing to v1.4.4). As I'm not the maintainer of the dtc submodule, I don't know the preferred submodule update procedure; it may mean that you have to wait for upstream dtc to release v1.4.6 before qemu.git can be updated to point to a dtc version that includes your commit.

Signature · 3 lines
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org