Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 188604
Collapse All | Expand All

(-)./NVIDIA-Linux-x86-100.14.11-pkg0/usr/src/nv/nv.c.orig (-4 / +2 lines)
Lines 1566-1573 Link Here
1566
        if (apm_nv_dev[i] != NULL) pm_unregister(apm_nv_dev[i]);
1566
        if (apm_nv_dev[i] != NULL) pm_unregister(apm_nv_dev[i]);
1567
#endif
1567
#endif
1568
1568
1569
    if (unregister_chrdev(nv_major, "nvidia") < 0)
1569
    unregister_chrdev(nv_major, "nvidia");
1570
        nv_printf(NV_DBG_ERRORS, "NVRM: unregister nv chrdev failed\n");
1571
1570
1572
    for (i = 0; i < num_nv_devices; i++)
1571
    for (i = 0; i < num_nv_devices; i++)
1573
    {
1572
    {
Lines 1598-1605 Link Here
1598
1597
1599
    nv_printf(NV_DBG_INFO, "NVRM: nvidia_exit_module\n");
1598
    nv_printf(NV_DBG_INFO, "NVRM: nvidia_exit_module\n");
1600
1599
1601
    if (unregister_chrdev(nv_major, "nvidia") < 0)
1600
    unregister_chrdev(nv_major, "nvidia");
1602
        nv_printf(NV_DBG_ERRORS, "NVRM: unregister nv chrdev failed\n");
1603
1601
1604
    for (i = 0; i < num_nv_devices; i++)
1602
    for (i = 0; i < num_nv_devices; i++)
1605
    {
1603
    {
(-)./NVIDIA-Linux-x86-100.14.11-pkg0/usr/src/nv/nv-linux.h.orig (-1 / +1 lines)
Lines 533-539 Link Here
533
#define NV_KMEM_CACHE_CREATE(kmem_cache, name, type)            \
533
#define NV_KMEM_CACHE_CREATE(kmem_cache, name, type)            \
534
    {                                                           \
534
    {                                                           \
535
        kmem_cache = kmem_cache_create(name, sizeof(type),      \
535
        kmem_cache = kmem_cache_create(name, sizeof(type),      \
536
                        0, 0, NULL, NULL);                      \
536
                        0, 0, NULL);                            \ 
537
    } 
537
    } 
538
538
539
#define NV_KMEM_CACHE_DESTROY(kmem_cache)                       \
539
#define NV_KMEM_CACHE_DESTROY(kmem_cache)                       \

Return to bug 188604