Displaying 20 results from an estimated 179 matches for "389,7".
Did you mean:
689,7
2020 Jan 07
3
[PATCH] Fix lossy conversion of Content-Length
...ned-off-by: Adrian Ambro?ewicz <adrian.ambrozewicz at linux.intel.com>
---
plugins/curl/curl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/curl/curl.c b/plugins/curl/curl.c
index 031bd32..fe1330e 100644
--- a/plugins/curl/curl.c
+++ b/plugins/curl/curl.c
@@ -389,7 +389,7 @@ curl_open (int readonly)
goto err;
}
- h->exportsize = (size_t) d;
+ h->exportsize = (int64_t) d;
nbdkit_debug ("content length: %" PRIi64, h->exportsize);
if (strncasecmp (url, "http://", strlen ("http://")) == 0 ||
--
2.17....
2012 Sep 08
3
[patch 3/3] xen/privcmd: remove const modifier from declaration
.../
- const xen_pfn_t __user *arr; /* array of mfns */
+ xen_pfn_t __user *arr; /* array of mfns */
int __user *err; /* array of error codes */
};
diff --git a/drivers/xen/privcmd.c b/drivers/xen/privcmd.c
index 0ce006a..fceb83e 100644
--- a/drivers/xen/privcmd.c
+++ b/drivers/xen/privcmd.c
@@ -389,7 +389,7 @@ static long privcmd_ioctl_mmap_batch(void __user *udata, int version)
if (state.global_error && (version == 1)) {
/* Write back errors in second pass. */
- state.user_mfn = (xen_pfn_t *)m.arr;
+ state.user_mfn = m.arr;
state.err = err_array;
ret = traverse_pa...
2012 Sep 08
3
[patch 3/3] xen/privcmd: remove const modifier from declaration
.../
- const xen_pfn_t __user *arr; /* array of mfns */
+ xen_pfn_t __user *arr; /* array of mfns */
int __user *err; /* array of error codes */
};
diff --git a/drivers/xen/privcmd.c b/drivers/xen/privcmd.c
index 0ce006a..fceb83e 100644
--- a/drivers/xen/privcmd.c
+++ b/drivers/xen/privcmd.c
@@ -389,7 +389,7 @@ static long privcmd_ioctl_mmap_batch(void __user *udata, int version)
if (state.global_error && (version == 1)) {
/* Write back errors in second pass. */
- state.user_mfn = (xen_pfn_t *)m.arr;
+ state.user_mfn = m.arr;
state.err = err_array;
ret = traverse_pa...
2020 Jan 09
2
Re: [PATCH] Fix lossy conversion of Content-Length
...>---
> > plugins/curl/curl.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> >diff --git a/plugins/curl/curl.c b/plugins/curl/curl.c
> >index 031bd32..fe1330e 100644
> >--- a/plugins/curl/curl.c
> >+++ b/plugins/curl/curl.c
> >@@ -389,7 +389,7 @@ curl_open (int readonly)
> > goto err;
> > }
> >
> >- h->exportsize = (size_t) d;
> >+ h->exportsize = (int64_t) d;
>
> Why is a cast needed at all?
> This is C, an implicit conversion
> works just as well.
Present since the in...
2020 Jan 09
2
Re: [PATCH] Fix lossy conversion of Content-Length
...t; 1 file changed, 1 insertion(+), 1 deletion(-)
> >>>
> >>> diff --git a/plugins/curl/curl.c b/plugins/curl/curl.c
> >>> index 031bd32..fe1330e 100644
> >>> --- a/plugins/curl/curl.c
> >>> +++ b/plugins/curl/curl.c
> >>> @@ -389,7 +389,7 @@ curl_open (int readonly)
> >>> goto err;
> >>> }
> >>>
> >>> - h->exportsize = (size_t) d;
> >>> + h->exportsize = (int64_t) d;
> >>
> >> Why is a cast needed at all?
> >> This is C,...
2017 Sep 29
1
[PATCH] drm/virtio: Replace instances of reference/unreference with get/put
...= handle;
@@ -341,7 +341,7 @@ static int virtio_gpu_resource_info_ioctl(struct drm_device *dev, void *data,
ri->size = qobj->gem_base.size;
ri->res_handle = qobj->hw_res_handle;
- drm_gem_object_unreference_unlocked(gobj);
+ drm_gem_object_put_unlocked(gobj);
return 0;
}
@@ -389,7 +389,7 @@ static int virtio_gpu_transfer_from_host_ioctl(struct drm_device *dev,
out_unres:
virtio_gpu_object_unreserve(qobj);
out:
- drm_gem_object_unreference_unlocked(gobj);
+ drm_gem_object_put_unlocked(gobj);
return ret;
}
@@ -439,7 +439,7 @@ static int virtio_gpu_transfer_to_host_i...
2017 Sep 29
1
[PATCH] drm/virtio: Replace instances of reference/unreference with get/put
...= handle;
@@ -341,7 +341,7 @@ static int virtio_gpu_resource_info_ioctl(struct drm_device *dev, void *data,
ri->size = qobj->gem_base.size;
ri->res_handle = qobj->hw_res_handle;
- drm_gem_object_unreference_unlocked(gobj);
+ drm_gem_object_put_unlocked(gobj);
return 0;
}
@@ -389,7 +389,7 @@ static int virtio_gpu_transfer_from_host_ioctl(struct drm_device *dev,
out_unres:
virtio_gpu_object_unreserve(qobj);
out:
- drm_gem_object_unreference_unlocked(gobj);
+ drm_gem_object_put_unlocked(gobj);
return ret;
}
@@ -439,7 +439,7 @@ static int virtio_gpu_transfer_to_host_i...
2015 May 24
2
[Mesa-dev] [PATCH 2/2] nv30: fix clip plane uploads and enable changes
...;clip.ucp[i], 4);
> }
> + if (nv30->rast->pipe.clip_plane_enable & (1 << i))
> + clpd_enable |= 2 << (4*i);
Can you explain why did you change this line?
> }
>
> BEGIN_NV04(push, NV30_3D(VP_CLIP_PLANES_ENABLE), 1);
> @@ -389,7 +387,7 @@ static struct state_validate hwtnl_validate_list[] = {
> { nv30_validate_stipple, NV30_NEW_STIPPLE },
> { nv30_validate_scissor, NV30_NEW_SCISSOR | NV30_NEW_RASTERIZER },
> { nv30_validate_viewport, NV30_NEW_VIEWPORT },
> - { nv30_valida...
2016 Mar 06
0
[PATCH 3/5] lib: inspect: gpt_prefix is a constant string.
---
src/inspect-fs-windows.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/inspect-fs-windows.c b/src/inspect-fs-windows.c
index ba72727..5adf145 100644
--- a/src/inspect-fs-windows.c
+++ b/src/inspect-fs-windows.c
@@ -389,7 +389,7 @@ check_windows_system_registry (guestfs_h *g, struct inspect_fs *fs)
int r;
size_t len = strlen (fs->windows_systemroot) + 64;
char system[len];
- char gpt_prefix[] = "DMIO:ID:";
+ const char gpt_prefix[] = "DMIO:ID:";
snprintf (system, len, "%s/...
2017 Jun 30
1
[PATCH] Fix typos in plugin manual
...call C<nbdkit_error> with
an error message and return C<-1>.
-This callback is not required. If omitted, then we return true iff a
+This callback is not required. If omitted, then we return true if a
C<.flush> callback has been defined.
=head2 C<.is_rotational>
@@ -389,7 +389,7 @@ backing storage.
If there is an error, C<.can_trim> should call C<nbdkit_error> with an
error message and return C<-1>.
-This callback is not required. If omitted, then we return true iff a
+This callback is not required. If omitted, then we return true if a
C&l...
2019 Dec 13
0
[v2v PATCH 7/7] build: hopefully fix dependencies on generated files
...sure to directly address them by name, as the wildcard will not
work for non-existing files.
---
v2v/Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/v2v/Makefile.am b/v2v/Makefile.am
index 23256d3b..48d3f515 100644
--- a/v2v/Makefile.am
+++ b/v2v/Makefile.am
@@ -389,7 +389,7 @@ var_expander_tests_LINK = \
.depend: \
$(srcdir)/*.mli \
$(srcdir)/*.ml \
- config.ml \
- output_rhv_upload_*_source.ml
+ $(CONFIGURE_GENERATED_ML) \
+ $(filter %.ml,$(BUILT_SOURCES))
$(top_builddir)/ocaml-dep.sh $^
-include .depend
--
2.23.0
2020 Jan 08
0
Re: [PATCH] Fix lossy conversion of Content-Length
...ambrozewicz@linux.intel.com>
> ---
> plugins/curl/curl.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/plugins/curl/curl.c b/plugins/curl/curl.c
> index 031bd32..fe1330e 100644
> --- a/plugins/curl/curl.c
> +++ b/plugins/curl/curl.c
> @@ -389,7 +389,7 @@ curl_open (int readonly)
> goto err;
> }
>
> - h->exportsize = (size_t) d;
> + h->exportsize = (int64_t) d;
Why is a cast needed at all? This is C, an implicit conversion works
just as well.
> nbdkit_debug ("content length: %" PRIi6...
2020 Jan 09
0
Re: [PATCH] Fix lossy conversion of Content-Length
.../curl/curl.c | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/plugins/curl/curl.c b/plugins/curl/curl.c
>>> index 031bd32..fe1330e 100644
>>> --- a/plugins/curl/curl.c
>>> +++ b/plugins/curl/curl.c
>>> @@ -389,7 +389,7 @@ curl_open (int readonly)
>>> goto err;
>>> }
>>>
>>> - h->exportsize = (size_t) d;
>>> + h->exportsize = (int64_t) d;
>>
>> Why is a cast needed at all?
>> This is C, an implicit conversion
>> works j...
2020 Jan 10
0
[PATCH v2] Fix lossy conversion of Content-Length
...Signed-off-by: Adrian Ambrożewicz <adrian.ambrozewicz@linux.intel.com>
---
plugins/curl/curl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/curl/curl.c b/plugins/curl/curl.c
index 031bd32..633840a 100644
--- a/plugins/curl/curl.c
+++ b/plugins/curl/curl.c
@@ -389,7 +389,7 @@ curl_open (int readonly)
goto err;
}
- h->exportsize = (size_t) d;
+ h->exportsize = d;
nbdkit_debug ("content length: %" PRIi64, h->exportsize);
if (strncasecmp (url, "http://", strlen ("http://")) == 0 ||
--
2.17.1
2002 Mar 27
2
[Bug 191] compilation faills in auth1.c:392 `pw' undeclared when USE_PAM is on
http://bugzilla.mindrot.org/show_bug.cgi?id=191
mouring at eviladmin.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
------- Additional Comments From mouring at eviladmin.org
2012 Sep 06
0
[PATCH] Fix mmap batch ioctl error status copy back.
...gned-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.org>
---
drivers/xen/privcmd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/xen/privcmd.c b/drivers/xen/privcmd.c
index 5386f20..e4dfa3b 100644
--- a/drivers/xen/privcmd.c
+++ b/drivers/xen/privcmd.c
@@ -389,7 +389,7 @@ static long privcmd_ioctl_mmap_batch(void __user *udata, int version)
state.err = err_array;
ret = traverse_pages(m.num, sizeof(xen_pfn_t),
&pagelist, mmap_return_errors_v1, &state);
- } else
+ } else if (version == 2)
ret = __copy_to_user(m.err, err_array,...
2015 May 24
2
[Mesa-dev] [PATCH 2/2] nv30: fix clip plane uploads and enable changes
...did you change this line?
>
> This does bother me as well :)
It should be the same as before but using one less addition: shifting 1 by 5 or 2 by 4 is similar.
>
>
>>
>>> }
>>> BEGIN_NV04(push, NV30_3D(VP_CLIP_PLANES_ENABLE), 1);
>>> @@ -389,7 +387,7 @@ static struct state_validate hwtnl_validate_list[] = {
>>> { nv30_validate_stipple, NV30_NEW_STIPPLE },
>>> { nv30_validate_scissor, NV30_NEW_SCISSOR | NV30_NEW_RASTERIZER },
>>> { nv30_validate_viewport, NV30_NEW_VIEWPORT },
&g...
2005 May 27
0
[PATCH] ioemu: enable Cirrus VGA emulation
...endert van Doorn <leendert@watson.ibm.com>
diff -ru xeno-unstable.orig/tools/ioemu/hw/pc.c xeno-unstable.mine/tools/ioemu/hw/pc.c
--- xeno-unstable.orig/tools/ioemu/hw/pc.c 2005-05-25 07:48:57.000000000 -0400
+++ xeno-unstable.mine/tools/ioemu/hw/pc.c 2005-05-27 15:23:19.000000000 -0400
@@ -389,7 +389,7 @@
linux_boot = (kernel_filename != NULL);
/* allocate RAM */
-// cpu_register_physical_memory(0, ram_size, 0);
+// cpu_register_physical_memory(0, ram_size, 0);
#ifndef NOBIOS
/* BIOS load */
@@ -436,9 +436,9 @@
/* map all the bios at the top of memory */...
2003 Jan 30
2
[trivial patch] link overloaded
...sion ratios
Index: rsyncd.conf.yo
===================================================================
RCS file: /cvsroot/rsync/rsyncd.conf.yo,v
retrieving revision 1.53
diff -u -r1.53 rsyncd.conf.yo
--- rsyncd.conf.yo 27 Jan 2003 03:07:18 -0000 1.53
+++ rsyncd.conf.yo 29 Jan 2003 22:09:52 -0000
@@ -389,7 +389,7 @@
quality security then I recommend that you run rsync over ssh.
Also note that the rsync server protocol does not currently provide any
-encryption of the data that is transferred over the link. Only
+encryption of the data that is transferred over the connection. Only
authenticatio...
2024 Feb 02
3
[PATCH 1/2] drm/nouveau: don't fini scheduler if not initialized
...hed;
+ struct nouveau_sched *sched;
const struct nvif_mclass *mem;
diff --git a/drivers/gpu/drm/nouveau/nouveau_exec.c b/drivers/gpu/drm/nouveau/nouveau_exec.c
index bc5d71b79ab2..e65c0ef23bc7 100644
--- a/drivers/gpu/drm/nouveau/nouveau_exec.c
+++ b/drivers/gpu/drm/nouveau/nouveau_exec.c
@@ -389,7 +389,7 @@ nouveau_exec_ioctl_exec(struct drm_device *dev,
if (ret)
goto out;
- args.sched = &chan16->sched;
+ args.sched = chan16->sched;
args.file_priv = file_priv;
args.chan = chan;
diff --git a/drivers/gpu/drm/nouveau/nouveau_sched.c b/drivers/gpu/drm/nouveau/nouveau_sch...