search for: 332,11

Displaying 17 results from an estimated 17 matches for "332,11".

Did you mean: 332,10
2020 Sep 01
3
Re: [nbdkit PATCH 2/2] ocaml: Implement .list_exports and friends
...Some "desc1" }; + { name = "name2"; description = None } ] let ocamlexample_default_export ro tls = "name1" diff --git i/plugins/ocaml/ocaml.c w/plugins/ocaml/ocaml.c index a34f67ca..ea499454 100644 --- i/plugins/ocaml/ocaml.c +++ w/plugins/ocaml/ocaml.c @@ -332,11 +332,12 @@ list_exports_wrapper (int readonly, int is_tls, struct nbdkit_exports *exports) /* Convert exports list into calls to nbdkit_add_export. */ while (rv != Val_int (0)) { - const char *name, *desc; + const char *name, *desc = NULL; v = Field (rv, 0); /* ex...
2001 Apr 04
1
compiler warnings about format strings
...id, strerror(errno)); else - fatal("chown(%.100s, %d, %d) failed: %.100s", - ttyname, pw->pw_uid, gid, + fatal("chown(%.100s, %ld, %ld) failed: %.100s", + ttyname, (long)pw->pw_uid, (long)gid, strerror(errno)); } } @@ -332,11 +332,11 @@ if (chmod(ttyname, mode) < 0) { if (errno == EROFS && (st.st_mode & (S_IRGRP | S_IROTH)) == 0) - error("chmod(%.100s, 0%o) failed: %.100s", - ttyname, mode, strerror(errno)); + error("chmod(%.100s, 0%lo) failed: %.100s",...
2012 Dec 14
1
[PATCH] Add support for getting and setting GPT partition type GUIDs
...nitBasicFS -> pr " /* InitBasicFS for %s: create ext2 on /dev/sda1 */\n" test_name; List.iter (generate_test_command_call test_name) diff --git a/generator/types.ml b/generator/types.ml index cff3c6d..a2e3307 100644 --- a/generator/types.ml +++ b/generator/types.ml @@ -332,6 +332,11 @@ and test_init = * Note: for testing filesystem operations, it is quicker to use * InitScratchFS *) + | InitGPT + + (* Identical to InitPartition, except that the partition table is GPT + * instead of MBR. + *) | InitBasicFS (* /dev/sda: diff --gi...
2019 Dec 11
2
[PATCH 3/3] drm/nouveau: Support NVIDIA format modifiers
...rn -EINVAL; > + } > + } else { > + tile_mode = nvbo->mode; > + kind = nvbo->kind; > + } > + > info = drm_get_format_info(dev, mode_cmd); > > for (i = 0; i < info->num_planes; i++) { > @@ -332,11 +390,11 @@ nouveau_framebuffer_new(struct drm_device *dev, > mode_cmd->height, > i); > > - if (nvbo->kind) { > + if (kind) { >...
2020 Mar 27
4
[nbdkit PATCH 0/2] Improve shutdown race in nbd plugin
I still need more soak time on testing, to see whether I can: a) reproduce the hang with patch 2 not applied b) feel confident that patch 2 is sufficient to fix the race, or else determine that I also need to augment the loop condition in the reader thread to additionally break out of the loop when the pipe-to-self sees EOF even when nbd_aio_is_dead() has not yet been satisfied I'm also
2020 Mar 27
0
[nbdkit PATCH 1/2] nbd: Don't reference stale errno in reader loop
...not closed. Fixes: e0d32468 Signed-off-by: Eric Blake <eblake@redhat.com> --- plugins/nbd/nbd.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/nbd/nbd.c b/plugins/nbd/nbd.c index d020beec..e5b8f338 100644 --- a/plugins/nbd/nbd.c +++ b/plugins/nbd/nbd.c @@ -332,9 +332,11 @@ nbdplug_reader (void *handle) /* Check if we were kicked because a command was started */ if (fds[1].revents & POLLIN) { - while (read (h->fds[0], &c, 1) == 1) + int r; + + while ((r = read (h->fds[0], &c, 1)) == 1) /* Drain any back...
2020 Sep 01
0
Re: [nbdkit PATCH 2/2] ocaml: Implement .list_exports and friends
...sv = Field (v, 0); printf ("Some %s\n", String_val (sv)); } The weird casting macros have the form: To_from() Also that String_val is only valid for a short period of time, basically until the next OCaml allocation in the current thread. > +++ w/plugins/ocaml/ocaml.c > @@ -332,11 +332,12 @@ list_exports_wrapper (int readonly, int > is_tls, struct nbdkit_exports *exports) > > /* Convert exports list into calls to nbdkit_add_export. */ > while (rv != Val_int (0)) { > - const char *name, *desc; > + const char *name, *desc = NULL; > >...
2019 Dec 11
0
[PATCH 3/3] drm/nouveau: Support NVIDIA format modifiers
...{ + DRM_DEBUG_KMS("Unsupported modifier: 0x%llx\n", + mode_cmd->modifier[0]); + return -EINVAL; + } + } else { + tile_mode = nvbo->mode; + kind = nvbo->kind; + } + info = drm_get_format_info(dev, mode_cmd); for (i = 0; i < info->num_planes; i++) { @@ -332,11 +390,11 @@ nouveau_framebuffer_new(struct drm_device *dev, mode_cmd->height, i); - if (nvbo->kind) { + if (kind) { ret = nouveau_check_bl_size(drm, nvbo, mode_cmd->offsets[i], mode_cmd->pitches[i], - height, nvbo->mo...
2020 Sep 01
1
Re: [nbdkit PATCH 2/2] ocaml: Implement .list_exports and friends
...t; } > > The weird casting macros have the form: To_from() > > Also that String_val is only valid for a short period of time, > basically until the next OCaml allocation in the current thread. That's helpful, as well. > >> +++ w/plugins/ocaml/ocaml.c >> @@ -332,11 +332,12 @@ list_exports_wrapper (int readonly, int >> is_tls, struct nbdkit_exports *exports) >> >> /* Convert exports list into calls to nbdkit_add_export. */ >> while (rv != Val_int (0)) { >> - const char *name, *desc; >> + const char *name, *d...
2019 Dec 13
0
[PATCH 3/3] drm/nouveau: Support NVIDIA format modifiers
...;> + } else { >> + tile_mode = nvbo->mode; >> + kind = nvbo->kind; >> + } >> + >> info = drm_get_format_info(dev, mode_cmd); >> >> for (i = 0; i < info->num_planes; i++) { >> @@ -332,11 +390,11 @@ nouveau_framebuffer_new(struct drm_device *dev, >> mode_cmd->height, >> i); >> >> - if (nvbo->kind) { >> + if (...
2019 Dec 11
5
[PATCH 0/3] drm/nouveau: Support NVIDIA format modifiers
This series modifies the NV5x+ nouveau display backends to advertise appropriate format modifiers on their display planes in atomic mode setting blobs. Corresponding modifications to Mesa/userspace are available here: https://gitlab.freedesktop.org/cubanismo/mesa/tree/nouveau_work But those need a bit of cleanup before they're ready to submit. I've tested this on Tesla, Kepler, Pascal,
2012 Aug 13
2
[PATCH] Replace hard-coded PKG_STATEDIR with state_dir setting
...struct master_service_settings { + const char *state_dir; const char *log_path; const char *info_log_path; const char *debug_log_path; diff --git a/src/lib-master/master-service.c b/src/lib-master/master-service.c --- a/src/lib-master/master-service.c +++ b/src/lib-master/master-service.c @@ -332,9 +332,11 @@ { struct master_instance_list *list; const struct master_instance *inst; - const char *path; + const char *instance_path, *path; - list = master_instance_list_init(MASTER_INSTANCE_PATH); + instance_path = t_strconcat(master_service->set->state_dir, + "/instance...
2007 Jan 06
1
Re: [nut-commits] svn commit r710 - in trunk: . clients server
...> users = NULL; > } > > +#ifndef HAVE_IPV6 > +static int user_matchacl(ulist_t *user, const struct sockaddr_in *addr) > +#else > static int user_matchacl(ulist_t *user, const struct sockaddr_storage *addr) > +#endif > { > acllist *tmp; > > @@ -328,7 +332,11 @@ > return 0; /* fail */ > } > > +#ifndef HAVE_IPV6 > +int user_checkinstcmd(const struct sockaddr_in *addr, > +#else > int user_checkinstcmd(const struct sockaddr_storage *addr, > +#endif > const char *un, const char *pw, const char *cmd) > { > uli...
2015 May 25
15
[PATCH 1/8] acpi: Rename v1 DSM to mux to avoid ambiguity
This is especially true when variables or functions are just called dsm without precising the v1. Signed-off-by: Pierre Moreau <pierre.morrow at free.fr> --- drm/nouveau/nouveau_acpi.c | 64 +++++++++++++++++++++++----------------------- drm/nouveau/nouveau_acpi.h | 4 +-- drm/nouveau/nouveau_drm.c | 4 +-- drm/nouveau/nouveau_vga.c | 10 ++++---- 4 files changed, 41 insertions(+), 41
2020 Sep 01
4
[nbdkit PATCH 0/2] More language bindings for .list_exports
This picks up python and ocaml. Some of our languages are lacking a number of bindings (for example, lua and perl lack .extents, so I didn't have anything to copy from), and I felt less comfortable with golang and rust. But for python and ocaml, I was able to test a working implementation. Eric Blake (2): python: Implement .list_exports and friends ocaml: Implement .list_exports and
2019 Dec 17
6
[PATCH v2 0/3] drm/nouveau: Support NVIDIA format modifiers
This series modifies the NV5x+ nouveau display backends to advertise appropriate format modifiers on their display planes in atomic mode setting blobs. Corresponding modifications to Mesa/userspace are available here: https://gitlab.freedesktop.org/cubanismo/mesa/tree/nouveau_work But those need a bit of cleanup before they're ready to submit. I've tested this on Tesla, Kepler, Pascal,
2015 Jun 14
2
[PATCH] pod: Use F<> for filenames instead of C<>.
...ault is -to try to read passphrases from the user by opening C</dev/tty>. +to try to read passphrases from the user by opening F</dev/tty>. =item B<-v> diff --git a/cat/virt-ls.pod b/cat/virt-ls.pod index aa7919d..e9a226d 100644 --- a/cat/virt-ls.pod +++ b/cat/virt-ls.pod @@ -332,12 +332,12 @@ For example: virt-ls --format=raw -a disk.img /dir -forces raw format (no auto-detection) for C<disk.img>. +forces raw format (no auto-detection) for F<disk.img>. virt-ls --format=raw -a disk.img --format -a another.img /dir -forces raw format (no auto-detectio...