search for: 156,8

Displaying 20 results from an estimated 110 matches for "156,8".

Did you mean: 156,6
2017 Jul 17
2
[PATCH] drm/nouveau/hwmon: Uninitialized variables in sysfs
...therm *therm = nvxx_therm(&drm->client.device); long value; + int ret; - if (kstrtol(buf, 10, &value) == -EINVAL) - return count; + ret = kstrtol(buf, 10, &value); + if (ret) + return ret; therm->attr_set(therm, NVKM_THERM_ATTR_THRS_FAN_BOOST_HYST, value / 1000); @@ -156,8 +160,9 @@ nouveau_hwmon_set_pwm1_min(struct device *d, struct device_attribute *a, long value; int ret; - if (kstrtol(buf, 10, &value) == -EINVAL) - return -EINVAL; + ret = kstrtol(buf, 10, &value); + if (ret) + return ret; ret = therm->attr_set(therm, NVKM_THERM_ATTR_FAN_M...
2009 Apr 27
1
[PATCH server] fix the ovirt-mongrel-rails restart problem in the installer if ran more than once
...t.pp | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/installer/modules/ovirt/manifests/ovirt.pp b/installer/modules/ovirt/manifests/ovirt.pp index 09b1925..03a93a7 100644 --- a/installer/modules/ovirt/manifests/ovirt.pp +++ b/installer/modules/ovirt/manifests/ovirt.pp @@ -156,7 +156,8 @@ class ovirt::setup { enable => true, require => [Package[ovirt-server],Single_Exec[db_migrate]], ensure => running, - notify => Service[httpd] + notify => Service[httpd], + hasstatus => true } service {...
2009 Jan 29
2
[LLVMdev] [PATCH] Build fails on windows with VC2009
...y yours Marius Wachtler ---------------------------------------- Index: lib/System/Win32/DynamicLibrary.inc =================================================================== --- lib/System/Win32/DynamicLibrary.inc (revision 63322) +++ lib/System/Win32/DynamicLibrary.inc (working copy) @@ -156,8 +156,8 @@ void* DynamicLibrary::SearchForAddressOfSymbol(const char* symbolName) { // First check symbols added via AddSymbol(). - std::map<std::string, void *>::iterator I = g_symbols.find(symbolName); - if (I != g_symbols.end()) + std::map<std::string, void *>::iterator I =...
2019 Apr 18
1
[PATCH] Allow the initramfs to be persisted across root changes
...------------------------- */ + + /* +- * run_init(realroot, consoledev, drop_caps, init, initargs) ++ * run_init(realroot, consoledev, drop_caps, persist_initramfs, init, initargs) + * + * This function should be called as the last thing in kinit, + * from initramfs, it does the following: +@@ -156,8 +156,8 @@ static int nuke(const char *what) + } + + const char *run_init(const char *realroot, const char *console, +- const char *drop_caps, bool dry_run, const char *init, +- char **initargs) ++ const char *drop_caps, bool dry_run, ++ bool persist_initramfs, const char...
2020 Sep 16
2
[PATCH v2 04/21] drm/exynos: Introduce GEM object functions
...et_sg_table, > + .vmap = exynos_drm_gem_prime_vmap, > + .vunmap = exynos_drm_gem_prime_vunmap, > + .vm_ops = &exynos_drm_gem_vm_ops, > +}; > + > static struct exynos_drm_gem *exynos_drm_gem_init(struct drm_device *dev, > unsigned long size) > { > @@ -143,6 +156,8 @@ static struct exynos_drm_gem *exynos_drm_gem_init(struct drm_device *dev, > exynos_gem->size = size; > obj = &exynos_gem->base; > > + obj->funcs = &exynos_drm_gem_object_funcs; > + > ret = drm_gem_object_init(dev, obj, size); > if (ret < 0) {...
2009 Jul 09
1
apcsmart and dual environmental sensors
...he origina ambient.temperature reading, it simply adds a new ambient.temperature.dual reading (this applies to both temperature and humidity): --- nut-2.2.0/drivers/apcsmart.h.orig 2006-11-25 02:52:52.000000000 -0500 +++ nut-2.2.0/drivers/apcsmart.h 2009-06-10 09:54:18.000000000 -0400 @@ -156,6 +156,8 @@ APC_F_VOLT, 'o' }, { "ambient.humidity", APC_POLL|APC_F_PERCENT, 'h' }, + { "ambient.humidity.dual", + APC_POLL|APC_F_LEAVE, 'H' }, { "a...
2019 Apr 18
0
[PATCH] Allow the initramfs to be persisted across root changes
...--------------------------------- */ /* - * run_init(realroot, consoledev, drop_caps, init, initargs) + * run_init(realroot, consoledev, drop_caps, persist_initramfs, init, initargs) * * This function should be called as the last thing in kinit, * from initramfs, it does the following: @@ -156,8 +156,8 @@ static int nuke(const char *what) } const char *run_init(const char *realroot, const char *console, - const char *drop_caps, bool dry_run, const char *init, - char **initargs) + const char *drop_caps, bool dry_run, + bool persist_initramfs, const char *init,...
2019 Apr 28
0
[klibc:master] run-init: Allow the initramfs to be persisted across root changes
...--------------------------------- */ /* - * run_init(realroot, consoledev, drop_caps, init, initargs) + * run_init(realroot, consoledev, drop_caps, persist_initramfs, init, initargs) * * This function should be called as the last thing in kinit, * from initramfs, it does the following: @@ -156,8 +156,8 @@ static int nuke(const char *what) } const char *run_init(const char *realroot, const char *console, - const char *drop_caps, bool dry_run, const char *init, - char **initargs) + const char *drop_caps, bool dry_run, + bool persist_initramfs, const char *init,...
2019 Apr 24
4
[PATCH nbdkit 2/2] filters: Be careful to set *err if nbdkit_add_extent or nbdkit_extents_new fail.
This fix isn't exhaustive but it fixes some obvious problems in the filters. Rich.
2020 Sep 15
1
[PATCH v2 01/21] drm/amdgpu: Introduce GEM object functions
...> - struct drm_file *file_priv) > +static int amdgpu_gem_object_open(struct drm_gem_object *obj, > + struct drm_file *file_priv) > { > struct amdgpu_bo *abo = gem_to_amdgpu_bo(obj); > struct amdgpu_device *adev = amdgpu_ttm_adev(abo->tbo.bdev); > @@ -152,8 +156,8 @@ int amdgpu_gem_object_open(struct drm_gem_object *obj, > return 0; > } > > -void amdgpu_gem_object_close(struct drm_gem_object *obj, > - struct drm_file *file_priv) > +static void amdgpu_gem_object_close(struct drm_gem_object *obj, > + struct drm_file...
2004 Aug 06
6
URGENT: security exploit fix
...ctions.c =================================================================== RCS file: /cvsroot/icecast/src/avl_functions.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- avl_functions.c 26 May 2000 15:47:55 -0000 1.8 +++ avl_functions.c 10 Apr 2002 21:36:27 -0000 1.9 @@ -156,8 +156,8 @@ write_log (LOG_DEFAULT, "WARNING: compare_relays() called with NULL pointers!"); } - sprintf (cfirst, "%s:%d%s", r1->req.host, r1->req.port, r1->req.path); - sprintf (csecond, "%s:%d%s", r2->req.host, r2->req.port,...
2004 Aug 06
6
URGENT: security exploit fix
...ctions.c =================================================================== RCS file: /cvsroot/icecast/src/avl_functions.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- avl_functions.c 26 May 2000 15:47:55 -0000 1.8 +++ avl_functions.c 10 Apr 2002 21:36:27 -0000 1.9 @@ -156,8 +156,8 @@ write_log (LOG_DEFAULT, "WARNING: compare_relays() called with NULL pointers!"); } - sprintf (cfirst, "%s:%d%s", r1->req.host, r1->req.port, r1->req.path); - sprintf (csecond, "%s:%d%s", r2->req.host, r2->req.port,...
2017 Jul 22
0
[PATCH] drm/nouveau/hwmon: Uninitialized variables in sysfs
...long value; > + int ret; > > - if (kstrtol(buf, 10, &value) == -EINVAL) > - return count; > + ret = kstrtol(buf, 10, &value); > + if (ret) > + return ret; > > therm->attr_set(therm, NVKM_THERM_ATTR_THRS_FAN_BOOST_HYST, > value / 1000); > @@ -156,8 +160,9 @@ nouveau_hwmon_set_pwm1_min(struct device *d, struct device_attribute *a, > long value; > int ret; > > - if (kstrtol(buf, 10, &value) == -EINVAL) > - return -EINVAL; > + ret = kstrtol(buf, 10, &value); > + if (ret) > + return ret; > > ret...
2020 Sep 15
0
[PATCH v2 04/21] drm/exynos: Introduce GEM object functions
...ect, + .get_sg_table = exynos_drm_gem_prime_get_sg_table, + .vmap = exynos_drm_gem_prime_vmap, + .vunmap = exynos_drm_gem_prime_vunmap, + .vm_ops = &exynos_drm_gem_vm_ops, +}; + static struct exynos_drm_gem *exynos_drm_gem_init(struct drm_device *dev, unsigned long size) { @@ -143,6 +156,8 @@ static struct exynos_drm_gem *exynos_drm_gem_init(struct drm_device *dev, exynos_gem->size = size; obj = &exynos_gem->base; + obj->funcs = &exynos_drm_gem_object_funcs; + ret = drm_gem_object_init(dev, obj, size); if (ret < 0) { DRM_DEV_ERROR(dev->dev, &quot...
2019 Apr 24
0
[PATCH nbdkit 2/2] filters: Be careful to set *err if nbdkit_add_extent or nbdkit_extents_new fail.
...4 +++- filters/partition/partition.c | 4 +++- filters/truncate/truncate.c | 8 +++++++- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/filters/offset/offset.c b/filters/offset/offset.c index 24ccb4c..633a1c7 100644 --- a/filters/offset/offset.c +++ b/filters/offset/offset.c @@ -156,8 +156,10 @@ offset_extents (struct nbdkit_next_ops *next_ops, void *nxdata, for (i = 0; i < nbdkit_extents_count (extents2); ++i) { e = nbdkit_get_extent (extents2, i); e.offset -= offset; - if (nbdkit_add_extent (extents, e.offset, e.length, e.type) == -1) + if (nbdkit_add_e...
2019 Apr 24
1
Re: [PATCH nbdkit 2/2] filters: Be careful to set *err if nbdkit_add_extent or nbdkit_extents_new fail.
...4 +++- > filters/truncate/truncate.c | 8 +++++++- > 3 files changed, 13 insertions(+), 3 deletions(-) > > diff --git a/filters/offset/offset.c b/filters/offset/offset.c > index 24ccb4c..633a1c7 100644 > --- a/filters/offset/offset.c > +++ b/filters/offset/offset.c > @@ -156,8 +156,10 @@ offset_extents (struct nbdkit_next_ops *next_ops, void *nxdata, > for (i = 0; i < nbdkit_extents_count (extents2); ++i) { > e = nbdkit_get_extent (extents2, i); > e.offset -= offset; > - if (nbdkit_add_extent (extents, e.offset, e.length, e.type) == -1) &...
2020 Sep 16
0
[PATCH v2 04/21] drm/exynos: Introduce GEM object functions
...os_drm_gem_prime_vmap, >> + .vunmap = exynos_drm_gem_prime_vunmap, >> + .vm_ops = &exynos_drm_gem_vm_ops, >> +}; >> + >> static struct exynos_drm_gem *exynos_drm_gem_init(struct drm_device *dev, >> unsigned long size) >> { >> @@ -143,6 +156,8 @@ static struct exynos_drm_gem *exynos_drm_gem_init(struct drm_device *dev, >> exynos_gem->size = size; >> obj = &exynos_gem->base; >> >> + obj->funcs = &exynos_drm_gem_object_funcs; >> + >> ret = drm_gem_object_init(dev, obj, size); &...
2015 Nov 10
0
[PATCH 4/4] mllib, v2v: Allow open_guestfs to set the handle identifier.
...reate" () in (* For qcow2, override v2v-supplied compat option, because RHEL 6 * nodes cannot handle qcow2 v3 (RHBZ#1145582). *) diff --git a/v2v/output_vdsm.ml b/v2v/output_vdsm.ml index 079b47f..3c667f3 100644 --- a/v2v/output_vdsm.ml +++ b/v2v/output_vdsm.ml @@ -156,8 +156,7 @@ object method disk_create ?backingfile ?backingformat ?preallocation ?compat ?clustersize path format size = - let g = open_guestfs () in - g#set_identifier "vdsm_disk_create"; + let g = open_guestfs ~identifier:"vdsm_disk_create" () in (* For...
2020 Sep 16
0
[PATCH v2 04/21] drm/exynos: Introduce GEM object functions
...vunmap = exynos_drm_gem_prime_vunmap, > >> + .vm_ops = &exynos_drm_gem_vm_ops, > >> +}; > >> + > >> static struct exynos_drm_gem *exynos_drm_gem_init(struct drm_device *dev, > >> unsigned long size) > >> { > >> @@ -143,6 +156,8 @@ static struct exynos_drm_gem *exynos_drm_gem_init(struct drm_device *dev, > >> exynos_gem->size = size; > >> obj = &exynos_gem->base; > >> > >> + obj->funcs = &exynos_drm_gem_object_funcs; > >> + > >> ret = drm_gem_...
2019 Sep 05
0
[PATCH 15/18] virtiofs: Make virtio_fs object refcounted
...ount, release_virtiofs_obj); + mutex_unlock(&virtio_fs_mutex); +} + +static void virtio_fs_put(struct fuse_iqueue *fiq) +{ + struct virtio_fs *vfs = fiq->priv; + virtiofs_put(vfs); +} + static void virtio_fs_drain_queue(struct virtio_fs_vq *fsvq) { WARN_ON(fsvq->in_flight < 0); @@ -156,8 +178,10 @@ static struct virtio_fs *virtio_fs_find_instance(const char *tag) mutex_lock(&virtio_fs_mutex); list_for_each_entry(fs, &virtio_fs_instances, list) { - if (strcmp(fs->tag, tag) == 0) + if (strcmp(fs->tag, tag) == 0) { + kref_get(&fs->refcount); goto f...