search for: 496,7

Displaying 20 results from an estimated 129 matches for "496,7".

Did you mean: 49,7
2010 Mar 24
1
[PATCH] Allow persistance of empty config files in ovirt_store_config
...icardo Marin Matinata <matinata at br.ibm.com> --- scripts/ovirt-functions | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/scripts/ovirt-functions b/scripts/ovirt-functions index 482441a..cecb359 100644 --- a/scripts/ovirt-functions +++ b/scripts/ovirt-functions @@ -496,7 +496,7 @@ ovirt_store_config() { if $persist_it; then # skip if file does not exist or is empty - if [ ! -s "${filename}" ]; then + if [ ! -e "${filename}" ]; then printf " Skipping, file &...
2013 Oct 08
1
[PATCH] Remove dead code
...k/float/pitch_analysis_core_FLP.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/silk/float/pitch_analysis_core_FLP.c b/silk/float/pitch_analysis_core_FLP.c index 605ea25..b6bafe8 100644 --- a/silk/float/pitch_analysis_core_FLP.c +++ b/silk/float/pitch_analysis_core_FLP.c @@ -496,7 +496,7 @@ static void silk_P_Ana_calc_corr_st3( opus_int complexity /* I Complexity setting */ ) { - const silk_float *target_ptr, *basis_ptr; + const silk_float *target_ptr; opus_int i, j, k, lag_counter, lag_low...
2009 Apr 10
2
[RESEND][PATCH] gpllib: dmi: set default memory speed to "Unknown"
...ing to "Unknown" for older versions. - Sebastian Index: syslinux-3.74-20-g3b80c26/com32/gpllib/dmi/dmi.c =================================================================== --- syslinux-3.74-20-g3b80c26.orig/com32/gpllib/dmi/dmi.c +++ syslinux-3.74-20-g3b80c26/com32/gpllib/dmi/dmi.c @@ -496,6 +496,7 @@ void dmi_decode(struct dmi_header *h, ui if (h->length < 0x15) break; dmi->memory_count++; s_memory *mem = &dmi->memory[dmi->memory_count-1]; + sprintf(mem->speed, "%s", "Unknown"); dmi->memory[dmi->m...
2018 Aug 10
2
[PATCH] Change wording from "twice" to "more than once" in error messages
...an once\\n\"),\n"; pr " cmd, this_arg);\n"; pr " goto out;\n"; pr " }\n"; diff --git a/generator/perl.ml b/generator/perl.ml index 5fa00a92d..cd0595640 100644 --- a/generator/perl.ml +++ b/generator/perl.ml @@ -496,7 +496,7 @@ PREINIT: ) optargs; pr "croak (\"unknown optional argument '%%s'\", this_arg);\n"; pr " if (optargs_s.bitmask & this_mask)\n"; - pr " croak (\"optional argument '%%s' given twic...
2020 Jan 09
0
[PATCH 5/7] python: replace guestfs_int_py_fromstringsize in Py2 branches
...; value = guestfs_int_py_fromstringsize (%s->%s, %s->%s_len);\n" + pr " value = PyString_FromStringAndSize (%s->%s, %s->%s_len);\n" typ name typ name; pr "#endif\n"; pr " if (value == NULL)\n"; @@ -496,7 +496,7 @@ and generate_python_actions actions () = pr "#if PY_MAJOR_VERSION >= 3\n"; pr " py_r = PyBytes_FromStringAndSize (r, size);\n"; pr "#else\n"; - pr " py_r = guestfs_int_py_fromstringsize (r, size);\n&qu...
2018 Jan 11
1
[PATCH 1/2] drm/nouveau: Remove redundant _get
...nce.c @@ -426,7 +426,7 @@ nouveau_fence_new(struct nouveau_channel *chan, bool sysmem, return ret; } -static const char *nouveau_fence_get_get_driver_name(struct dma_fence *fence) +static const char *nouveau_fence_get_driver_name(struct dma_fence *fence) { return "nouveau"; } @@ -496,7 +496,7 @@ static void nouveau_fence_release(struct dma_fence *f) } static const struct dma_fence_ops nouveau_fence_ops_legacy = { - .get_driver_name = nouveau_fence_get_get_driver_name, + .get_driver_name = nouveau_fence_get_driver_name, .get_timeline_name = nouveau_fence_get_timeline_name,...
2012 Feb 16
5
[Patches][nouveau/kms]: Precise Vblank and pageflip timestamping v2
Just updated versions of the patches send by Mario Kleiner. This ones are rebased on top of the nouveau tree and updated according to the review feedback. Regards, Lucas
2018 Aug 01
0
[PATCH v2 nbdkit 3/6] filters: Print filter name in debugging messages.
...on_get_handle (conn, f->backend.i); struct b_conn nxdata = { .b = f->backend.next, .conn = conn }; - debug ("can_zero"); + debug ("%s: can_zero", f->name); if (f->filter.can_zero) return f->filter.can_zero (&next_ops, &nxdata, handle); @@ -496,7 +496,7 @@ filter_can_fua (struct backend *b, struct connection *conn) void *handle = connection_get_handle (conn, f->backend.i); struct b_conn nxdata = { .b = f->backend.next, .conn = conn }; - debug ("can_fua"); + debug ("%s: can_fua", f->name); if (f-...
2015 Jan 15
3
[RFC] virtio-mmio: Update the device to OASIS spec version
...ture devices (e.g. when we update balloon for 1.0) > and they not do the right thing. I'm not following you, but I admit I haven't though this problem thoroughly. If you can volunteer an example of things going on, it would be useful. Either way, I'll think about it again. > @@ -496,7 +531,8 @@ static int virtio_mmio_remove(struct platform_device *pdev) > > { > > struct virtio_mmio_device *vm_dev = platform_get_drvdata(pdev); > > > > - unregister_virtio_device(&vm_dev->vdev); > > + if (vm_dev) > > + unregist...
2015 Jan 15
3
[RFC] virtio-mmio: Update the device to OASIS spec version
...ture devices (e.g. when we update balloon for 1.0) > and they not do the right thing. I'm not following you, but I admit I haven't though this problem thoroughly. If you can volunteer an example of things going on, it would be useful. Either way, I'll think about it again. > @@ -496,7 +531,8 @@ static int virtio_mmio_remove(struct platform_device *pdev) > > { > > struct virtio_mmio_device *vm_dev = platform_get_drvdata(pdev); > > > > - unregister_virtio_device(&vm_dev->vdev); > > + if (vm_dev) > > + unregist...
2020 Feb 12
0
[PATCH nbdkit 2/3] server: Rename ‘struct b_conn_handle’ to plain ‘struct handle’.
...5,7 @@ backend_pread (struct backend *b, uint32_t flags, int *err) { GET_CONN; - struct b_conn_handle *h = &conn->handles[b->i]; + struct handle *h = get_handle (conn, b->i); int r; assert (h->handle && (h->state & HANDLE_CONNECTED)); @@ -496,7 +496,7 @@ backend_pwrite (struct backend *b, uint32_t flags, int *err) { GET_CONN; - struct b_conn_handle *h = &conn->handles[b->i]; + struct handle *h = get_handle (conn, b->i); bool fua = !!(flags & NBDKIT_FLAG_FUA); int r; @@ -520,7 +520,7 @@ bac...
2015 Jan 15
2
[RFC] virtio-mmio: Update the device to OASIS spec version
...- just get features on probe and validate VIRTIO_1 > bit is set. > > s390 does it differently since same device supports version 1 and 0. > No example yet - I forgot to code this up for virtio pci. I'll copy you > on patch. Ok, will have a look. > > > @@ -496,7 +531,8 @@ static int virtio_mmio_remove(struct platform_device *pdev) > > > > { > > > > struct virtio_mmio_device *vm_dev = platform_get_drvdata(pdev); > > > > > > > > - unregister_virtio_device(&vm_dev->vdev); > > > >...
2015 Jan 15
2
[RFC] virtio-mmio: Update the device to OASIS spec version
...- just get features on probe and validate VIRTIO_1 > bit is set. > > s390 does it differently since same device supports version 1 and 0. > No example yet - I forgot to code this up for virtio pci. I'll copy you > on patch. Ok, will have a look. > > > @@ -496,7 +531,8 @@ static int virtio_mmio_remove(struct platform_device *pdev) > > > > { > > > > struct virtio_mmio_device *vm_dev = platform_get_drvdata(pdev); > > > > > > > > - unregister_virtio_device(&vm_dev->vdev); > > > >...
2003 Nov 27
2
Question about adding another parameter for OpenSSH
...o openssh development tree like these, so that standard behavior of ssh is not changed, but when option GroupPrivateKey is used with ssh, it is allowed to have group readable private key? Thank you very much. --- authfile.c.orig Thu Nov 27 15:01:01 2003 +++ authfile.c Thu Nov 27 16:50:39 2003 @@ -496,7 +496,7 @@ } static int -key_perm_ok(int fd, const char *filename) +key_perm_ok(int fd, const char *filename, int group_private_key) { struct stat st; @@ -510,7 +510,10 @@ #ifdef HAVE_CYGWIN if (check_ntsec(filename)) #endif - if ((st.st_uid == getuid()) && (st.st_mode & 0...
2015 Jan 15
2
[RFC] virtio-mmio: Update the device to OASIS spec version
...'s just ignored. > > > Seems like what spec is asking for, no? > > > > Not to me, no. There will be a vm_dev registered with an _illegal_ ID. > > Yes - there will be a device, but no driver will drive it. A device with an *illegal* ID. > > > > > @@ -496,7 +531,8 @@ static int virtio_mmio_remove(struct platform_device *pdev) > > > > > > { > > > > > > struct virtio_mmio_device *vm_dev = platform_get_drvdata(pdev); > > > > > > > > > > > > - unregister_virtio_device(&am...
2015 Jan 15
2
[RFC] virtio-mmio: Update the device to OASIS spec version
...'s just ignored. > > > Seems like what spec is asking for, no? > > > > Not to me, no. There will be a vm_dev registered with an _illegal_ ID. > > Yes - there will be a device, but no driver will drive it. A device with an *illegal* ID. > > > > > @@ -496,7 +531,8 @@ static int virtio_mmio_remove(struct platform_device *pdev) > > > > > > { > > > > > > struct virtio_mmio_device *vm_dev = platform_get_drvdata(pdev); > > > > > > > > > > > > - unregister_virtio_device(&am...
2020 Jan 09
9
[PATCH 0/7] Various Python cleanups.
Patch #7 depends on: https://www.redhat.com/archives/libguestfs/2020-January/msg00035.html No, Python < 3 support is not dropped yet, however it will be easier after this series. Pino Toscano (7): build: enforce a minimum Python version python: drop code for Python < 2.5 python: assume support for Capsules python: remove compile time check for PyString_AsString python: replace
2006 Jul 07
0
acts_as_ferret transactions
...a transaction all the modifications to the associated models make it into the ferret index. Thoughts? Index: lib/acts_as_ferret.rb =================================================================== --- lib/acts_as_ferret.rb (revision 59) +++ lib/acts_as_ferret.rb (working copy) @@ -496,7 +496,8 @@ module InstanceMethods attr_reader :reindex - @ferret_reindex = true + @ferret_reindex = false + @defer_for_transaction = false def ferret_before_update @ferret_reindex = true @@ -505,9 +506,13 @@ # add to index...
2017 Sep 15
0
[RFC PATCH 02/29] hwmon: properly check for errors
...; + int ret; if (!therm) return -EOPNOTSUPP; switch (attr) { case hwmon_fan_input: - *val = nvkm_therm_fan_sense(therm); + ret = nvkm_therm_fan_sense(therm); break; default: return -EOPNOTSUPP; } + if (ret < 0) + return ret; + + *val = ret; return 0; } @@ -491,7 +496,7 @@ nouveau_in_read(struct device *dev, u32 attr, int channel, long *val) struct drm_device *drm_dev = dev_get_drvdata(dev); struct nouveau_drm *drm = nouveau_drm(drm_dev); struct nvkm_volt *volt = nvxx_volt(&drm->client.device); - int ret; + int ret = 0; if (!volt) return -EOP...
2009 Aug 30
3
experimental patch for libtheora1.1beta3
...video_LDADD = $(GETOPT_OBJS) $(LDADDDEC) -lcompat + + dump_psnr_SOURCES = dump_psnr.c + EXTRA_dump_psnr_SOURCES = getopt.c getopt1.c getopt.h ? patches/patch-lib_x86_mmxencfrag_c $OpenBSD$ --- lib/x86/mmxencfrag.c.orig Wed Aug 12 22:26:45 2009 +++ lib/x86/mmxencfrag.c Wed Aug 12 23:43:30 2009 @@ -496,7 +496,10 @@ static unsigned oc_int_frag_satd_thresh_mmxext(const u "movq 0x78(%[buf]),%%mm7\n\t" /*The sums produced by OC_HADAMARD_ABS_ACCUM_8x4 each have an extra 4 added to them, and a factor of two removed; correct the final sum here.*/ - "lea -32(%[ret],%[r...