Displaying 20 results from an estimated 648 matches for "36,6".
Did you mean:
3,6
2020 Jul 07
2
[nbdkit PATCH] RFC tests: Avoid odd test behavior under NDEBUG
...dkit disables assertions */
#include <assert.h>
#include "ascii-string.h"
diff --git a/common/include/test-byte-swapping.c b/common/include/test-byte-swapping.c
index e95a17db..a5e61a1f 100644
--- a/common/include/test-byte-swapping.c
+++ b/common/include/test-byte-swapping.c
@@ -36,6 +36,7 @@
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
+#undef NDEBUG /* We want the test to fail even if nbdkit disables assertions */
#include <assert.h>
#include "byte-swapping.h"
diff --git a/common/include/test-current-dir-name.c b/common...
2020 Jul 07
0
Re: [nbdkit PATCH] RFC tests: Avoid odd test behavior under NDEBUG
...de <assert.h>
>
> #include "ascii-string.h"
> diff --git a/common/include/test-byte-swapping.c b/common/include/test-byte-swapping.c
> index e95a17db..a5e61a1f 100644
> --- a/common/include/test-byte-swapping.c
> +++ b/common/include/test-byte-swapping.c
> @@ -36,6 +36,7 @@
> #include <stdlib.h>
> #include <stdint.h>
> #include <string.h>
> +#undef NDEBUG /* We want the test to fail even if nbdkit disables assertions */
> #include <assert.h>
>
> #include "byte-swapping.h"
> diff --git a/common/...
2018 May 03
1
[PATCH 14/15] drm/virtio: Remove unecessary dma_fence_ops
.../drm/virtio/virtgpu_fence.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/drivers/gpu/drm/virtio/virtgpu_fence.c b/drivers/gpu/drm/virtio/virtgpu_fence.c
index 23353521f903..00c742a441bf 100644
--- a/drivers/gpu/drm/virtio/virtgpu_fence.c
+++ b/drivers/gpu/drm/virtio/virtgpu_fence.c
@@ -36,11 +36,6 @@ static const char *virtio_get_timeline_name(struct dma_fence *f)
return "controlq";
}
-static bool virtio_enable_signaling(struct dma_fence *f)
-{
- return true;
-}
-
static bool virtio_signaled(struct dma_fence *f)
{
struct virtio_gpu_fence *fence = to_virtio_fence(f...
2004 Apr 27
1
Fedora 1 RPM Packages
...e,
like, plr (the postgresql library that calls R) needs the shared lib.
Any chance that we can change the R.spec file to include:
[iwallace at localhost SPECS]$ diff -bu R.spec R.spec.orig
--- R.spec 2004-04-27 15:31:51.000000000 -0600
+++ R.spec.orig 2004-04-27 15:31:39.000000000 -0600
@@ -36,7 +36,6 @@
%build
export R_BROWSER="/usr/bin/mozilla"
( %configure \
- --enable-R-shlib \
--with-tcl-config=%{_libdir}/tclConfig.sh \
--with-tk-config=%{_libdir}/tkConfig.sh ) \
| egrep '^R is now|^ |^$' - > CAPABILITIES
I'm not sure if there are other is...
2014 May 09
1
[PATCH] drm/gk20a/fb: fix NULL dereference
...le changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/nouveau/core/subdev/fb/ramgk20a.c b/drivers/gpu/drm/nouveau/core/subdev/fb/ramgk20a.c
index 403c88f07b99..7effd1a63458 100644
--- a/drivers/gpu/drm/nouveau/core/subdev/fb/ramgk20a.c
+++ b/drivers/gpu/drm/nouveau/core/subdev/fb/ramgk20a.c
@@ -36,6 +36,8 @@ gk20a_ram_put(struct nouveau_fb *pfb, struct nouveau_mem **pmem)
int i;
*pmem = NULL;
+ if (unlikely(mem == NULL))
+ return;
for (i = 0; i < mem->size; i++) {
struct page *page;
--
1.9.2
2016 Apr 15
2
[PATCH 1/2] nouveau/bl: Assign different names to interfaces
...1 file changed, 33 insertions(+), 2 deletions(-)
> >
> > diff --git a/drm/nouveau/nouveau_backlight.c b/drm/nouveau/nouveau_backlight.c
> > index 89eb460..914e2cb 100644
> > --- a/drm/nouveau/nouveau_backlight.c
> > +++ b/drm/nouveau/nouveau_backlight.c
> > @@ -36,6 +36,10 @@
> > #include "nouveau_reg.h"
> > #include "nouveau_encoder.h"
> >
> > +static atomic_t bl_interfaces_nb = { 0 };
>
> static data is initialized to 0, this should be unnecessary.
I didn’t know that. But on the other hand, I like havin...
2020 Feb 20
1
[PATCH V3 1/5] vhost: factor out IOTLB
...om>
> ---
> MAINTAINERS | 1 +
> drivers/vhost/Kconfig | 7 ++
> drivers/vhost/Makefile | 2 +
> drivers/vhost/net.c | 2 +-
> drivers/vhost/vhost.c | 221 +++++++++++-------------------------
> drivers/vhost/vhost.h | 36 ++----
> drivers/vhost/vhost_iotlb.c | 171 ++++++++++++++++++++++++++++
> include/linux/vhost_iotlb.h | 45 ++++++++
> 8 files changed, 304 insertions(+), 181 deletions(-)
> create mode 100644 drivers/vhost/vhost_iotlb.c
> create mode 100644 include/linux/vhost_iotlb.h
>
Hi...
2019 Aug 02
1
[nbdkit PATCH] server: Restrict thread model when no atomic CLOEXEC
...in to parallel, and pushed.
docs/nbdkit-plugin.pod | 19 +++++++++++++++----
configure.ac | 1 +
common/utils/utils.c | 6 ++++--
server/plugins.c | 9 +++++++++
tests/test-parallel-file.sh | 3 +++
tests/test-parallel-nbd.sh | 5 ++++-
6 files changed, 36 insertions(+), 7 deletions(-)
diff --git a/docs/nbdkit-plugin.pod b/docs/nbdkit-plugin.pod
index fe9ada87..9510253f 100644
--- a/docs/nbdkit-plugin.pod
+++ b/docs/nbdkit-plugin.pod
@@ -942,8 +942,16 @@ C<NBDKIT_REGISTER_PLUGIN>). Additionally, a plugin may implement the
C<.thread_model&...
2020 Aug 13
2
[PATCH 01/20] drm/amdgpu: Introduce GEM object functions
Am 13.08.20 um 10:36 schrieb Thomas Zimmermann:
> GEM object functions deprecate several similar callback interfaces in
> struct drm_driver. This patch replaces the per-driver callbacks with
> per-instance callbacks in amdgpu. The only exception is gem_prime_mmap,
> which is non-trivial to convert.
>
>...
2018 Apr 11
3
[PATCH net-next 1/5] virtio: Add support for SCTP checksum offloading
...t;flags &= VIRTIO_NET_HDR_F_CSUM_NOT_INET;
> +
> return 0;
> }
>
> diff --git a/include/uapi/linux/virtio_net.h b/include/uapi/linux/virtio_net.h
> index 5de6ed3..3f279c8 100644
> --- a/include/uapi/linux/virtio_net.h
> +++ b/include/uapi/linux/virtio_net.h
> @@ -36,6 +36,7 @@
> #define VIRTIO_NET_F_GUEST_CSUM 1 /* Guest handles pkts w/ partial csum */
> #define VIRTIO_NET_F_CTRL_GUEST_OFFLOADS 2 /* Dynamic offload configuration. */
> #define VIRTIO_NET_F_MTU 3 /* Initial MTU advice */
> +#define VIRTIO_NET_F_SCTP_CSUM 4 /* SCTP checksum offloa...
2018 Apr 11
3
[PATCH net-next 1/5] virtio: Add support for SCTP checksum offloading
...t;flags &= VIRTIO_NET_HDR_F_CSUM_NOT_INET;
> +
> return 0;
> }
>
> diff --git a/include/uapi/linux/virtio_net.h b/include/uapi/linux/virtio_net.h
> index 5de6ed3..3f279c8 100644
> --- a/include/uapi/linux/virtio_net.h
> +++ b/include/uapi/linux/virtio_net.h
> @@ -36,6 +36,7 @@
> #define VIRTIO_NET_F_GUEST_CSUM 1 /* Guest handles pkts w/ partial csum */
> #define VIRTIO_NET_F_CTRL_GUEST_OFFLOADS 2 /* Dynamic offload configuration. */
> #define VIRTIO_NET_F_MTU 3 /* Initial MTU advice */
> +#define VIRTIO_NET_F_SCTP_CSUM 4 /* SCTP checksum offloa...
2018 Nov 22
1
[PATCH] Fix include for xattr.h
...if
#if HAVE_FUSE
-/* See <attr/xattr.h> */
+/* See <sys/xattr.h> */
#ifndef ENOATTR
#define ENOATTR ENODATA
#endif
diff --git a/m4/guestfs-libraries.m4 b/m4/guestfs-libraries.m4
index 095dd38bf43b..6b2e8db9456d 100644
--- a/m4/guestfs-libraries.m4
+++ b/m4/guestfs-libraries.m4
@@ -36,7 +36,6 @@ AC_DEFINE_UNQUOTED([host_cpu],["$host_cpu"],[Host architecture.])
dnl Headers.
AC_CHECK_HEADERS([\
- attr/xattr.h \
byteswap.h \
endian.h \
sys/endian.h \
--
2.19.1
2016 Apr 15
1
[PATCH 1/2] nouveau/bl: Assign different names to interfaces
...;> >
> >> > diff --git a/drm/nouveau/nouveau_backlight.c
> b/drm/nouveau/nouveau_backlight.c
> >> > index 89eb460..914e2cb 100644
> >> > --- a/drm/nouveau/nouveau_backlight.c
> >> > +++ b/drm/nouveau/nouveau_backlight.c
> >> > @@ -36,6 +36,10 @@
> >> > #include "nouveau_reg.h"
> >> > #include "nouveau_encoder.h"
> >> >
> >> > +static atomic_t bl_interfaces_nb = { 0 };
> >>
> >> static data is initialized to 0, this should be unnecessary.
>...
2013 Jul 15
3
[PATCH] xen/control: protect functions with CONFIG_HIBERNATE_CALLBACKS to avoid warning
...function]
Signed-off-by: Julien Grall <julien.grall@linaro.org>
---
drivers/xen/manage.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/xen/manage.c b/drivers/xen/manage.c
index 412b96c..7680276 100644
--- a/drivers/xen/manage.c
+++ b/drivers/xen/manage.c
@@ -36,6 +36,7 @@ enum shutdown_state {
/* Ignore multiple shutdown requests. */
static enum shutdown_state shutting_down = SHUTDOWN_INVALID;
+#ifdef CONFIG_HIBERNATE_CALLBACKS
struct suspend_info {
int cancelled;
unsigned long arg; /* extra hypercall argument */
@@ -63,7 +64,6 @@ static void xen...
2019 Jun 26
1
[PATCH 2/2] drm/bochs: fix framebuffer setup.
...VBE_DISPI_INDEX_X_OFFSET, vx);
bochs_dispi_write(bochs, VBE_DISPI_INDEX_Y_OFFSET, vy);
}
diff --git a/drivers/gpu/drm/bochs/bochs_kms.c b/drivers/gpu/drm/bochs/bochs_kms.c
index 5904eddc83a5..1f6aa11a1dc9 100644
--- a/drivers/gpu/drm/bochs/bochs_kms.c
+++ b/drivers/gpu/drm/bochs/bochs_kms.c
@@ -36,6 +36,7 @@ static void bochs_plane_update(struct bochs_device *bochs,
bochs_hw_setbase(bochs,
state->crtc_x,
state->crtc_y,
+ gbo->width,
gbo->bo.offset);
bochs_hw_setformat(bochs, state->fb->format);
}
--
2.18.1
2013 Aug 28
1
[PATCH 4/6] drm/nouveau: introduce NOUVEAU_GEM_TILE_WCUS
...ments[3];
> u32 busy_placements[3];
> struct ttm_bo_kmap_obj kmap;
> diff --git a/include/uapi/drm/nouveau_drm.h b/include/uapi/drm/nouveau_drm.h
> index 2a5769f..4948eee2 100644
> --- a/include/uapi/drm/nouveau_drm.h
> +++ b/include/uapi/drm/nouveau_drm.h
> @@ -36,6 +36,7 @@
> #define NOUVEAU_GEM_TILE_32BPP 0x00000002
> #define NOUVEAU_GEM_TILE_ZETA 0x00000004
> #define NOUVEAU_GEM_TILE_NONCONTIG 0x00000008
> +#define NOUVEAU_GEM_TILE_WCUS 0x00000010 /* write-combined, unsnooped */
>
> struct drm_nouveau_gem_info {...
2008 Jul 27
4
product of successive rows
Hi everyone,
I want to perform an operation on a matrx that outputs the product of
successive pairs of rows. For example: calculating the product between rows
1 & 2; 3 & 4; 5 & 6...etc.
Does anyone know of any readily available functions that can do this?
Thanks,
rcoder
--
View this message in context: http://www.nabble.com/product-of-successive-rows-tp18681259p18681259.html
2011 Dec 07
2
[PATCH RFC] virtio_blk: fix config handler race
...io_blk.c
+++ b/drivers/block/virtio_blk.c
@@ -4,6 +4,7 @@
#include <linux/blkdev.h>
#include <linux/hdreg.h>
#include <linux/module.h>
+#include <linux/mutex.h>
#include <linux/virtio.h>
#include <linux/virtio_blk.h>
#include <linux/scatterlist.h>
@@ -36,6 +37,12 @@ struct virtio_blk
/* Process context for config space updates */
struct work_struct config_work;
+ /* Lock for config space updates */
+ struct mutex config_lock;
+
+ /* enable config space updates */
+ bool config_enable;
+
/* What host tells us, plus 2 for header & tailer....
2011 Dec 07
2
[PATCH RFC] virtio_blk: fix config handler race
...io_blk.c
+++ b/drivers/block/virtio_blk.c
@@ -4,6 +4,7 @@
#include <linux/blkdev.h>
#include <linux/hdreg.h>
#include <linux/module.h>
+#include <linux/mutex.h>
#include <linux/virtio.h>
#include <linux/virtio_blk.h>
#include <linux/scatterlist.h>
@@ -36,6 +37,12 @@ struct virtio_blk
/* Process context for config space updates */
struct work_struct config_work;
+ /* Lock for config space updates */
+ struct mutex config_lock;
+
+ /* enable config space updates */
+ bool config_enable;
+
/* What host tells us, plus 2 for header & tailer....
2009 Sep 11
2
[PATCH] Add echo_daemon command
...rator.ml | 7 +++++
6 files changed, 121 insertions(+), 1 deletions(-)
create mode 100644 daemon/echo_daemon.c
create mode 100644 daemon/m4/stddef_h.m4
diff --git a/daemon/Makefile.am b/daemon/Makefile.am
index 83ee408..ae74699 100644
--- a/daemon/Makefile.am
+++ b/daemon/Makefile.am
@@ -36,6 +36,7 @@ guestfsd_SOURCES = \
dmesg.c \
dropcaches.c \
du.c \
+ echo_daemon.c \
ext2.c \
fallocate.c \
file.c \
diff --git a/daemon/echo_daemon.c b/daemon/echo_daemon.c
new file mode 100644
index 0000000..dbede2f
--- /dev/null
+++ b/daemon/echo_daemon.c
@@ -0,0 +1,66 @@
+/* libguestfs...