search for: 90,11

Displaying 20 results from an estimated 43 matches for "90,11".

Did you mean: 9,11
2012 Sep 05
4
[patch] virtio-blk: fix NULL checking in virtblk_alloc_req()
...return NULL on failure. Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com> --- This is only needed in linux-next. diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c index 2edfb5c..457db0c 100644 --- a/drivers/block/virtio_blk.c +++ b/drivers/block/virtio_blk.c @@ -90,10 +90,11 @@ static inline struct virtblk_req *virtblk_alloc_req(struct virtio_blk *vblk, struct virtblk_req *vbr; vbr = mempool_alloc(vblk->pool, gfp_mask); - if (vbr && use_bio) - sg_init_table(vbr->sg, vblk->sg_elems); + if (!vbr) + return NULL; - vbr->vblk = vblk;...
2012 Sep 05
4
[patch] virtio-blk: fix NULL checking in virtblk_alloc_req()
...return NULL on failure. Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com> --- This is only needed in linux-next. diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c index 2edfb5c..457db0c 100644 --- a/drivers/block/virtio_blk.c +++ b/drivers/block/virtio_blk.c @@ -90,10 +90,11 @@ static inline struct virtblk_req *virtblk_alloc_req(struct virtio_blk *vblk, struct virtblk_req *vbr; vbr = mempool_alloc(vblk->pool, gfp_mask); - if (vbr && use_bio) - sg_init_table(vbr->sg, vblk->sg_elems); + if (!vbr) + return NULL; - vbr->vblk = vblk;...
2019 Feb 20
4
[PATCH] drm/qxl: unbind vgacon
...c index bb81e310eb..88349dc13e 100644 --- a/drivers/gpu/drm/qxl/qxl_drv.c +++ b/drivers/gpu/drm/qxl/qxl_drv.c @@ -30,6 +30,7 @@ #include <linux/module.h> #include <linux/console.h> +#include <linux/vt_kern.h> #include <drm/drmP.h> #include <drm/drm.h> @@ -89,6 +90,11 @@ qxl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) drm_kms_helper_poll_init(&qdev->ddev); + /* unbind vgacon to make sure it doesn't touch our vga registers */ + console_lock(); + ret = do_take_over_console(&dummy_con, 0, MAX_NR_CONSOLES - 1, true); + co...
2019 Feb 20
4
[PATCH] drm/qxl: unbind vgacon
...c index bb81e310eb..88349dc13e 100644 --- a/drivers/gpu/drm/qxl/qxl_drv.c +++ b/drivers/gpu/drm/qxl/qxl_drv.c @@ -30,6 +30,7 @@ #include <linux/module.h> #include <linux/console.h> +#include <linux/vt_kern.h> #include <drm/drmP.h> #include <drm/drm.h> @@ -89,6 +90,11 @@ qxl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) drm_kms_helper_poll_init(&qdev->ddev); + /* unbind vgacon to make sure it doesn't touch our vga registers */ + console_lock(); + ret = do_take_over_console(&dummy_con, 0, MAX_NR_CONSOLES - 1, true); + co...
2016 Jun 13
1
[PATCH v2] sysprep: Add --network to enable the network (RHBZ#1345813).
...) cmd = if not guest_arch_compatible then error (f_"host cpu (%s) and guest arch (%s) are not compatible, so you cannot use command line options that involve running commands in the guest. Use --firstboot scripts instead.") Guestfs_config.host_cpu guest_arch; @@ -90,6 +90,11 @@ exec >>%s 2>&1 with Guestfs.Error msg -> debug_logfile (); + if warn_failed_no_network && not (g#get_network ()) then ( + prerr_newline (); + warning (f_"the command may have failed because the network is disable...
2019 Jun 03
0
[PATCH] drm/nouveau/kms/nv50-: remove overlay alpha formats
...based selection, not alpha-blending. Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> --- This applies on top of the FP16 patch I sent earlier. drivers/gpu/drm/nouveau/dispnv50/ovly507e.c | 2 -- drivers/gpu/drm/nouveau/dispnv50/ovly827e.c | 3 --- drivers/gpu/drm/nouveau/dispnv50/ovly907e.c | 4 ---- drivers/gpu/drm/nouveau/dispnv50/ovly917e.c | 5 ----- 4 files changed, 14 deletions(-) diff --git a/drivers/gpu/drm/nouveau/dispnv50/ovly507e.c b/drivers/gpu/drm/nouveau/dispnv50/ovly507e.c index cc417664f823..9c074db9b5be 100644 --- a/drivers/gpu/drm/nouveau/dispnv50/ovly507e.c +++...
2016 Jan 06
0
[PATCH klibc] gzip: Fix silent fallback to decompression
...case. Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/gzip/gzip.c | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/usr/gzip/gzip.c b/usr/gzip/gzip.c index ab73de0..d0c7e00 100644 --- a/usr/gzip/gzip.c +++ b/usr/gzip/gzip.c @@ -90,8 +90,11 @@ int level = 6; /* compression level */ #endif int to_stdout; /* output to stdout (-c) */ -#ifndef decompress +#ifdef decompress +int decompress_wanted; +#else int decompress; /* decompress (-d) */ +#define decompress_wanted decompress #endif int force;...
2016 Jan 06
0
[klibc:master] gzip: Fix silent fallback to decompression
...> Signed-off-by: H. Peter Anvin <hpa at linux.intel.com> --- usr/gzip/gzip.c | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/usr/gzip/gzip.c b/usr/gzip/gzip.c index ab73de0..d0c7e00 100644 --- a/usr/gzip/gzip.c +++ b/usr/gzip/gzip.c @@ -90,8 +90,11 @@ int level = 6; /* compression level */ #endif int to_stdout; /* output to stdout (-c) */ -#ifndef decompress +#ifdef decompress +int decompress_wanted; +#else int decompress; /* decompress (-d) */ +#define decompress_wanted decompress #endif int force;...
2020 Mar 28
0
[klibc:update-dash] dash: var: Set IFS to fixed value at start time
...cal/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"; -#ifdef IFS_BROKEN -const char defifsvar[] = "IFS= \t\n"; -#else -const char defifs[] = " \t\n"; -#endif +char defifsvar[] = "IFS= \t\n"; MKINIT char defoptindvar[] = "OPTIND=1"; int lineno; @@ -90,11 +86,7 @@ struct var varinit[] = { #if ATTY { 0, VSTRFIXED|VTEXTFIXED|VUNSET, "ATTY\0", 0 }, #endif -#ifdef IFS_BROKEN { 0, VSTRFIXED|VTEXTFIXED, defifsvar, 0 }, -#else - { 0, VSTRFIXED|VTEXTFIXED|VUNSET, "IFS\0", 0 }, -#endif { 0, VSTRFIXED|VTEXTFIXED|VUNSET, "M...
2019 Feb 21
0
[PATCH] drm/qxl: unbind vgacon
...s/gpu/drm/qxl/qxl_drv.c > +++ b/drivers/gpu/drm/qxl/qxl_drv.c > @@ -30,6 +30,7 @@ > > #include <linux/module.h> > #include <linux/console.h> > +#include <linux/vt_kern.h> > > #include <drm/drmP.h> > #include <drm/drm.h> > @@ -89,6 +90,11 @@ qxl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) > > drm_kms_helper_poll_init(&qdev->ddev); > > + /* unbind vgacon to make sure it doesn't touch our vga registers */ > + console_lock(); > + ret = do_take_over_console(&dummy_con, 0, MA...
2014 Nov 21
0
[RFC PATCHv1] armv7: celt_pitch_xcorr: Introduce ARM neon intrinsics
...M_NEON_INTR +celt_tests_test_unit_rotation_LDADD += ./libarmneon.la +endif endif celt_tests_test_unit_types_SOURCES = celt/tests/test_unit_types.c diff --git a/celt/_kiss_fft_guts.h b/celt/_kiss_fft_guts.h index 5e3d58f..11a2676 100644 --- a/celt/_kiss_fft_guts.h +++ b/celt/_kiss_fft_guts.h @@ -90,11 +90,11 @@ do {(res).r = ADD32((res).r,(a).r); (res).i = SUB32((res).i,(a).i); \ }while(0) -#if defined(OPUS_ARM_INLINE_ASM) +#if defined(OPUS_ARM_INLINE_ASM) && defined(FIXED_POINT) #include "arm/kiss_fft_armv4.h" #endif -#if defined(OPUS_ARM_INLINE_EDSP) +#if...
2014 Mar 20
5
[PATCH 1/3] builder/virt-index-validate: try to cleanup in any occasion
Always close the file (ignoring its result) after a parsing, and cleanup the parse_context object before any exit(). This eases the debugging of memory issues in the actual parser. --- builder/index-validate.c | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/builder/index-validate.c b/builder/index-validate.c index 4b7fe93..fed0f81 100644 ---
2006 May 05
3
kinit cmdline handling change
...76,12 @@ if ( cmdv ) cmdv[0] = argv[0]; + for (a = 1; a < argc && v < vmax; a++) { + if ( cmdv ) + cmdv[v] = argv[a]; + v++; + } + while (i && *i && v < vmax) { if ((*i == ' ' || *i == '\t') && !was_space) { if ( cmdv ) @@ -90,11 +96,6 @@ i++; } - for (a = 1; a < argc && v < vmax; a++) { - if ( cmdv ) - cmdv[v] = argv[a]; - v++; - } if ( cmdv ) cmdv[v] = NULL;
2015 Aug 05
0
[PATCH 7/8] Add Neon intrinsics for Silk noise shape feedback loop.
...p +#define silk_NSQ_noise_shape_feedback_loop(data0, data1, coef, order, arch) ((void)arch,silk_NSQ_noise_shape_feedback_loop_neon(data0, data1, coef, order)) + #elif OPUS_HAVE_RTCD /* silk_noise_shape_quantizer_short_prediction implementations take different parameters based on arch @@ -85,6 +90,11 @@ opus_int32 silk_noise_shape_quantizer_short_prediction_neon(const opus_int32 *bu #undef silk_noise_shape_quantizer_short_prediction #define silk_noise_shape_quantizer_short_prediction(in, coef, coefRev, order, arch) (arch == 3 ? silk_noise_shape_quantizer_short_prediction_neon(in, coefRev)...
2015 Nov 21
0
[Aarch64 v2 06/18] Add Neon intrinsics for Silk noise shape feedback loop.
...p +#define silk_NSQ_noise_shape_feedback_loop(data0, data1, coef, order, arch) ((void)arch,silk_NSQ_noise_shape_feedback_loop_neon(data0, data1, coef, order)) + #elif OPUS_HAVE_RTCD /* silk_noise_shape_quantizer_short_prediction implementations take different parameters based on arch @@ -85,6 +90,11 @@ opus_int32 silk_noise_shape_quantizer_short_prediction_neon(const opus_int32 *bu #undef silk_noise_shape_quantizer_short_prediction #define silk_noise_shape_quantizer_short_prediction(in, coef, coefRev, order, arch) (arch == 3 ? silk_noise_shape_quantizer_short_prediction_neon(in, coefRev)...
2017 Apr 25
1
[PATCH supermin v2] init: Support root=UUID=... to specify the appliance disk by volume UUID.
v1 -> v2: - I fixed the end condition of the loop in parse_root_uuid. - Retested. Didn't change the busy wait loop into a function or macro, as per discussion on IRC. Rich.
2017 Apr 19
1
[PATCH supermin] init: Support root=UUID=... to specify the appliance disk by volume UUID.
...c b/init/init.c index ddfc437..3885cc6 100644 --- a/init/init.c +++ b/init/init.c @@ -28,6 +28,7 @@ #include <stdlib.h> #include <stdint.h> #include <string.h> +#include <ctype.h> #include <inttypes.h> #include <limits.h> #include <unistd.h> @@ -89,6 +90,11 @@ static void read_cmdline (void); static void insmod (const char *filename); static void delete_initramfs_files (void); static void show_directory (const char *dir); +static void parse_root_uuid (const char *uuid, unsigned char *raw_uuid); +static int hexdigit (char d); +static int find_fs_...
2020 Mar 26
0
[PATCH nbdkit 5/9 patch split 5/5] server: Indirect slow path, non-self-contained functions through the server.
...t do_nbdkit_peer_name; +extern do_nbdkit_set_error_t do_nbdkit_set_error; +extern do_nbdkit_shutdown_t do_nbdkit_shutdown; extern do_nbdkit_verror_t do_nbdkit_verror; extern threadlocal_get_name_t threadlocal_get_name; extern threadlocal_get_instance_num_t threadlocal_get_instance_num; @@ -80,6 +90,11 @@ extern int replace_vfprintf (FILE *f, const char *fmt, va_list args) */ extern void libnbdkit_private_init (const char *expected_version, bool *verbose, + do_nbdkit_export_name_t do_nbdkit_export_name, +...
2014 Nov 21
4
[RFC PATCHv1] cover: celt_pitch_xcorr: Introduce ARM neon intrinsics
Hello, I received feedback from engineers working on NE10 [1] that it would be better to use NE10 [1] for FFT optimizations for opus use cases. However, these FFT patches are currently in review and haven't been integrated into NE10 yet. While the FFT functions in NE10 are getting baked, I wanted to optimize the celt_pitch_xcorr (floating point only) and use it to introduce ARM NEON
2019 Oct 04
0
[RESEND TRIVIAL 3/3] treewide: arch: Fix Kconfig indentation
...at the compiler has support for "asm goto", the kernel will compile such branches with just a nop instruction. When the condition flag is toggled to true, the nop will be converted to a jump instruction to execute the diff --git a/arch/alpha/Kconfig b/arch/alpha/Kconfig index ef179033a7c2..30a6291355cb 100644 --- a/arch/alpha/Kconfig +++ b/arch/alpha/Kconfig @@ -545,7 +545,7 @@ config NR_CPUS default "4" if !ALPHA_GENERIC && !ALPHA_MARVEL help MARVEL support can handle a maximum of 32 CPUs, all the others - with working support have a maximum...