search for: 401,7

Displaying 20 results from an estimated 128 matches for "401,7".

Did you mean: 40,7
2015 Oct 21
2
[PATCH] v2v: use open_guestfs everywhere
...stfs () in g#set_identifier "vdsm_disk_create"; (* For qcow2, override v2v-supplied compat option, because RHEL 6 * nodes cannot handle qcow2 v3 (RHBZ#1145582). diff --git a/v2v/types.ml b/v2v/types.ml index a295172..038d259 100644 --- a/v2v/types.ml +++ b/v2v/types.ml @@ -401,7 +401,7 @@ class virtual output = object method virtual supported_firmware : target_firmware list method check_target_firmware (_ : guestcaps) (_ : target_firmware) = () method check_target_free_space (_ : source) (_ : target list) = () - method disk_create = (new Guestfs.guestfs ())#dis...
2013 Nov 27
0
[PATCH char-misc-linus v3 2/6] misc: mic: Minor bug fix in 'retry' loops.
...@@ -378,7 +378,7 @@ int mic_virtio_config_change(struct mic_vdev *mvdev, void __user *argp) { DECLARE_WAIT_QUEUE_HEAD_ONSTACK(wake); - int ret = 0, retry = 100, i; + int ret = 0, retry, i; struct mic_bootparam *bootparam = mvdev->mdev->dp; s8 db = bootparam->h2c_config_db; @@ -401,7 +401,7 @@ int mic_virtio_config_change(struct mic_vdev *mvdev, mvdev->dc->config_change = MIC_VIRTIO_PARAM_CONFIG_CHANGED; mvdev->mdev->ops->send_intr(mvdev->mdev, db); - for (i = retry; i--;) { + for (retry = 100; retry--;) { ret = wait_event_timeout(wake, mvdev-&g...
2009 Mar 06
4
rosh patch
...d = fdopendir(fd); - de = readdir(d); - while (de != NULL) { + while ( de = readdir(d) ) { #ifdef DO_DEBUG filestr2[0] = 0; file2pos = strlen(filestr); @@ -401,7 +400,6 @@ #ifdef DO_DEBUG // inchar = fgetc(stdin); #endif /* DO_DEBUG */ - de = readdir(d); } closedir(d); } else if (S_ISREG(fdstat.st_mode)) { @@ -419,8 +417,7 @@ d = opendi...
2002 Oct 23
2
vsnprintf()
...fix it, I think. Index: strfuncs.c =================================================================== RCS file: /home/cvs/dovecot/src/lib/strfuncs.c,v retrieving revision 1.14 diff -c -u -r1.14 strfuncs.c --- strfuncs.c 20 Oct 2002 03:19:10 -0000 1.14 +++ strfuncs.c 23 Oct 2002 11:19:39 -0000 @@ -401,7 +401,7 @@ va_end(args); t_pop(); - if (ret < 0) { + if (ret < 0 || ret >= max_chars) { str[max_chars-1] = '\0'; ret = strlen(str); } -- Thomas Wouters <thomas at xs4all.net> Hi! I'm a .signature virus! copy me into your .signature file to help me sprea...
2015 Oct 21
0
Re: [PATCH] v2v: use open_guestfs everywhere
...uot;vdsm_disk_create"; > (* For qcow2, override v2v-supplied compat option, because RHEL 6 > * nodes cannot handle qcow2 v3 (RHBZ#1145582). > diff --git a/v2v/types.ml b/v2v/types.ml > index a295172..038d259 100644 > --- a/v2v/types.ml > +++ b/v2v/types.ml > @@ -401,7 +401,7 @@ class virtual output = object > method virtual supported_firmware : target_firmware list > method check_target_firmware (_ : guestcaps) (_ : target_firmware) = () > method check_target_free_space (_ : source) (_ : target list) = () > - method disk_create = (new Gue...
2014 Nov 19
5
[PATCH v2 0/3] nouveau: support for custom VRAM domains
This series is to allow NVIDIA chips with shared memory to operate more efficiently (and to operate at all once we disable VRAM from the kernel driver) by allowing nouveau_screen to specify a domain to use for objects originally allocated into VRAM. If the domain is not overridden, the default NOUVEAU_BO_VRAM is used. A NV_VRAM_DOMAIN() macro is then introduced to be used in place of
2000 Feb 04
0
Patch that allows equal sign in options
...@ -378,7 +379,7 @@ case oUser: charptr = &options->user; parse_string: - cp = strtok(NULL, WHITESPACE); + cp = strtok(NULL, WHITESPACE_EQ); if (!cp) fatal("%.200s line %d: Missing argument.", filename, linenum); if (*activep && *charptr == NULL) @@ -400,7 +401,7 @@ case oProxyCommand: charptr = &options->proxy_command; string = xstrdup(""); - while ((cp = strtok(NULL, WHITESPACE)) != NULL) { + while ((cp = strtok(NULL, WHITESPACE_EQ)) != NULL) { string = xrealloc(string, strlen(string) + strlen(cp) + 2); strcat(string,...
2002 Feb 14
0
[Patch] Changes to openbsd.html
...bj @@ -377,7 +377,7 @@ To extract and install it on your OpenBSD 2.7 system:<br> <pre> # cd /usr/src/usr.bin -# tar xvfz .../openssh-2.3.0.tgz +# tar xvfz ../openssh-2.3.0.tgz # cd ssh comment 'CFLAGS+=-DHAVE_LOGIN_CAP' in sshd/Makefile, using a # character. # make obj @@ -401,7 +401,7 @@ To extract and install it on your OpenBSD 2.7 system:<br> <pre> # cd /usr/src/usr.bin -# tar xvfz .../openssh-2.2.0.tgz +# tar xvfz ../openssh-2.2.0.tgz # cd ssh comment 'CFLAGS+=-DHAVE_LOGIN_CAP' in sshd/Makefile, using a # character. # make obj @@ -421,7 +421...
2010 Jan 09
8
X-Forwarded-Proto / X_FORWARDED_PROTO
Eric, think I came across an issue with the parser in unicorn, with a request (due to 2 layers of nginx proxying) coming across with both a X_FORWARDED_PROTO and a X-Forwarded-Proto header. From the socket (in HttpRequest) - we get: X_FORWARDED_PROTO: http X-Forwarded-Proto: https which is parsed to HTTP_X_FORWARDED_PROTO"=>"http,https There was a passenger ticket that
2014 Dec 11
1
Re: [PATCH v2 01/11] daemon: btrfs: add helper functions mount and umount
...!= ENOENT) { > - reply_with_error ("rmdir: %m\n"); > - goto cmderror; > - } > - } > + if (umount (fs_buf, fs) != 0) > + return NULL; > > if (r == -1) { > CLEANUP_FREE char *fs_desc = mountable_to_string (fs); > @@ -401,7 +409,7 @@ do_btrfs_subvolume_list (const mountable_t *fs) > fprintf (stderr, "malloc: %m"); > } > reply_with_error ("%s: %s", fs_desc ? fs_desc : "malloc", errout); > - goto cmderror; > + return NULL; > } >...
1997 Nov 28
3
R-alpha: Problems with dimnames and names
...11:21:23 1997 @@ -390,7 +390,7 @@ } if(isNull(y)) { x = getAttrib(x, R_DimNamesSymbol); - if(!isNull(x) && !isNull(CADR(x))) { + if(ncx > 1 && !isNull(x) && !isNull(CADR(x))) { PROTECT(ind = allocList(2)); CAR(ind) = CADR(x); CADR(ind) = CADR(x); @@ -401,7 +401,7 @@ else { x = getAttrib(x, R_DimNamesSymbol); y = getAttrib(y, R_DimNamesSymbol); - if((!isNull(x) && !isNull(CADR(x))) || (!isNull(y) && !isNull(CADR(y)))) { + if((ncx > 1 && !isNull(x) && !isNull(CADR(x))) || ( ncy > 1 && !isNull(y)...
2004 Feb 04
3
[PATCH] Adding ocfs support to blkid
...t;LABEL", ovl.label, ocfslabellen(ovl)); + blkid_set_tag(dev, "MOUNT", ovh.mount, ocfsmountlen(ovh)); + set_uuid(dev, ovl.vol_id); + return 0; +} + /* * BLKID_BLK_OFFS is at least as large as the highest bim_kboff defined * in the type_array table below + bim_kbalign. @@ -371,6 +401,7 @@ { "swap", 0, 0x1ff6, 10, "SWAPSPACE2", 0 }, { "swap", 0, 0x3ff6, 10, "SWAP-SPACE", 0 }, { "swap", 0, 0x3ff6, 10, "SWAPSPACE2", 0 }, + { "ocfs2", 0, 8, 9, "OracleCFS", probe_ocfs }, { NULL,...
2014 Nov 19
0
[PATCH v2 2/3] nvc0: use NV_VRAM_DOMAIN() macro
...;base.domain = NOUVEAU_BO_GART; else - mt->base.domain = NOUVEAU_BO_VRAM; + mt->base.domain = NV_VRAM_DOMAIN(nouveau_screen(pscreen)); bo_flags = mt->base.domain | NOUVEAU_BO_NOSNOOP; if (mt->base.base.bind & (PIPE_BIND_CURSOR | PIPE_BIND_DISPLAY_TARGET)) @@ -401,7 +401,7 @@ nv50_miptree_from_handle(struct pipe_screen *pscreen, FREE(mt); return NULL; } - mt->base.domain = NOUVEAU_BO_VRAM; + mt->base.domain = NV_VRAM_DOMAIN(nouveau_screen(pscreen)); mt->base.address = mt->base.bo->offset; mt->base.base = *tem...
2014 Nov 19
1
[PATCH v2 2/3] nvc0: use NV_VRAM_DOMAIN() macro
...else > - mt->base.domain = NOUVEAU_BO_VRAM; > + mt->base.domain = NV_VRAM_DOMAIN(nouveau_screen(pscreen)); > > bo_flags = mt->base.domain | NOUVEAU_BO_NOSNOOP; > if (mt->base.base.bind & (PIPE_BIND_CURSOR | PIPE_BIND_DISPLAY_TARGET)) > @@ -401,7 +401,7 @@ nv50_miptree_from_handle(struct pipe_screen *pscreen, > FREE(mt); > return NULL; > } > - mt->base.domain = NOUVEAU_BO_VRAM; > + mt->base.domain = NV_VRAM_DOMAIN(nouveau_screen(pscreen)); > mt->base.address = mt->base.bo->off...
2016 Jan 08
2
Diff to add ARMv6L to Target parser
...swift stack. I’m considering creating a program that links to llvm to test the behavior. Index: lib/Support/TargetParser.cpp =================================================================== --- lib/Support/TargetParser.cpp (revision 257090) +++ lib/Support/TargetParser.cpp (working copy) @@ -401,6 +401,7 @@ .Case("v5", "v5t") .Case("v5e", "v5te") .Case("v6j", "v6") + .Case("v6l", "v6") .Case("v6hl", "v6k") .Cases("v6m", "v6sm", &quo...
2008 Jun 11
0
[PATCH] pci: fix off-by-one error and introduce MAX_PCI_FUNC
..._mkaddr(bus, dev, func, 0); did = pci_readl(a); @@ -374,7 +374,8 @@ hdrtype = pci_readb(a + 0x0e); if (hdrtype & 0x80) - maxfunc = 7; /* Multifunction device */ + /* Multifunction device */ + maxfunc = MAX_PCI_FUNC; rid = pci_readb(a + 0x08); sid = pci_readl(a + 0x2c); @@ -401,7 +402,7 @@ } /* Detecting pci buses that have pci devices connected */ - for (bus = 0; bus <= 0xff; bus++) { + for (bus = 0; bus < MAX_PCI_BUSES; bus++) { if (pci_bus_list->pci_bus[bus].pci_device_count > 0) { pci_bus_list->count++; } Index: syslinux-20080...
2019 May 20
0
[PATCH v7 11/12] x86/paravirt: Adapt assembly for PIE support
...+ #define paravirt_type(op) \ [paravirt_typenum] "i" (PARAVIRT_PATCH(op)), \ - [paravirt_opptr] "i" (&(pv_ops.op)) + [paravirt_opptr] paravirt_opptr_type (&(pv_ops.op)) #define paravirt_clobber(clobber) \ [paravirt_clobber] "i" (clobber) @@ -393,7 +401,7 @@ int paravirt_disable_iospace(void); */ #define PARAVIRT_CALL \ ANNOTATE_RETPOLINE_SAFE \ - "call *%c[paravirt_opptr];" + "call *%" paravirt_opptr_call "[paravirt_opptr];" /* * These macros are intended to wrap calls through one of the paravirt --...
2012 Oct 17
0
[PATCH] TODO: remove the already implemented yum cache clean feature
...agers cache is already implemented by sprep_operation_package_manager_cache.ml, so remove this TODO item. Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com> --- TODO | 1 - 1 file changed, 1 deletion(-) diff --git a/TODO b/TODO index d9dd1d3..44fee34 100644 --- a/TODO +++ b/TODO @@ -401,7 +401,6 @@ virt-sysprep ideas Kazuo Moriwaka adds: - - "yum clean all" (or the equivalent) to remove yum caches - swap devices (both of block device and file) should be wiped. This may good for security purpose, and size. I found virt-sparsify can clear swap partition. --...
2014 Dec 12
0
[PATCH v3 01/11] daemon: btrfs: add helper functions mount and umount
...- - if (rmdir (fs_buf) == -1 && errno != ENOENT) { - reply_with_error ("rmdir: %m\n"); - goto cmderror; - } - } + if (umount (fs_buf, fs) != 0) + return NULL; if (r == -1) { CLEANUP_FREE char *fs_desc = mountable_to_string (fs); @@ -401,7 +411,7 @@ do_btrfs_subvolume_list (const mountable_t *fs) fprintf (stderr, "malloc: %m"); } reply_with_error ("%s: %s", fs_desc ? fs_desc : "malloc", errout); - goto cmderror; + return NULL; } lines = split_lines (out); --...
2014 Dec 11
0
[PATCH v2 01/11] daemon: btrfs: add helper functions mount and umount
...- - if (rmdir (fs_buf) == -1 && errno != ENOENT) { - reply_with_error ("rmdir: %m\n"); - goto cmderror; - } - } + if (umount (fs_buf, fs) != 0) + return NULL; if (r == -1) { CLEANUP_FREE char *fs_desc = mountable_to_string (fs); @@ -401,7 +409,7 @@ do_btrfs_subvolume_list (const mountable_t *fs) fprintf (stderr, "malloc: %m"); } reply_with_error ("%s: %s", fs_desc ? fs_desc : "malloc", errout); - goto cmderror; + return NULL; } lines = split_lines (out); --...