2 fix formatting
source | link

I found a fix to the compilation errors in another driver on this website: http://www.arnelborja.com/compiling-rt2870-wifi-driver-in-fedora/

below is the patch content:

--- include/os/rt_linux.h 2013-09-12 13:27:14.000000000 +0800 +++ include/os/rt_linux.h.patched 2014-03-23 11:45:03.907628847 +0800 @@ -279,8 +279,8 @@ typedef struct file* RTMP_OS_FD;

typedef struct _OS_FS_INFO_ { - int fsuid; - int fsgid; + kuid_t fsuid; + kgid_t fsgid; mm_segment_t fs; } OS_FS_INFO;

--- include/os/rt_linux.h   2013-09-12 13:27:14.000000000 +0800
+++ include/os/rt_linux.h.patched   2014-03-23 11:45:03.907628847 +0800
@@ -279,8 +279,8 @@ typedef struct file* RTMP_OS_FD;

 typedef struct _OS_FS_INFO_
 {
-   int             fsuid;
-   int             fsgid;
+   kuid_t              fsuid;
+   kgid_t              fsgid;
    mm_segment_t    fs;
 } OS_FS_INFO;

I found a fix to the compilation errors in another driver on this website: http://www.arnelborja.com/compiling-rt2870-wifi-driver-in-fedora/

below is the patch content:

--- include/os/rt_linux.h 2013-09-12 13:27:14.000000000 +0800 +++ include/os/rt_linux.h.patched 2014-03-23 11:45:03.907628847 +0800 @@ -279,8 +279,8 @@ typedef struct file* RTMP_OS_FD;

typedef struct _OS_FS_INFO_ { - int fsuid; - int fsgid; + kuid_t fsuid; + kgid_t fsgid; mm_segment_t fs; } OS_FS_INFO;

I found a fix to the compilation errors in another driver on this website: http://www.arnelborja.com/compiling-rt2870-wifi-driver-in-fedora/

below is the patch content:

--- include/os/rt_linux.h   2013-09-12 13:27:14.000000000 +0800
+++ include/os/rt_linux.h.patched   2014-03-23 11:45:03.907628847 +0800
@@ -279,8 +279,8 @@ typedef struct file* RTMP_OS_FD;

 typedef struct _OS_FS_INFO_
 {
-   int             fsuid;
-   int             fsgid;
+   kuid_t              fsuid;
+   kgid_t              fsgid;
    mm_segment_t    fs;
 } OS_FS_INFO;
1
source | link

I found a fix to the compilation errors in another driver on this website: http://www.arnelborja.com/compiling-rt2870-wifi-driver-in-fedora/

below is the patch content:

--- include/os/rt_linux.h 2013-09-12 13:27:14.000000000 +0800 +++ include/os/rt_linux.h.patched 2014-03-23 11:45:03.907628847 +0800 @@ -279,8 +279,8 @@ typedef struct file* RTMP_OS_FD;

typedef struct _OS_FS_INFO_ { - int fsuid; - int fsgid; + kuid_t fsuid; + kgid_t fsgid; mm_segment_t fs; } OS_FS_INFO;