Skip to content

Instantly share code, notes, and snippets.

View IvarWithoutBones's full-sized avatar

Ivv IvarWithoutBones

View GitHub Profile
diff --git a/os_dep/linux/rtw_proc.c b/os_dep/linux/rtw_proc.c
index eb942a1..fa3a592 100644
--- a/os_dep/linux/rtw_proc.c
+++ b/os_dep/linux/rtw_proc.c
@@ -212,7 +212,7 @@ const int drv_proc_hdls_num = sizeof(drv_proc_hdls) / sizeof(struct rtw_proc_hdl
static int rtw_drv_proc_open(struct inode *inode, struct file *file)
{
/* struct net_device *dev = proc_get_parent_data(inode); */
- ssize_t index = (ssize_t)PDE_DATA(inode);
+ ssize_t index = (ssize_t)pde_data(inode);
import github
import requests
import os.path
import shutil
import libarchive.public
from clint.textui import progress
g = github.Github()
def download(url, tag, yuzu_version):