search for: 23,12

Displaying 20 results from an estimated 95 matches for "23,12".

Did you mean: 20,12
2019 Jul 10
2
[PATCH] virtio_pmem: fix sparse warning
...include/uapi/linux/virtio_pmem.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/virtio_pmem.h b/include/uapi/linux/virtio_pmem.h index efcd72f2d20d..f89129bf1f84 100644 --- a/include/uapi/linux/virtio_pmem.h +++ b/include/uapi/linux/virtio_pmem.h @@ -23,12 +23,12 @@ struct virtio_pmem_config { struct virtio_pmem_resp { /* Host return status corresponding to flush request */ - __u32 ret; + __virtio32 ret; }; struct virtio_pmem_req { /* command type */ - __u32 type; + __virtio32 type; }; #endif -- 2.20.1
2019 Jul 10
2
[PATCH] virtio_pmem: fix sparse warning
...include/uapi/linux/virtio_pmem.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/virtio_pmem.h b/include/uapi/linux/virtio_pmem.h index efcd72f2d20d..f89129bf1f84 100644 --- a/include/uapi/linux/virtio_pmem.h +++ b/include/uapi/linux/virtio_pmem.h @@ -23,12 +23,12 @@ struct virtio_pmem_config { struct virtio_pmem_resp { /* Host return status corresponding to flush request */ - __u32 ret; + __virtio32 ret; }; struct virtio_pmem_req { /* command type */ - __u32 type; + __virtio32 type; }; #endif -- 2.20.1
2019 Jul 10
2
[PATCH v2] virtio_pmem: fix sparse warning
...ux/virtio_pmem.h +++ b/include/uapi/linux/virtio_pmem.h @@ -10,7 +10,7 @@ #ifndef _UAPI_LINUX_VIRTIO_PMEM_H #define _UAPI_LINUX_VIRTIO_PMEM_H -#include <linux/types.h> +#include <linux/virtio_types.h> #include <linux/virtio_ids.h> #include <linux/virtio_config.h> @@ -23,12 +23,12 @@ struct virtio_pmem_config { struct virtio_pmem_resp { /* Host return status corresponding to flush request */ - __u32 ret; + __virtio32 ret; }; struct virtio_pmem_req { /* command type */ - __u32 type; + __virtio32 type; }; #endif -- 2.20.1
2019 Jul 10
2
[PATCH v2] virtio_pmem: fix sparse warning
...ux/virtio_pmem.h +++ b/include/uapi/linux/virtio_pmem.h @@ -10,7 +10,7 @@ #ifndef _UAPI_LINUX_VIRTIO_PMEM_H #define _UAPI_LINUX_VIRTIO_PMEM_H -#include <linux/types.h> +#include <linux/virtio_types.h> #include <linux/virtio_ids.h> #include <linux/virtio_config.h> @@ -23,12 +23,12 @@ struct virtio_pmem_config { struct virtio_pmem_resp { /* Host return status corresponding to flush request */ - __u32 ret; + __virtio32 ret; }; struct virtio_pmem_req { /* command type */ - __u32 type; + __virtio32 type; }; #endif -- 2.20.1
2006 Mar 02
4
Skip last NA's?
I wonder if anyone could help me find an expression for skipping the last missing values in a vector? The kind of material I have is something like x<-c(23,12,NA,23,24,21,NA,NA,NA) I would like to skip the last NA's, but not the ones in between other vallues. Any hints? (Why not do this by simply take x[1:6]? I have several vectors a couple of thousand observations long with varying numbers of NA's in the end. I'd prefer not to search thr...
2019 Jul 12
2
[PATCH v3] virtio_pmem: fix sparse warning
...v, req_data->resp.ret); + err = le32_to_cpu(req_data->resp.ret); } kfree(req_data); diff --git a/include/uapi/linux/virtio_pmem.h b/include/uapi/linux/virtio_pmem.h index efcd72f2d20d..9a63ed6d062f 100644 --- a/include/uapi/linux/virtio_pmem.h +++ b/include/uapi/linux/virtio_pmem.h @@ -23,12 +23,12 @@ struct virtio_pmem_config { struct virtio_pmem_resp { /* Host return status corresponding to flush request */ - __u32 ret; + __le32 ret; }; struct virtio_pmem_req { /* command type */ - __u32 type; + __le32 type; }; #endif -- 2.14.5
2019 Jul 12
2
[PATCH v3] virtio_pmem: fix sparse warning
...v, req_data->resp.ret); + err = le32_to_cpu(req_data->resp.ret); } kfree(req_data); diff --git a/include/uapi/linux/virtio_pmem.h b/include/uapi/linux/virtio_pmem.h index efcd72f2d20d..9a63ed6d062f 100644 --- a/include/uapi/linux/virtio_pmem.h +++ b/include/uapi/linux/virtio_pmem.h @@ -23,12 +23,12 @@ struct virtio_pmem_config { struct virtio_pmem_resp { /* Host return status corresponding to flush request */ - __u32 ret; + __le32 ret; }; struct virtio_pmem_req { /* command type */ - __u32 type; + __le32 type; }; #endif -- 2.14.5
2009 Sep 19
3
graphing help
Hello: I am very new to "R", and I am trying to plot a large data set. I would like to get a line graph. My data looks like this in a csv file (no header): 07/03/23,05:00,23 07/03/23,06:00,32 07/03/23,07:00,33 07/03/23,08:00,25 07/03/23,09:00,26 07/03/23,10:00,21 07/03/23,11:00,23 07/03/23,12:00,24 07/03/23,13:00,25 07/03/23,14:00,29 07/03/23,15:00,23 07/03/23,16:00,23 TIA
2019 Jan 17
1
[hivex PATCH] ruby: improve test functions
...alues(node).find { |v| h.value_key(v) == "symbols $£₤₧€" } - assert value != nil + refute_nil(value) end end diff --git a/ruby/tests/tc_200_write.rb b/ruby/tests/tc_200_write.rb index 327d0a8..463283e 100644 --- a/ruby/tests/tc_200_write.rb +++ b/ruby/tests/tc_200_write.rb @@ -23,12 +23,12 @@ class TestWrite < MiniTest::Unit::TestCase refute_nil (h) root = h.root() - assert (root) + refute_nil (root) h.node_add_child(root, "A") h.node_add_child(root, "B") b = h.node_get_child(root, "B") - assert (b) +...
2019 Jul 11
0
[PATCH] virtio_pmem: fix sparse warning
....h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/include/uapi/linux/virtio_pmem.h b/include/uapi/linux/virtio_pmem.h > index efcd72f2d20d..f89129bf1f84 100644 > --- a/include/uapi/linux/virtio_pmem.h > +++ b/include/uapi/linux/virtio_pmem.h > @@ -23,12 +23,12 @@ struct virtio_pmem_config { > > struct virtio_pmem_resp { > /* Host return status corresponding to flush request */ > - __u32 ret; > + __virtio32 ret; > }; > > struct virtio_pmem_req { > /* command type */ > - __u32 type; > + __virtio32 type;...
2019 Jul 11
0
[PATCH v2] virtio_pmem: fix sparse warning
...mem.h > @@ -10,7 +10,7 @@ > #ifndef _UAPI_LINUX_VIRTIO_PMEM_H > #define _UAPI_LINUX_VIRTIO_PMEM_H > > -#include <linux/types.h> > +#include <linux/virtio_types.h> > #include <linux/virtio_ids.h> > #include <linux/virtio_config.h> > > @@ -23,12 +23,12 @@ struct virtio_pmem_config { > > struct virtio_pmem_resp { > /* Host return status corresponding to flush request */ > - __u32 ret; > + __virtio32 ret; > }; > > struct virtio_pmem_req { > /* command type */ > - __u32 type; > + __virtio32 type;...
2019 Jul 12
0
[PATCH v3] virtio_pmem: fix sparse warning
..._to_cpu(req_data->resp.ret); > } > > kfree(req_data); > diff --git a/include/uapi/linux/virtio_pmem.h b/include/uapi/linux/virtio_pmem.h > index efcd72f2d20d..9a63ed6d062f 100644 > --- a/include/uapi/linux/virtio_pmem.h > +++ b/include/uapi/linux/virtio_pmem.h > @@ -23,12 +23,12 @@ struct virtio_pmem_config { > > struct virtio_pmem_resp { > /* Host return status corresponding to flush request */ > - __u32 ret; > + __le32 ret; > }; > > struct virtio_pmem_req { > /* command type */ > - __u32 type; > + __le32 type; > }...
2012 Sep 21
1
[PATCH] sysprep: handle at jobs in cron-spool operation
...p/sysprep_operation_cron_spool.ml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sysprep/sysprep_operation_cron_spool.ml b/sysprep/sysprep_operation_cron_spool.ml index 5284660..e96832c 100644 --- a/sysprep/sysprep_operation_cron_spool.ml +++ b/sysprep/sysprep_operation_cron_spool.ml @@ -23,6 +23,12 @@ module G = Guestfs let cron_spool_perform g root = Array.iter g#rm_rf (g#glob_expand "/var/spool/cron/*"); + Array.iter g#rm (g#glob_expand "/var/spool/atjobs/*"); + Array.iter g#rm (g#glob_expand "/var/spool/atjobs/.SEQ"); + Array.iter g#rm (g#glo...
2020 Apr 08
2
[PATCH 1/3] target/mips: Support variable page size
...ygoat.com> Signed-off-by: Huacai Chen <chenhc at lemote.com> --- target/mips/cpu-param.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/target/mips/cpu-param.h b/target/mips/cpu-param.h index 308660d..9c4a6ea 100644 --- a/target/mips/cpu-param.h +++ b/target/mips/cpu-param.h @@ -23,7 +23,12 @@ # define TARGET_VIRT_ADDR_SPACE_BITS 32 #endif #endif +#ifdef CONFIG_USER_ONLY #define TARGET_PAGE_BITS 12 +#else +#define TARGET_PAGE_BITS_VARY +#define TARGET_PAGE_BITS_MIN 12 +#endif #define NB_MMU_MODES 4 #endif -- 2.7.0
1998 Apr 22
0
Patch for print_svid.c
...access to other System V based systems. I don't know if this list is the appropriate place to post patches; if it is not, please let me know. Bye, N. Pueschel -------------- next part -------------- --- print_svid.c.orig Thu Jan 29 20:43:59 1998 +++ print_svid.c Mon Mar 30 07:41:19 1998 @@ -23,12 +23,11 @@ * printer information on a SVID or XPG4 compliant system. It does this * through the use of the SVID/XPG4 command "lpstat(1)". * - * The expectations is that execution of the command "lpstat -v" will + * The expectations is that execution of the command &quot...
2014 Apr 15
0
[klibc:master] readlink: Better buffer handling
...100644 --- a/usr/utils/readlink.c +++ b/usr/utils/readlink.c @@ -13,8 +13,9 @@ static __noreturn usage(void) int main(int argc, char *argv[]) { - char *name, *link_name = NULL; - size_t max_siz = 128; + const char *name; + char link_name[PATH_MAX]; + int rv; progname = *argv++; @@ -22,15 +23,12 @@ int main(int argc, char *argv[]) if (!name) usage(); - link_name = malloc(max_siz); - if (!link_name) { - perror("malloc"); + rv = readlink(name, link_name, sizeof link_name - 1); + if (rv < 0) { + perror(name); exit(1); } - - if (readlink(name, link_name, max_siz)...
2009 Jul 07
1
[PATCH] Set up ovirt-agent so it starts as a daemon
...}/ovirt-agent %{_initrddir}/ovirt-host-collect %{_initrddir}/ovirt-mongrel-rails %{_initrddir}/ovirt-taskomatic diff --git a/src/ovirt-agent/ovirt-agent.rb b/src/ovirt-agent/ovirt-agent.rb index ae55e3f..62834b0 100755 --- a/src/ovirt-agent/ovirt-agent.rb +++ b/src/ovirt-agent/ovirt-agent.rb @@ -23,6 +23,12 @@ require 'ovirt/controllers/task_controller' include Daemonize +class Logger + def format_message(severity, timestamp, progname, msg) + "#{severity} #{timestamp} (#{$$}) #{msg}\n" + end +end + # Monkey patch class Qmf::SchemaObjectClass attr_reader :id @@...
2013 Aug 16
0
Build fixes for pkg-xen svn
...xen.git tree. We get this from the system. diff --git a/xen/debian/patches/qemu-without-blktap1.patch b/xen/debian/patches/qemu-without-blktap1.patch new file mode 100644 index 0000000..9a3526f --- /dev/null +++ b/xen/debian/patches/qemu-without-blktap1.patch @@ -0,0 +1,83 @@ +From 84411871262363200e70fa087d7b21647091a450 Mon Sep 17 00:00:00 2001 +From: Ian Campbell <ian.campbell at citrix.com> +Date: Wed, 31 Jul 2013 16:16:16 +0100 +Subject: [PATCH] qemu-xen-traditional: allow build without blktap1 + +I intend this to become optional at the xen build level so it needs to become +op...
2007 Mar 21
0
[907] branches/wxruby2/wxwidgets_282: Wx::Control API 2.6 -> 2.8
...bsp&nbsp&nbsp&nbsp&nbsp&nbsp2007-03-21 10:43:28 UTC (rev 906) +++ branches/wxruby2/wxwidgets_282/doc/textile/control.txtl&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp2007-03-21 10:50:01 UTC (rev 907) </span><span class="lines">@@ -23,12 +23,11 @@ </span><span class="cx"> </span><span class="cx"> * "Control#command":#Control_command </span><span class="cx"> * "Control#get_label":#Control_getlabel </span><ins>+* "Control#get_la...
2013 Nov 26
0
[PATCH char-misc-linus 5/5] misc: mic: Fix user space namespace pollution from mic_common.h.
...MIC_DP_SIZE - mic_total_desc_size(dd_config); i += mic_total_desc_size(devp)) { devp = mdev->dp + i; diff --git a/include/uapi/linux/mic_common.h b/include/uapi/linux/mic_common.h index ca70a50..068f55d 100644 --- a/include/uapi/linux/mic_common.h +++ b/include/uapi/linux/mic_common.h @@ -23,12 +23,7 @@ #include <linux/virtio_ring.h> -#ifndef __KERNEL__ -#define ALIGN(a, x) (((a) + (x) - 1) & ~((x) - 1)) -#define __aligned(x) __attribute__ ((aligned(x))) -#endif - -#define mic_aligned_size(x) ALIGN(sizeof(x), 8) +#define MIC_ALIGN(a, x) (((a) + (x) - 1) & ~((x) - 1))...