Skip to content

Instantly share code, notes, and snippets.

@danrouse
Created June 7, 2015 03:12
Show Gist options
  • Save danrouse/47e11c17b7b9840f49eb to your computer and use it in GitHub Desktop.
Save danrouse/47e11c17b7b9840f49eb to your computer and use it in GitHub Desktop.
blackmagic desktopvideo 10.4a17 patch for kernel 3.19-
/usr/src/blackmagic-10.4a17/blackmagic_core.c:
189c189
< ddev = blackmagic_find_device_by_minor(iminor(filp->f_dentry->d_inode));
---
> ddev = blackmagic_find_device_by_minor(iminor(filp->f_path.dentry->d_inode));
212c212
< ddev = blackmagic_find_device_by_minor(iminor(filp->f_dentry->d_inode));
---
> ddev = blackmagic_find_device_by_minor(iminor(filp->f_path.dentry->d_inode));
241c241
< ddev = blackmagic_find_device_by_minor(iminor(filp->f_dentry->d_inode));
---
> ddev = blackmagic_find_device_by_minor(iminor(filp->f_path.dentry->d_inode));
/usr/src/blackmagic-10.4a17/bmio_client.c:
95c95
< drv = bmio_driver_find_by_inode(filp->f_dentry->d_inode);
---
> drv = bmio_driver_find_by_inode(filp->f_path.dentry->d_inode);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment