search for: 230,7

Displaying 20 results from an estimated 226 matches for "230,7".

Did you mean: 230,6
2015 Mar 09
2
Dovecot fails to compile --with-cdb (and attempted fix)
...ecot-2.2.15/src/anvil' ========================== After some troubleshooting, I've finally managed to get dovecot to compile, albeit with a hack: --- src/lib-dovecot/Makefile.old 2015-03-09 17:36:15.690179802 +0000 +++ src/lib-dovecot/Makefile 2015-03-09 18:01:43.075719700 +0000 @@ -230,7 +230,7 @@ LIBDOVECOT_STORAGE_DEPS = $(top_builddir)/src/lib-storage/ libdovecot-storage.la $(top_builddir)/src/lib-imap-storage/ libimap-storage.la LIBICONV = LIBOBJS = -LIBS = -lrt +LIBS = -lrt -lcdb LIBTOOL = $(SHELL) $(top_builddir)/libtool LIBWRAP_LIBS = LINKED_STORAGE_LDADD = This isn...
2015 Mar 10
2
Dovecot fails to compile --with-cdb (and attempted fix)
...; >> After some troubleshooting, I've finally managed to get dovecot to >> compile, albeit with a hack: >> >> --- src/lib-dovecot/Makefile.old 2015-03-09 17:36:15.690179802 +0000 >> +++ src/lib-dovecot/Makefile 2015-03-09 18:01:43.075719700 +0000 >> @@ -230,7 +230,7 @@ >> LIBDOVECOT_STORAGE_DEPS = $(top_builddir)/src/lib-storage/ >> libdovecot-storage.la $(top_builddir)/src/lib-imap-storage/ >> libimap-storage.la >> LIBICONV = >> LIBOBJS = >> -LIBS = -lrt >> +LIBS = -lrt -lcdb >> LIBTOOL = $(SHELL) $...
2013 Nov 08
4
[PATCH 3/4] xen/manage: Guard against user-space initiated poweroff and XenBus.
...switch (system_state) { case SYSTEM_BOOTING: orderly_poweroff(true); @@ -201,7 +209,7 @@ static void do_poweroff(void) static void do_reboot(void) { - shutting_down = SHUTDOWN_POWEROFF; /* ? */ + atomic_set(&shutting_down, SHUTDOWN_POWEROFF); /* ? */ ctrl_alt_del(); } @@ -222,7 +230,7 @@ static void shutdown_handler(struct xenbus_watch *watch, }; static struct shutdown_handler *handler; - if (shutting_down != SHUTDOWN_INVALID) + if (atomic_read(&shutting_down) != SHUTDOWN_INVALID) return; again: @@ -256,12 +264,29 @@ static void shutdown_handler(struct xenbus_...
2014 Nov 22
3
Use z size specifier for printf-ing size_t variable
...s (%#x pad) at 0x%08x\n", len, pad, start); if (start + len + pad > mboot_high_water_mark) mboot_high_water_mark = start + len + pad; diff --git a/com32/menu/menumain.c b/com32/menu/menumain.c index b8cb06f..ed72c08 100644 --- a/com32/menu/menumain.c +++ b/com32/menu/menumain.c @@ -230,7 +230,7 @@ static int ask_passwd(const char *menu_entry) for (x = 2; x <= WIDTH - 2 * PASSWD_MARGIN - 1; x++) putchar('q'); - printf("j\017\033[%d;%dH\2#12 %s \033[%d;%dH\2#13", + printf("j\017\033[%d;%zdH\2#12 %s \033[%d;%dH\2#13", PASSWD_ROW, (W...
2015 Mar 09
0
Dovecot fails to compile --with-cdb (and attempted fix)
...==================== > > After some troubleshooting, I've finally managed to get dovecot to > compile, albeit with a hack: > > --- src/lib-dovecot/Makefile.old 2015-03-09 17:36:15.690179802 +0000 > +++ src/lib-dovecot/Makefile 2015-03-09 18:01:43.075719700 +0000 > @@ -230,7 +230,7 @@ > LIBDOVECOT_STORAGE_DEPS = $(top_builddir)/src/lib-storage/ > libdovecot-storage.la $(top_builddir)/src/lib-imap-storage/ > libimap-storage.la > LIBICONV = > LIBOBJS = > -LIBS = -lrt > +LIBS = -lrt -lcdb > LIBTOOL = $(SHELL) $(top_builddir)/libtool > LIB...
2012 Apr 22
1
[PATCH 2/5] drm/nouveau: base fence timeout on time of emission
...equence; bool signalled; + unsigned long emitted_at; void (*work)(void *priv, bool signalled); void *priv; @@ -172,6 +173,7 @@ nouveau_fence_emit(struct nouveau_fence *fence) } OUT_RING (chan, fence->sequence); FIRE_RING(chan); + fence->emitted_at = jiffies; return 0; } @@ -230,7 +232,8 @@ __nouveau_fence_signalled(void *sync_obj, void *sync_arg) int __nouveau_fence_wait(void *sync_obj, void *sync_arg, bool lazy, bool intr) { - unsigned long timeout = jiffies + (3 * DRM_HZ); + struct nouveau_fence *fence = nouveau_fence(sync_obj); + unsigned long timeout = fence->em...
2015 Mar 12
0
Dovecot fails to compile --with-cdb (and attempted fix)
...troubleshooting, I've finally managed to get dovecot to >>> compile, albeit with a hack: >>> >>> --- src/lib-dovecot/Makefile.old 2015-03-09 17:36:15.690179802 +0000 >>> +++ src/lib-dovecot/Makefile 2015-03-09 18:01:43.075719700 +0000 >>> @@ -230,7 +230,7 @@ >>> LIBDOVECOT_STORAGE_DEPS = $(top_builddir)/src/lib-storage/ >>> libdovecot-storage.la $(top_builddir)/src/lib-imap-storage/ >>> libimap-storage.la >>> LIBICONV = >>> LIBOBJS = >>> -LIBS = -lrt >>> +LIBS = -lrt -lcdb >&...
2019 Sep 10
0
[PATCH v3 2/2] drm/virtio: Use vmalloc for command buffer allocations.
..._execbuffer_ioctl(struct drm_device *dev, void *data, if (ret) goto out_free; - buf = memdup_user(u64_to_user_ptr(exbuf->command), exbuf->size); + buf = vmemdup_user(u64_to_user_ptr(exbuf->command), exbuf->size); if (IS_ERR(buf)) { ret = PTR_ERR(buf); goto out_unresv; @@ -230,7 +230,7 @@ static int virtio_gpu_execbuffer_ioctl(struct drm_device *dev, void *data, return 0; out_memdup: - kfree(buf); + kvfree(buf); out_unresv: ttm_eu_backoff_reservation(&ticket, &validate_list); out_free: diff --git a/drivers/gpu/drm/virtio/virtgpu_vq.c b/drivers/gpu/drm/vi...
2009 Dec 24
1
[PATCH] vhost: access check thinko fixes
...let me know please. Thanks! drivers/vhost/vhost.c | 39 +++++++++++++++++++++++---------------- 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c index 2b65d9b..c8c25db 100644 --- a/drivers/vhost/vhost.c +++ b/drivers/vhost/vhost.c @@ -230,7 +230,7 @@ static int log_access_ok(void __user *log_base, u64 addr, unsigned long sz) } /* Caller should have vq mutex and device mutex. */ -static int vq_memory_access_ok(struct vhost_virtqueue *vq, struct vhost_memory *mem, +static int vq_memory_access_ok(void __user *log_base, struct vhost...
2009 Dec 24
1
[PATCH] vhost: access check thinko fixes
...let me know please. Thanks! drivers/vhost/vhost.c | 39 +++++++++++++++++++++++---------------- 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c index 2b65d9b..c8c25db 100644 --- a/drivers/vhost/vhost.c +++ b/drivers/vhost/vhost.c @@ -230,7 +230,7 @@ static int log_access_ok(void __user *log_base, u64 addr, unsigned long sz) } /* Caller should have vq mutex and device mutex. */ -static int vq_memory_access_ok(struct vhost_virtqueue *vq, struct vhost_memory *mem, +static int vq_memory_access_ok(void __user *log_base, struct vhost...
2002 May 03
1
Updating the docs/help on the default remote shell
...bject to these changes? (Note that I also fixed the misstatement that ssh prefers blocking IO.) ..wayne.. ---8<------8<------8<------8<---cut here--->8------>8------>8------>8--- Index: options.c --- options.c 2002/05/03 22:59:17 1.93 +++ options.c 2002/05/03 23:28:47 @@ -230,7 +230,7 @@ rprintf(F," --no-whole-file turn off --whole-file\n"); rprintf(F," -x, --one-file-system don't cross filesystem boundaries\n"); rprintf(F," -B, --block-size=SIZE checksum blocking size (default %d)\n",BLOCK_SIZE); - r...
2015 Jan 25
0
Use z size specifier for printf-ing size_t variable
...rt); > > if (start + len + pad > mboot_high_water_mark) > mboot_high_water_mark = start + len + pad; > diff --git a/com32/menu/menumain.c b/com32/menu/menumain.c > index b8cb06f..ed72c08 100644 > --- a/com32/menu/menumain.c > +++ b/com32/menu/menumain.c > @@ -230,7 +230,7 @@ static int ask_passwd(const char *menu_entry) > for (x = 2; x <= WIDTH - 2 * PASSWD_MARGIN - 1; x++) > putchar('q'); > > - printf("j\017\033[%d;%dH\2#12 %s \033[%d;%dH\2#13", > + printf("j\017\033[%d;%zdH\2#12 %s \033[%d;%dH\2#...
2013 Jul 14
9
[LLVMdev] [PATCH] x86/asm: avoid mnemonics without type suffix
...t_bit(int nr, volatile unsigned long *addr) { int oldbit; - asm volatile(LOCK_PREFIX "bts %2,%1\n\t" + asm volatile(LOCK_PREFIX "btsl %2,%1\n\t" "sbb %0,%0" : "=r" (oldbit), ADDR : "Ir" (nr) : "memory"); return oldbit; @@ -230,7 +230,7 @@ static inline int __test_and_set_bit(int nr, volatile unsigned long *addr) { int oldbit; - asm("bts %2,%1\n\t" + asm("btsl %2,%1\n\t" "sbb %0,%0" : "=r" (oldbit), ADDR : "Ir" (nr)); @@ -249,7 +249,7 @@ static inlin...
2015 Mar 12
2
Dovecot fails to compile --with-cdb (and attempted fix)
...ve finally managed to get dovecot to > >>> compile, albeit with a hack: > >>> > >>> --- src/lib-dovecot/Makefile.old 2015-03-09 17:36:15.690179802 +0000 > >>> +++ src/lib-dovecot/Makefile 2015-03-09 18:01:43.075719700 +0000 > >>> @@ -230,7 +230,7 @@ > >>> LIBDOVECOT_STORAGE_DEPS = $(top_builddir)/src/lib-storage/ > >>> libdovecot-storage.la $(top_builddir)/src/lib-imap-storage/ > >>> libimap-storage.la > >>> LIBICONV = > >>> LIBOBJS = > >>> -LIBS = -lrt > &g...
2015 Aug 28
3
[PATCH 0/2] v2v: vcenter: Calculate dcPath correctly (RHBZ#1256823).
Calculate dcPath correctly for vCenter conversions. Rich.
2015 Jan 10
0
Solaris 10 make check core dumps
...uot;[%d]->data = %s", - index, str_sanitize(chalo->data, 80)), + index, str_sanitize(chalo->data == NULL ? "NULL" : chalo->data, 80)), chalo->data == chalt->data); } else { test_out(t_strdup_printf("[%d]->data = %s", @@ -230,7 +230,7 @@ strcmp(out.scheme, test->scheme) == 0); if (out.data == NULL || test->data == NULL) { test_out(t_strdup_printf("->data = %s", - str_sanitize(out.data, 80)), + str_sanitize(out.data == NULL ? "NULL" : out.data, 80)), out.data == t...
2003 Jan 21
2
[patch] Two problems in testsuite (POSIX, perms)
...uot;', preserving the double +# quotes. Use echo "stuff: $(cat "$file")" instead. (OpenBSD) + # STILL TO DO: @@ -144,6 +148,8 @@ testuser=`whoami || echo UNKNOWN` +export testuser + echo " testuser=$testuser" echo " os=`uname -a`" @@ -230,7 +236,7 @@ ;; 77) # backticks will fill the whole file onto one line, which is a feature - echo "SKIP $testbase (`cat \"$scratchdir/whyskipped\"`)" + echo "SKIP $testbase ($(cat "$scratchdir/whyskipped"))" skipped=`expr $skipped + 1` maybe...
2011 Feb 11
1
[PATCH 1/3]: Staging: hv: Use native page allocation/free functions
...ng)vmbus_connection.monitor_pages, 1); /* TODO: iterate thru the msg list and free up */ destroy_workqueue(vmbus_connection.work_queue); diff --git a/drivers/staging/hv/hv.c b/drivers/staging/hv/hv.c index 021acba..419b4d6 100644 --- a/drivers/staging/hv/hv.c +++ b/drivers/staging/hv/hv.c @@ -230,7 +230,12 @@ int hv_init(void) * Allocate the hypercall page memory * virtaddr = osd_page_alloc(1); */ - virtaddr = osd_virtual_alloc_exec(PAGE_SIZE); +#ifdef __x86_64__ + virtaddr = __vmalloc(PAGE_SIZE, GFP_KERNEL, PAGE_KERNEL_EXEC); +#else + virtaddr = __vmalloc(PAGE_SIZE, GFP_KERNEL, +...
2011 Feb 11
1
[PATCH 1/3]: Staging: hv: Use native page allocation/free functions
...ng)vmbus_connection.monitor_pages, 1); /* TODO: iterate thru the msg list and free up */ destroy_workqueue(vmbus_connection.work_queue); diff --git a/drivers/staging/hv/hv.c b/drivers/staging/hv/hv.c index 021acba..419b4d6 100644 --- a/drivers/staging/hv/hv.c +++ b/drivers/staging/hv/hv.c @@ -230,7 +230,12 @@ int hv_init(void) * Allocate the hypercall page memory * virtaddr = osd_page_alloc(1); */ - virtaddr = osd_virtual_alloc_exec(PAGE_SIZE); +#ifdef __x86_64__ + virtaddr = __vmalloc(PAGE_SIZE, GFP_KERNEL, PAGE_KERNEL_EXEC); +#else + virtaddr = __vmalloc(PAGE_SIZE, GFP_KERNEL, +...
2019 Jan 01
2
[PATCH nbdkit] server: Use bool for types which are really booleans.
...) return -1; - conn->using_tls = 1; + conn->using_tls = true; debug ("using TLS on this connection"); } break; diff --git a/server/crypto.c b/server/crypto.c index 5b01684..4638a69 100644 --- a/server/crypto.c +++ b/server/crypto.c @@ -230,7 +230,7 @@ start_psk (void) * and loading the server certificate. */ void -crypto_init (int tls_set_on_cli) +crypto_init (bool tls_set_on_cli) { int err, r; const char *what; @@ -521,7 +521,7 @@ crypto_negotiate_tls (struct connection *conn, int sockin, int sockout) */ void -crypt...