search for: 143,10

Displaying 20 results from an estimated 62 matches for "143,10".

Did you mean: 14,10
2008 Mar 20
3
[RFC/PATCH 14/15] guest: detect when running on kvm
...+ help + Select this option if you want to run the kernel under s390 linux endmenu source "net/Kconfig" Index: kvm/arch/s390/kernel/early.c =================================================================== --- kvm.orig/arch/s390/kernel/early.c +++ kvm/arch/s390/kernel/early.c @@ -143,6 +143,10 @@ static noinline __init void detect_machi /* Running on a P/390 ? */ if (cpuinfo->cpu_id.machine == 0x7490) machine_flags |= 4; + + /* Running under KVM ? */ + if (cpuinfo->cpu_id.version == 0xfe) + machine_flags |= 64; } #ifdef CONFIG_64BIT Index: kvm/arch/s390/kernel...
2008 Mar 20
3
[RFC/PATCH 14/15] guest: detect when running on kvm
...+ help + Select this option if you want to run the kernel under s390 linux endmenu source "net/Kconfig" Index: kvm/arch/s390/kernel/early.c =================================================================== --- kvm.orig/arch/s390/kernel/early.c +++ kvm/arch/s390/kernel/early.c @@ -143,6 +143,10 @@ static noinline __init void detect_machi /* Running on a P/390 ? */ if (cpuinfo->cpu_id.machine == 0x7490) machine_flags |= 4; + + /* Running under KVM ? */ + if (cpuinfo->cpu_id.version == 0xfe) + machine_flags |= 64; } #ifdef CONFIG_64BIT Index: kvm/arch/s390/kernel...
2004 Aug 06
1
BUG: sending bad buf's in MP3
In format_mp3.c tatic int format_mp3_write_buf_to_client(format_plugin_t *self, client_t *client, unsigned char *buf, int len) { int ret; if(((mp3_state *)self->_state)->metadata) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This is always true because previously it did state->metadata = strdup("") in format_mp3_get_plugin(). It causes annoying artifacts in xmms
2017 Mar 17
1
[PATCH] tty: hvc: don't allocate a buffer for console print on stack
.../tty/hvc/hvc_console.c | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/drivers/tty/hvc/hvc_console.c b/drivers/tty/hvc/hvc_console.c > index 9b5c0fb..1ce6aaf 100644 > --- a/drivers/tty/hvc/hvc_console.c > +++ b/drivers/tty/hvc/hvc_console.c > @@ -143,10 +143,15 @@ static struct hvc_struct *hvc_get_by_index(int index) > static void hvc_console_print(struct console *co, const char *b, > unsigned count) > { > - char c[N_OUTBUF] __ALIGNED__; > unsigned i = 0, n = 0; > int r, donecr = 0, index = co->index; >...
2017 Mar 17
1
[PATCH] tty: hvc: don't allocate a buffer for console print on stack
.../tty/hvc/hvc_console.c | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/drivers/tty/hvc/hvc_console.c b/drivers/tty/hvc/hvc_console.c > index 9b5c0fb..1ce6aaf 100644 > --- a/drivers/tty/hvc/hvc_console.c > +++ b/drivers/tty/hvc/hvc_console.c > @@ -143,10 +143,15 @@ static struct hvc_struct *hvc_get_by_index(int index) > static void hvc_console_print(struct console *co, const char *b, > unsigned count) > { > - char c[N_OUTBUF] __ALIGNED__; > unsigned i = 0, n = 0; > int r, donecr = 0, index = co->index; >...
2007 Jul 11
0
libswfdec/swfdec_movie.c
...: Benjamin Otte <otte at gnome.org> Date: Wed Jul 11 15:57:49 2007 +0200 fix segfault when rotation isn't a finite value diff --git a/libswfdec/swfdec_movie.c b/libswfdec/swfdec_movie.c index 53b47c2..5bde15a 100644 --- a/libswfdec/swfdec_movie.c +++ b/libswfdec/swfdec_movie.c @@ -143,8 +143,10 @@ swfdec_movie_update_matrix (SwfdecMovie d = movie->xscale / swfdec_matrix_get_xscale (&movie->content->transform); e = movie->yscale / swfdec_matrix_get_yscale (&movie->content->transform); cairo_matrix_scale (&movie->matrix, d, e); - d = mov...
2001 May 19
0
More scp changes
...t. This returns < 0 if execution fails, and >= 0 otherwise. This + * given host. If host is NULL, execute the command locally without using + * ssh. This returns < 0 if execution fails, and >= 0 otherwise. This * assigns the input and output file descriptors on success. */ @@ -143,10 +144,14 @@ { int pin[2], pout[2], reserved[2]; - if (verbose_mode) - fprintf(stderr, "Executing: program %s host %s, user %s, command %s\n", - ssh_program, host, remuser ? remuser : "(unspecified)", cmd); - + if (verbose_mode) { + if (host) { + fprintf(stderr, &...
2007 Jul 11
0
Branch 'as' - 3 commits - libswfdec/swfdec_bits.c
...: Benjamin Otte <otte at gnome.org> Date: Wed Jul 11 15:57:49 2007 +0200 fix segfault when rotation isn't a finite value diff --git a/libswfdec/swfdec_movie.c b/libswfdec/swfdec_movie.c index 53b47c2..5bde15a 100644 --- a/libswfdec/swfdec_movie.c +++ b/libswfdec/swfdec_movie.c @@ -143,8 +143,10 @@ swfdec_movie_update_matrix (SwfdecMovie d = movie->xscale / swfdec_matrix_get_xscale (&movie->content->transform); e = movie->yscale / swfdec_matrix_get_yscale (&movie->content->transform); cairo_matrix_scale (&movie->matrix, d, e); - d = mov...
2012 Apr 02
0
[LLVMdev] [PATCH] Output UTF-8-encoded characters as identifier characters into assembly by default.
...smInfo.cpp | 1 + lib/Target/Mangler.cpp | 11 +++++++---- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/include/llvm/MC/MCAsmInfo.h b/include/llvm/MC/MCAsmInfo.h index 095ca14..0f67c99 100644 --- a/include/llvm/MC/MCAsmInfo.h +++ b/include/llvm/MC/MCAsmInfo.h @@ -143,6 +143,10 @@ namespace llvm { /// symbol names. This defaults to true. bool AllowPeriodsInName; + /// AllowUTF8 - This is true if the assembler accepts UTF-8 input. + // FIXME: Make this a more general encoding setting? + bool AllowUTF8; + //===--- Data Emission Directive...
2016 Jun 09
0
dfree is broken on this system
...dfree_q = dfree_q * bsize_q / min_bsize; > dsize_q = dsize_q * bsize_q / min_bsize; > > So far the error has not been logged. I am getting output such as: > > [2016/06/08 11:56:52.493274, 0] ../source3/smbd/dfree.c:127(sys_disk_free) > dsize 0 bsize 1143062772 dfree 0 > > [2016/06/08 12:01:50.331024, 0] ../source3/smbd/dfree.c:127(sys_disk_free) > dsize 0 bsize 1795693380 dfree 0 > > I will wait until the error is logged and then see what things look like. > Perhaps degugging statements in different locations will be needed...
2002 Jan 31
7
x509 for hostkeys.
...ey.c 31 Jan 2002 10:26:53 -0000 @@ -53,10 +53,12 @@ RSA *rsa; DSA *dsa; k = xmalloc(sizeof(*k)); + memset(k, 0, sizeof(*k)); k->type = type; k->flags = 0; k->dsa = NULL; k->rsa = NULL; + k->x509 = NULL; switch (k->type) { case KEY_RSA1: case KEY_RSA: @@ -141,6 +143,10 @@ fatal("key_free: bad key type %d", k->type); break; } + if (k->x509 != NULL) { + X509_free(k->x509); + k->x509 = NULL; + } xfree(k); } int @@ -538,6 +544,8 @@ { switch (k->type) { case KEY_RSA: + if (k->x509) + return "x509v3-sign-rsa&quo...
2019 May 02
4
[PATCH v3 04/10] drm: Convert connector_helper_funcs->atomic_check to accept drm_atomic_state
...te->crtc); /* * These properties are handled by fastset, and might not end diff --git a/drivers/gpu/drm/i915/intel_dp_mst.c b/drivers/gpu/drm/i915/intel_dp_mst.c index 19d81cef2ab6..89cfec128ba0 100644 --- a/drivers/gpu/drm/i915/intel_dp_mst.c +++ b/drivers/gpu/drm/i915/intel_dp_mst.c @@ -143,9 +143,10 @@ static int intel_dp_mst_compute_config(struct intel_encoder *encoder, static int intel_dp_mst_atomic_check(struct drm_connector *connector, - struct drm_connector_state *new_conn_state) + struct drm_atomic_state *state) { - struct drm_atomic_state *state = new_conn_state-&...
2020 Oct 17
1
[PATCH] Use guestfsd binary to auto-generate library dependencies for appliance
...cons iproute2 iputils - libcap2 - libhivex0 - libjansson4 - libselinux1 - libtirpc3 - libyara3 mkisofs ntfsprogs ntfs-3g @@ -167,11 +133,9 @@ ifelse(SUSE,1, systemd vim xz - yara ) ifelse(FRUGALWARE,1, - augeas cryptsetup-luks cdrkit dhclient @@ -179,14 +143,10 @@ ifelse(FRUGALWARE,1, hfsplus iproute2 iputils - jansson kernel - libcap - libtirpc ntfsprogs ntfs-3g openssh - pcre reiserfsprogs systemd vim @@ -197,7 +157,6 @@ ifelse(FRUGALWARE,1, ) ifelse(MAGEIA,1, - augeas cryptsetup chkconfig /* for /etc/init...
2019 May 13
2
[PATCH v3 04/10] drm: Convert connector_helper_funcs->atomic_check to accept drm_atomic_state
...dled by fastset, and might not end > > diff --git a/drivers/gpu/drm/i915/intel_dp_mst.c b/drivers/gpu/drm/i915/intel_dp_mst.c > > index 19d81cef2ab6..89cfec128ba0 100644 > > --- a/drivers/gpu/drm/i915/intel_dp_mst.c > > +++ b/drivers/gpu/drm/i915/intel_dp_mst.c > > @@ -143,9 +143,10 @@ static int intel_dp_mst_compute_config(struct intel_encoder *encoder, > > > > static int > > intel_dp_mst_atomic_check(struct drm_connector *connector, > > - struct drm_connector_state *new_conn_state) > > + st...
2017 Nov 14
2
[RFC PATCH] nouveau/compiler: Allow to omit line numbers when printing instructions
...hipset, int type, struct tgsi_token tokens[], info.optLevel = debug_get_num_option("NV50_PROG_OPTIMIZE", 3); info.dbgFlags = debug_get_num_option("NV50_PROG_DEBUG", 0); + info.omitLineNum = omitLineNum; ret = nv50_ir_generate_code(&info); if (ret) { @@ -143,10 +144,13 @@ main(int argc, char *argv[]) FILE *f; char text[65536] = {0}; unsigned size = 0, *code = NULL; + bool omitLineNum = false; for (i = 1; i < argc; i++) { if (!strcmp(argv[i], "-a")) chipset = strtol(argv[++i], NULL, 16); + if (!strc...
2019 May 13
2
[PATCH v3 04/10] drm: Convert connector_helper_funcs->atomic_check to accept drm_atomic_state
...dled by fastset, and might not end > > diff --git a/drivers/gpu/drm/i915/intel_dp_mst.c b/drivers/gpu/drm/i915/intel_dp_mst.c > > index 19d81cef2ab6..89cfec128ba0 100644 > > --- a/drivers/gpu/drm/i915/intel_dp_mst.c > > +++ b/drivers/gpu/drm/i915/intel_dp_mst.c > > @@ -143,9 +143,10 @@ static int intel_dp_mst_compute_config(struct intel_encoder *encoder, > > > > static int > > intel_dp_mst_atomic_check(struct drm_connector *connector, > > - struct drm_connector_state *new_conn_state) > > + struct drm_atomic_state *state) >...
2017 Nov 14
0
[RFC PATCH] nouveau/compiler: Allow to omit line numbers when printing instructions
...tokens[], > > info.optLevel = debug_get_num_option("NV50_PROG_OPTIMIZE", 3); > info.dbgFlags = debug_get_num_option("NV50_PROG_DEBUG", 0); > + info.omitLineNum = omitLineNum; > > ret = nv50_ir_generate_code(&info); > if (ret) { > @@ -143,10 +144,13 @@ main(int argc, char *argv[]) > FILE *f; > char text[65536] = {0}; > unsigned size = 0, *code = NULL; > + bool omitLineNum = false; > > for (i = 1; i < argc; i++) { > if (!strcmp(argv[i], "-a")) > chipset = strtol(...
2013 Aug 11
2
Fixing nouveau for >4k PAGE_SIZE
...addr = sg_dma_address(sg) + (m << shift); vmm->map_sg(vma, pgt, mem, pte, 1, &addr); num--; @@ -136,6 +137,7 @@ finish: vmm->flush(vm); } +#if PAGE_SHIFT == 12 void nouveau_vm_map_sg(struct nouveau_vma *vma, u64 delta, u64 length, struct nouveau_mem *mem) @@ -143,10 +145,11 @@ nouveau_vm_map_sg(struct nouveau_vma *vma, u64 delta, u64 length, struct nouveau_vm *vm = vma->vm; struct nouveau_vmmgr *vmm = vm->vmm; dma_addr_t *list = mem->pages; - int big = vma->node->type != vmm->spg_shift; + u32 shift = vma->node->type; + int big...
2009 Dec 13
3
[PATCH] drm/nouveau: use drm debug levels
...nouveau_fbcon_probe(struct drm_device *dev) { - NV_DEBUG(dev, "\n"); + NV_DEBUG_KMS(dev, "\n"); return drm_fb_helper_single_fb_probe(dev, 32, nouveau_fbcon_create); } diff --git a/drivers/gpu/drm/nouveau/nv04_crtc.c b/drivers/gpu/drm/nouveau/nv04_crtc.c index b913636..d2f143e 100644 --- a/drivers/gpu/drm/nouveau/nv04_crtc.c +++ b/drivers/gpu/drm/nouveau/nv04_crtc.c @@ -143,10 +143,10 @@ static void nv_crtc_calc_state_ext(struct drm_crtc *crtc, struct drm_display_mod state->pllsel |= nv_crtc->index ? PLLSEL_VPLL2_MASK : PLLSEL_VPLL1_MASK; if (pv->NM2) -...
2019 May 11
0
[PATCH v3 04/10] drm: Convert connector_helper_funcs->atomic_check to accept drm_atomic_state
...These properties are handled by fastset, and might not end > diff --git a/drivers/gpu/drm/i915/intel_dp_mst.c b/drivers/gpu/drm/i915/intel_dp_mst.c > index 19d81cef2ab6..89cfec128ba0 100644 > --- a/drivers/gpu/drm/i915/intel_dp_mst.c > +++ b/drivers/gpu/drm/i915/intel_dp_mst.c > @@ -143,9 +143,10 @@ static int intel_dp_mst_compute_config(struct intel_encoder *encoder, > > static int > intel_dp_mst_atomic_check(struct drm_connector *connector, > - struct drm_connector_state *new_conn_state) > + struct drm_atomic_state *state) > { > - struct drm_ato...