FreeBSD Bugzilla – Attachment 170753 Details for
Bug 201340
x11/nvidia-driver: Update to 367.35
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch fixing memory initalisation bug in nvidia-modeset
extra-patch-src_nvidia-modeset_nvidia-modeset-freebsd.c (text/plain), 848 bytes, created by
Bengt Ahlgren
on 2016-05-28 14:35:47 UTC
(
hide
)
Description:
patch fixing memory initalisation bug in nvidia-modeset
Filename:
MIME Type:
Creator:
Bengt Ahlgren
Created:
2016-05-28 14:35:47 UTC
Size:
848 bytes
patch
obsolete
>--- src/nvidia-modeset/nvidia-modeset-freebsd.c.orig 2016-05-28 16:03:31.311814000 +0200 >+++ src/nvidia-modeset/nvidia-modeset-freebsd.c 2016-05-28 16:05:02.158809466 +0200 >@@ -245,7 +245,7 @@ > > struct nvkms_ref_ptr* NVKMS_API_CALL nvkms_alloc_ref_ptr(void *ptr) > { >- struct nvkms_ref_ptr *ref_ptr = nvkms_alloc(sizeof(*ref_ptr), NV_FALSE); >+ struct nvkms_ref_ptr *ref_ptr = nvkms_alloc(sizeof(*ref_ptr), NV_TRUE); > if (ref_ptr) { > mtx_init(&ref_ptr->lock, "nvkms-ref-ptr-lock", NULL, MTX_SPIN); > // The ref_ptr owner counts as a reference on the ref_ptr itself. >@@ -792,7 +792,7 @@ > nvkms_module.client_counter += 1; > sx_xunlock(&nvkms_module.lock); > >- popen = nvkms_alloc(sizeof(*popen), NV_FALSE); >+ popen = nvkms_alloc(sizeof(*popen), NV_TRUE); > if (popen == NULL) { > return ENOMEM; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 201340
:
158348
|
162627
|
162675
|
163450
|
165236
|
165419
|
165694
|
167220
|
167734
|
168435
|
169005
|
169837
|
170753
|
170757
|
171554
|
172039
|
172587
|
173883