Displaying 20 results from an estimated 160 matches for "209,6".
Did you mean:
201,6
2023 Oct 07
1
[PATCH] drm/nouveau/dispnv04: fix a possible null pointer dereference
...u/dispnv04/tvnv17.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/nouveau/dispnv04/tvnv17.c b/drivers/gpu/drm/nouveau/dispnv04/tvnv17.c
index 670c9739e5e1..4a08e61f3336 100644
--- a/drivers/gpu/drm/nouveau/dispnv04/tvnv17.c
+++ b/drivers/gpu/drm/nouveau/dispnv04/tvnv17.c
@@ -209,6 +209,8 @@ static int nv17_tv_get_ld_modes(struct drm_encoder *encoder,
struct drm_display_mode *mode;
mode = drm_mode_duplicate(encoder->dev, tv_mode);
+ if (!mode)
+ continue;
mode->clock = tv_norm->tv_enc_mode.vrefresh *
mode->htotal / 1000 *
--
2.37.2
2024 Sep 13
1
[PATCH v3 1/2] drm/panic: Add ABGR2101010 support
...e <jfalempe at redhat.com>
---
drivers/gpu/drm/drm_panic.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/drivers/gpu/drm/drm_panic.c b/drivers/gpu/drm/drm_panic.c
index 74412b7bf936..0a9ecc1380d2 100644
--- a/drivers/gpu/drm/drm_panic.c
+++ b/drivers/gpu/drm/drm_panic.c
@@ -209,6 +209,14 @@ static u32 convert_xrgb8888_to_argb2101010(u32 pix)
return GENMASK(31, 30) /* set alpha bits */ | pix | ((pix >> 8) & 0x00300C03);
}
+static u32 convert_xrgb8888_to_abgr2101010(u32 pix)
+{
+ pix = ((pix & 0x00FF0000) >> 14) |
+ ((pix & 0x0000FF00) <...
2024 Sep 13
1
[PATCH v3 1/2] drm/panic: Add ABGR2101010 support
...t; drivers/gpu/drm/drm_panic.c | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/drivers/gpu/drm/drm_panic.c b/drivers/gpu/drm/drm_panic.c
> index 74412b7bf936..0a9ecc1380d2 100644
> --- a/drivers/gpu/drm/drm_panic.c
> +++ b/drivers/gpu/drm/drm_panic.c
> @@ -209,6 +209,14 @@ static u32 convert_xrgb8888_to_argb2101010(u32 pix)
> return GENMASK(31, 30) /* set alpha bits */ | pix | ((pix >> 8) & 0x00300C03);
> }
>
> +static u32 convert_xrgb8888_to_abgr2101010(u32 pix)
> +{
> + pix = ((pix & 0x00FF0000) >> 14) |
>...
2024 Sep 13
1
[PATCH v3 1/2] drm/panic: Add ABGR2101010 support
....c | 10 ++++++++++
>> 1 file changed, 10 insertions(+)
>>
>> diff --git a/drivers/gpu/drm/drm_panic.c b/drivers/gpu/drm/drm_panic.c
>> index 74412b7bf936..0a9ecc1380d2 100644
>> --- a/drivers/gpu/drm/drm_panic.c
>> +++ b/drivers/gpu/drm/drm_panic.c
>> @@ -209,6 +209,14 @@ static u32 convert_xrgb8888_to_argb2101010(u32 pix)
>> return GENMASK(31, 30) /* set alpha bits */ | pix | ((pix >> 8) & 0x00300C03);
>> }
>>
>> +static u32 convert_xrgb8888_to_abgr2101010(u32 pix)
>> +{
>> + pix = ((pix & 0x00F...
2004 Feb 04
3
[PATCH] Adding ocfs support to blkid
...ot;SWAPSPACE2", 0 },
+ { "ocfs2", 0, 8, 9, "OracleCFS", probe_ocfs },
{ NULL, 0, 0, 0, NULL, NULL }
};
diff -Nru a/lib/blkid/probe.h b/lib/blkid/probe.h
--- a/lib/blkid/probe.h Wed Feb 4 00:21:03 2004
+++ b/lib/blkid/probe.h Wed Feb 4 00:21:03 2004
@@ -209,6 +209,27 @@
__u32 h_blksize;
};
+struct ocfs_volume_header {
+ u_char minor_version[4];
+ u_char major_version[4];
+ u_char signature[128];
+ u_char mount[128];
+ u_char mount_len[2];
+};
+
+struct ocfs_volume_label {
+ u_char disk_lock[48];
+ u_char label[64];
+ u_char label_len[2];
+ u_c...
2020 Aug 13
2
[PATCH 12/20] drm/radeon: Introduce GEM object functions
...rime_vunmap,
> +};
> +
Same comment as for amdgpu, please put that into radeon_gem.c instead.
Christian.
> int radeon_bo_create(struct radeon_device *rdev,
> unsigned long size, int byte_align, bool kernel,
> u32 domain, u32 flags, struct sg_table *sg,
> @@ -209,6 +234,7 @@ int radeon_bo_create(struct radeon_device *rdev,
> bo = kzalloc(sizeof(struct radeon_bo), GFP_KERNEL);
> if (bo == NULL)
> return -ENOMEM;
> + bo->tbo.base.funcs = &radeon_gem_object_funcs;
> drm_gem_private_object_init(rdev->ddev, &bo->tbo.b...
2013 Sep 08
3
[PATCH 1/2] drm/nouveau/therm: ack any pending IRQ at init
...e/subdev/therm/nv84.c
@@ -126,7 +126,7 @@ nv84_therm_intr(struct nouveau_subdev *subdev)
spin_lock_irqsave(&priv->sensor.alarm_program_lock, flags);
- intr = nv_rd32(therm, 0x20100);
+ intr = nv_rd32(therm, 0x20100) & 0x3ff;
/* THRS_4: downclock */
if (intr & 0x002) {
@@ -209,6 +209,19 @@ nv84_therm_ctor(struct nouveau_object *parent,
return nouveau_therm_preinit(&priv->base.base);
}
+int
+nv84_therm_fini(struct nouveau_object *object, bool suspend)
+{
+ /* Disable PTherm IRQs */
+ nv_wr32(object, 0x20000, 0x00000000);
+
+ /* ACK all PTherm IRQs */
+ nv_wr32...
2019 Jun 06
1
[libnbd PATCH] tls: Check for pending bytes in gnutls buffers
...173f 100644
--- a/lib/crypto.c
+++ b/lib/crypto.c
@@ -181,6 +181,12 @@ tls_send (struct nbd_handle *h,
return r;
}
+static bool
+tls_pending (struct socket *sock)
+{
+ return gnutls_record_check_pending (sock->u.tls.session) > 0;
+}
+
static int
tls_get_fd (struct socket *sock)
{
@@ -209,6 +215,7 @@ tls_close (struct socket *sock)
static struct socket_ops crypto_ops = {
.recv = tls_recv,
.send = tls_send,
+ .pending = tls_pending,
.get_fd = tls_get_fd,
.close = tls_close,
};
diff --git a/lib/internal.h b/lib/internal.h
index 5b6152b..61ddbde 100644
--- a/lib/internal...
2007 Apr 18
1
[PATCH 1/5] Add pagetable allocation notifiers
...e(kpte_page, address);
}
Index: linux-2.6.13/arch/i386/mm/pgtable.c
===================================================================
--- linux-2.6.13.orig/arch/i386/mm/pgtable.c 2005-08-24 09:31:05.000000000 -0700
+++ linux-2.6.13/arch/i386/mm/pgtable.c 2005-08-24 09:40:22.000000000 -0700
@@ -209,6 +209,7 @@ void pgd_ctor(void *pgd, kmem_cache_t *c
if (PTRS_PER_PMD == 1) {
memset(pgd, 0, USER_PTRS_PER_PGD*sizeof(pgd_t));
+ SetPagePDE(virt_to_page(pgd));
spin_lock_irqsave(&pgd_lock, flags);
}
@@ -227,6 +228,7 @@ void pgd_dtor(void *pgd, kmem_cache_t *c
{
unsigned long f...
2007 Apr 18
1
[PATCH 1/5] Add pagetable allocation notifiers
...e(kpte_page, address);
}
Index: linux-2.6.13/arch/i386/mm/pgtable.c
===================================================================
--- linux-2.6.13.orig/arch/i386/mm/pgtable.c 2005-08-24 09:31:05.000000000 -0700
+++ linux-2.6.13/arch/i386/mm/pgtable.c 2005-08-24 09:40:22.000000000 -0700
@@ -209,6 +209,7 @@ void pgd_ctor(void *pgd, kmem_cache_t *c
if (PTRS_PER_PMD == 1) {
memset(pgd, 0, USER_PTRS_PER_PGD*sizeof(pgd_t));
+ SetPagePDE(virt_to_page(pgd));
spin_lock_irqsave(&pgd_lock, flags);
}
@@ -227,6 +228,7 @@ void pgd_dtor(void *pgd, kmem_cache_t *c
{
unsigned long f...
2016 Nov 22
2
Re: [PATCH v2 4/6] New API: internal_yara_scan
...== ERROR_SUCCESS)
> + ret = send_file_end (0); /* File transfer end. */
> + else
> + send_file_end (1); /* Cancel file transfer. */
> +
> + return 0;
> +}
> +
> /* Upload rules file on a temporary file.
> * Return 0 on success, -1 on error.
> */
> @@ -209,6 +244,58 @@ compile_error_callback(int level, const char *name, int line,
> fprintf (stderr, "(%d): Yara warning: %s\n", line, message);
> }
>
> +/* Yara scan callback, called by yr_rules_scan_file.
> + * Return 0 on success, -1 on error.
> + */
> +static int...
2019 Jan 25
0
[klibc:update-dash] [BUILTIN] Correctly handle test ! ! = !
...(*argv[0] == '[') {
if (*argv[--argc] != ']')
@@ -185,11 +185,12 @@ testcmd(int argc, char **argv)
argv[argc] = NULL;
}
+recheck:
argv++;
argc--;
if (argc < 1)
- return 1;
+ return res;
/*
* POSIX prescriptions: he who wrote this deserves the Nobel
@@ -209,6 +210,9 @@ testcmd(int argc, char **argv)
argv[--argc] = NULL;
argv++;
argc--;
+ } else if (!strcmp(argv[0], "!")) {
+ res = 0;
+ goto recheck;
}
}
@@ -216,7 +220,7 @@ testcmd(int argc, char **argv)
eval:
t_wp = argv;
- res = !oexpr(n);
+ res ^= oexpr(n);
a...
2019 Jan 25
0
[klibc:update-dash] [BUILTIN] Remove unnecessary restoration of format string in printf
...a.org.au>
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
usr/dash/bltin/printf.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/usr/dash/bltin/printf.c b/usr/dash/bltin/printf.c
index d49d4454..5cd34a19 100644
--- a/usr/dash/bltin/printf.c
+++ b/usr/dash/bltin/printf.c
@@ -209,7 +209,6 @@ pc:
if (print_escape_str(start, param, array,
getstr()))
goto out;
- *fmt = 'b';
break;
case 'c': {
int p = getchr();
2020 Mar 28
0
[klibc:update-dash] dash: [BUILTIN] Correctly handle test ! ! = !
...(*argv[0] == '[') {
if (*argv[--argc] != ']')
@@ -185,11 +185,12 @@ testcmd(int argc, char **argv)
argv[argc] = NULL;
}
+recheck:
argv++;
argc--;
if (argc < 1)
- return 1;
+ return res;
/*
* POSIX prescriptions: he who wrote this deserves the Nobel
@@ -209,6 +210,9 @@ testcmd(int argc, char **argv)
argv[--argc] = NULL;
argv++;
argc--;
+ } else if (!strcmp(argv[0], "!")) {
+ res = 0;
+ goto recheck;
}
}
@@ -216,7 +220,7 @@ testcmd(int argc, char **argv)
eval:
t_wp = argv;
- res = !oexpr(n);
+ res ^= oexpr(n);
a...
2020 Mar 28
0
[klibc:update-dash] dash: [BUILTIN] Remove unnecessary restoration of format string in printf
...a.org.au>
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
usr/dash/bltin/printf.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/usr/dash/bltin/printf.c b/usr/dash/bltin/printf.c
index d49d4454..5cd34a19 100644
--- a/usr/dash/bltin/printf.c
+++ b/usr/dash/bltin/printf.c
@@ -209,7 +209,6 @@ pc:
if (print_escape_str(start, param, array,
getstr()))
goto out;
- *fmt = 'b';
break;
case 'c': {
int p = getchr();
2009 Mar 27
2
1.2.beta4: Fatal: io_loop_handle_add: epoll_ctl(1, 11): Bad file descriptor
...file descriptor
in the error log.
The following patch fixes this for me. I'm sure there is a better way though.
--- dovecot-1.2.beta4/src/master/dict-process.c.orig 2009-03-27 16:44:59.000000000 +0100
+++ dovecot-1.2.beta4/src/master/dict-process.c 2009-03-27 18:59:24.000000000 +0100
@@ -209,11 +209,6 @@ dict_process_destroyed(struct child_proc
struct dict_listener *listener = process->listener;
dict_process_deinit(process);
- if (listener->processes == NULL) {
- /* last listener died, create new ones */
- listener->io = io_add(listener->fd, IO_READ,
- dict_...
2024 Jun 25
0
[PATCH] drm/nouveau/dispnv04: fix null pointer dereference in nv17_tv_get_ld_modes
...changed, 2 insertions(+)
>
> diff --git a/drivers/gpu/drm/nouveau/dispnv04/tvnv17.c
> b/drivers/gpu/drm/nouveau/dispnv04/tvnv17.c
> index 670c9739e5e1..4a08e61f3336 100644
> --- a/drivers/gpu/drm/nouveau/dispnv04/tvnv17.c
> +++ b/drivers/gpu/drm/nouveau/dispnv04/tvnv17.c
> @@ -209,6 +209,8 @@ static int nv17_tv_get_ld_modes(struct
> drm_encoder *encoder,
> ? struct drm_display_mode *mode;
> ?
> ? mode = drm_mode_duplicate(encoder->dev, tv_mode);
> + if (!mode)
> + continue;
> ?
> ? mode->clock = tv_norm->tv_enc_mode.vrefresh *
> ?...
2010 May 23
1
[PATCH] nouveau: detect incompatible libglx.so
...RING) == 0;
+ if (!ok)
+ xf86DrvMsg(-1, X_ERROR,
+ "NOUVEAU: glx module comes from incompatible vendor: \"%s\"\n",
+ d->vers->vendor);
+
+ return ok;
+}
+
static Bool
NVPciProbe(DriverPtr drv, int entity_num, struct pci_device *pci_dev,
intptr_t match_data)
@@ -209,6 +241,9 @@ NVPciProbe(DriverPtr drv, int entity_num, struct pci_device *pci_dev,
int chipset, ret;
char *busid;
+ if (!glxIsCompatible())
+ return FALSE;
+
if (!xf86LoaderCheckSymbol("DRICreatePCIBusID")) {
xf86DrvMsg(-1, X_ERROR, "[drm] No DRICreatePCIBusID symbol\n&quo...
2020 Aug 19
0
[PATCH 09/28] MIPS/jazzdma: remove the unused vdma_remap function
...g paddr);
extern unsigned long vdma_log2phys(unsigned long laddr);
extern void vdma_stats(void); /* for debugging only */
diff --git a/arch/mips/jazz/jazzdma.c b/arch/mips/jazz/jazzdma.c
index 014773f0bfcd74..fe40dbed04c1d6 100644
--- a/arch/mips/jazz/jazzdma.c
+++ b/arch/mips/jazz/jazzdma.c
@@ -209,76 +209,6 @@ int vdma_free(unsigned long laddr)
EXPORT_SYMBOL(vdma_free);
-/*
- * Map certain page(s) to another physical address.
- * Caller must have allocated the page(s) before.
- */
-int vdma_remap(unsigned long laddr, unsigned long paddr, unsigned long size)
-{
- int first, pages;
-
- if...
2009 Jul 21
0
[PATCH node] Adds a new kernel cmdline argument to toggle SSH password auth.
...ord; break;;
+ $SSH) toggle_ssh; break;;
+ $QUIT) exit;;
+ esac
+ done
+
+ printf "\n"
done
-
- printf "\n"
-done
+fi
diff --git a/scripts/ovirt-early b/scripts/ovirt-early
index 560fa14..00d7422 100755
--- a/scripts/ovirt-early
+++ b/scripts/ovirt-early
@@ -209,6 +209,7 @@ start() {
# dns=server[,server]
# ntp=server[,server]
# vlan=id
+ # ssh=[0|1]
# static network configuration
ip_address=
ip_gateway=
@@ -219,6 +220,7 @@ start() {
ipv6=
dns=
ntp=
+ ssh=
# hostname=fqdn
# hostname
@@...