Displaying 20 results from an estimated 65 matches for "89,9".
2020 Feb 26
2
[PATCH] lib: command: switch from select() to poll()
...there is no need to
use the gnulib module for it.
---
lib/command.c | 54 ++++++++++++++++++++++++++++++++++-----------------
1 file changed, 36 insertions(+), 18 deletions(-)
diff --git a/lib/command.c b/lib/command.c
index f2161de9a..13b084934 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -89,9 +89,8 @@
#include <signal.h>
#include <errno.h>
#include <assert.h>
-#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/select.h>
+#include <poll.h>
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
@@ -650,37 +649,41 @@ run_child (struc...
2016 Mar 25
0
[PATCH 3/4] iccsense: split sensor into own struct
...eturn nvkm_iccsense_poll_lane(rail->i2c, rail->addr, shunt_reg, 0,
- bus_reg, 3, rail->mohm, 10 * 4);
+ return nvkm_iccsense_poll_lane(rail->sensor->i2c, rail->sensor->addr,
+ shunt_reg, 0, bus_reg, 3, rail->mohm,
+ 10 * 4);
}
static int
@@ -89,9 +89,9 @@ static int
nvkm_iccsense_ina3221_read(struct nvkm_iccsense *iccsense,
struct nvkm_iccsense_rail *rail)
{
- return nvkm_iccsense_poll_lane(rail->i2c, rail->addr,
- 1 + (rail->rail * 2), 3,
- 2 + (rail->rail * 2), 3, rail->mohm,
+ return nvkm_icc...
2013 Mar 07
3
[PATCH] vhost_net: remove tx polling state
...RX, sock->file);
- return ret;
+ return vhost_poll_start(poll, sock->file);
}
static struct socket *vhost_net_stop_vq(struct vhost_net *n,
diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c
index 9759249..4eecdb8 100644
--- a/drivers/vhost/vhost.c
+++ b/drivers/vhost/vhost.c
@@ -89,6 +89,9 @@ int vhost_poll_start(struct vhost_poll *poll, struct file *file)
unsigned long mask;
int ret = 0;
+ if (poll->wqh)
+ return 0;
+
mask = file->f_op->poll(file, &poll->table);
if (mask)
vhost_poll_wakeup(&poll->wait, 0, 0, (void *)mask);
--
1.7.1
2013 Mar 07
3
[PATCH] vhost_net: remove tx polling state
...RX, sock->file);
- return ret;
+ return vhost_poll_start(poll, sock->file);
}
static struct socket *vhost_net_stop_vq(struct vhost_net *n,
diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c
index 9759249..4eecdb8 100644
--- a/drivers/vhost/vhost.c
+++ b/drivers/vhost/vhost.c
@@ -89,6 +89,9 @@ int vhost_poll_start(struct vhost_poll *poll, struct file *file)
unsigned long mask;
int ret = 0;
+ if (poll->wqh)
+ return 0;
+
mask = file->f_op->poll(file, &poll->table);
if (mask)
vhost_poll_wakeup(&poll->wait, 0, 0, (void *)mask);
--
1.7.1
2020 Feb 26
1
Re: [PATCH] lib: command: switch from select() to poll()
...| 54 ++++++++++++++++++++++++++++++++++-----------------
> > 1 file changed, 36 insertions(+), 18 deletions(-)
> >
> > diff --git a/lib/command.c b/lib/command.c
> > index f2161de9a..13b084934 100644
> > --- a/lib/command.c
> > +++ b/lib/command.c
> > @@ -89,9 +89,8 @@
> > #include <signal.h>
> > #include <errno.h>
> > #include <assert.h>
> > -#include <sys/types.h>
> > #include <sys/stat.h>
> > -#include <sys/select.h>
> > +#include <poll.h>
> >
> >...
2016 Jan 17
1
[PATCH klibc] run-init: Add dry-run mode
...pt(argc, argv, "c:d:")) != -1) {
+ while ((o = getopt(argc, argv, "c:d:n")) != -1) {
if (o == 'c') {
console = optarg;
} else if (o == 'd') {
drop_caps = optarg;
+ } else if (o == 'n') {
+ dry_run = true;
} else {
usage();
}
@@ -89,9 +93,13 @@ int main(int argc, char *argv[])
init = argv[optind + 1];
initargs = argv + optind + 1;
- error = run_init(realroot, console, drop_caps, init, initargs);
+ error = run_init(realroot, console, drop_caps, dry_run, init, initargs);
- /* If run_init returns, something went wrong */...
2016 Mar 25
7
[PATCH 0/4] Configure Power Sensors
The power sensors can be configured to sample the readout values over time.
Nvidia does this too, so nouveau should probably do that too.
Karol Herbst (4):
iccsense: remove read function
iccsense: convert to linked list
iccsense: split sensor into own struct
iccsense: configure sensors like nvidia does
drm/nouveau/include/nvkm/subdev/iccsense.h | 6 +-
drm/nouveau/nouveau_hwmon.c
2010 May 05
4
[PATCH RFC] virtio: put last seen used index into ring itself
...but I'd like to hear comments meanwhile.
drivers/virtio/virtio_ring.c | 28 +++++++++++++++++-----------
include/linux/virtio_ring.h | 14 +++++++++++++-
2 files changed, 30 insertions(+), 12 deletions(-)
diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c
index 1ca8890..7729aba 100644
--- a/drivers/virtio/virtio_ring.c
+++ b/drivers/virtio/virtio_ring.c
@@ -89,9 +89,6 @@ struct vring_virtqueue
/* Number we've added since last sync. */
unsigned int num_added;
- /* Last used index we've seen. */
- u16 last_used_idx;
-
/* How to notify other side. F...
2010 May 05
4
[PATCH RFC] virtio: put last seen used index into ring itself
...but I'd like to hear comments meanwhile.
drivers/virtio/virtio_ring.c | 28 +++++++++++++++++-----------
include/linux/virtio_ring.h | 14 +++++++++++++-
2 files changed, 30 insertions(+), 12 deletions(-)
diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c
index 1ca8890..7729aba 100644
--- a/drivers/virtio/virtio_ring.c
+++ b/drivers/virtio/virtio_ring.c
@@ -89,9 +89,6 @@ struct vring_virtqueue
/* Number we've added since last sync. */
unsigned int num_added;
- /* Last used index we've seen. */
- u16 last_used_idx;
-
/* How to notify other side. F...
2017 Feb 16
1
Issue with ssh-keygen
On Wed, Feb 15, 2017 at 9:50 PM, Kelly Dunlop <kdunlop at guralp.com> wrote:
>
>
> Hi,
>
> I am running openssh7.3p1 on an embedded Linux system and discovered this problem.
>
> If I run:
>
> ssh-keygen -t rsa1 -f testfile
>
> it appears to generate the key and I get the output:
>
> Generating public/private rsa1 key pair.
>
2018 Feb 04
0
[PATCH 2/2] nv50/xv: add support for depth 30 xv output
...NV50_SURFACE_FORMAT_BGRX8_UNORM); break;
case 16: PUSH_DATA (push, NV50_SURFACE_FORMAT_B5G6R5_UNORM); break;
case 15: PUSH_DATA (push, NV50_SURFACE_FORMAT_BGR5_X1_UNORM); break;
diff --git a/src/nvc0_xv.c b/src/nvc0_xv.c
index 5cecbf5..8842148 100644
--- a/src/nvc0_xv.c
+++ b/src/nvc0_xv.c
@@ -89,8 +89,9 @@ nvc0_xv_image_put(ScrnInfoPtr pScrn,
PUSH_DATA (push, dst->offset);
PUSH_DATA (push, ppix->drawable.width);
PUSH_DATA (push, ppix->drawable.height);
- switch (ppix->drawable.bitsPerPixel) {
+ switch (ppix->drawable.depth) {
case 32: PUSH_DATA (push, NV50_SURFACE_FO...
2009 Aug 11
1
[PATCH libguestfs] daemon/ls: make do_ll require root, like all the rest
...nce 'ls' won't necessarily exist in the chroot). This
+ * command is not meant for serious use anyway, just for quick
+ * interactive sessions. For the same reason, you can also "escape"
+ * the sysroot (eg. 'll /..').
+ */
+
char *
do_ll (char *path)
{
@@ -81,15 +89,9 @@ do_ll (char *path)
char *out, *err;
char *spath;
- //NEED_ROOT
+ NEED_ROOT (NULL);
ABS_PATH (path, NULL);
- /* This exposes the /sysroot, because we can't chroot and run the ls
- * command (since 'ls' won't necessarily exist in the chroot). This
- * command i...
2013 Apr 11
1
[PATCH] vhost_net: remove tx polling state
...RX, sock->file);
- return ret;
+ return vhost_poll_start(poll, sock->file);
}
static struct socket *vhost_net_stop_vq(struct vhost_net *n,
diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c
index 9759249..4eecdb8 100644
--- a/drivers/vhost/vhost.c
+++ b/drivers/vhost/vhost.c
@@ -89,6 +89,9 @@ int vhost_poll_start(struct vhost_poll *poll, struct file *file)
unsigned long mask;
int ret = 0;
+ if (poll->wqh)
+ return 0;
+
mask = file->f_op->poll(file, &poll->table);
if (mask)
vhost_poll_wakeup(&poll->wait, 0, 0, (void *)mask);
--
1.7.1
2013 Apr 11
1
[PATCH] vhost_net: remove tx polling state
...RX, sock->file);
- return ret;
+ return vhost_poll_start(poll, sock->file);
}
static struct socket *vhost_net_stop_vq(struct vhost_net *n,
diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c
index 9759249..4eecdb8 100644
--- a/drivers/vhost/vhost.c
+++ b/drivers/vhost/vhost.c
@@ -89,6 +89,9 @@ int vhost_poll_start(struct vhost_poll *poll, struct file *file)
unsigned long mask;
int ret = 0;
+ if (poll->wqh)
+ return 0;
+
mask = file->f_op->poll(file, &poll->table);
if (mask)
vhost_poll_wakeup(&poll->wait, 0, 0, (void *)mask);
--
1.7.1
2017 Feb 16
2
Issue with ssh-keygen
On Fri, Feb 17, 2017 at 09:28:52AM +1100, Darren Tucker wrote:
[...]
> so yeah, ssh-keygen should have probably errored out "unsupported key type".
diff --git a/sshkey.c b/sshkey.c
index 4768790..f45e239 100644
--- a/sshkey.c
+++ b/sshkey.c
@@ -89,7 +89,9 @@ static const struct keytype keytypes[] = {
{ "ssh-ed25519-cert-v01 at openssh.com", "ED25519-CERT",
KEY_ED25519_CERT, 0, 1 },
#ifdef WITH_OPENSSL
+# ifdef WITH_SSH1
{ NULL, "RSA1", KEY_RSA1, 0, 0 },
+# endif
{ "ssh-rsa", "RSA"...
2004 Dec 14
0
[LLVMdev] misc. patches
...=========================================================
> RCS file: /var/cvs/llvm/llvm/include/llvm/Value.h,v
> retrieving revision 1.66
> diff -u -r1.66 Value.h
> --- include/llvm/Value.h 27 Oct 2004 16:14:47 -0000 1.66
> +++ include/llvm/Value.h 6 Dec 2004 11:24:02 -0000
> @@ -89,8 +89,9 @@
> //
> typedef UseListIteratorWrapper use_iterator;
> typedef UseListConstIteratorWrapper use_const_iterator;
> + typedef iplist<Use>::size_type size_type;
>
> - unsigned use_size() const { return Uses.size(); }
> + size_type...
2018 Feb 04
1
[PATCH 1/2] dri3: remove bogus condition for creating pixmap
Not clear what the depth % 8 was trying to protect against, but it was
breaking 30bpp visuals with DRI3. Add it in to ensure that bitsPerPixel
% 8 is 0, since there is plenty of bpp/8 math in the driver.
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
src/nouveau_dri2.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c
2004 Dec 13
6
[LLVMdev] misc. patches
Hi,
here are some minor patches that for various reasons I've not submitted
yet - I'm just trying to clear my list of differences before christmas...
First of all the clear.patch file contains a patch that enables the JIT
to drop all global mappings. I need this because when I have N threads I
compile N different versions of my functions using different memory
areas for global
2009 Feb 10
2
[PATCHS] Included 3 patches that updates documentation
...ersion
<Ctrl-W> erase one word
<Ctrl-X> force text mode
+<Tab> list matching labels
<F1>..<F12> help screens (if configured)
<Ctrl-F><digit> equivalent to F1..F10
<Ctrl-C> interrupt boot in progress
--
1.6.0.6
>From 6ddca7cb43c683a9fdacf9d9d899771e8e372f54 Mon Sep 17 00:00:00 2001
From: Vicente Jimenez Aguilar <googuy at gmail.com>
Date: Tue, 10 Feb 2009 20:50:52 +0100
Subject: [PATCH] Documented Ctrl-N keystroke from PXELINUX
---
doc/pxelinux.txt | 3 +++
doc/syslinux.txt | 1 +
2 files changed, 4 insertions(+), 0 deletion...
2020 Feb 26
0
Re: [PATCH] lib: command: switch from select() to poll()
...r it.
> ---
> lib/command.c | 54 ++++++++++++++++++++++++++++++++++-----------------
> 1 file changed, 36 insertions(+), 18 deletions(-)
>
> diff --git a/lib/command.c b/lib/command.c
> index f2161de9a..13b084934 100644
> --- a/lib/command.c
> +++ b/lib/command.c
> @@ -89,9 +89,8 @@
> #include <signal.h>
> #include <errno.h>
> #include <assert.h>
> -#include <sys/types.h>
> #include <sys/stat.h>
> -#include <sys/select.h>
> +#include <poll.h>
>
> #ifdef HAVE_SYS_TIME_H
> #include <sys...