Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /home/vinothcloud455/cherish/kernel/realme/sdm710/drivers/usb/gadget/function/rndis.c:938:26: error: no member named 'lock' in 'struct rndis_params'
- spin_lock_init(¶ms->lock);
- ~~~~~~ ^
- /home/vinothcloud455/cherish/kernel/realme/sdm710/include/linux/spinlock.h:296:17: note: expanded from macro 'spin_lock_init'
- spinlock_check(_lock); \
- ^~~~~
- /home/vinothcloud455/cherish/kernel/realme/sdm710/drivers/usb/gadget/function/rndis.c:938:26: error: no member named 'lock' in 'struct rndis_params'
- spin_lock_init(¶ms->lock);
- ~~~~~~ ^
- /home/vinothcloud455/cherish/kernel/realme/sdm710/include/linux/spinlock.h:297:23: note: expanded from macro 'spin_lock_init'
- raw_spin_lock_init(&(_lock)->rlock); \
- ^~~~~
- /home/vinothcloud455/cherish/kernel/realme/sdm710/include/linux/spinlock.h:104:9: note: expanded from macro 'raw_spin_lock_init'
- do { *(lock) = __RAW_SPIN_LOCK_UNLOCKED(lock); } while (0)
- ^~~~
- /home/vinothcloud455/cherish/kernel/realme/sdm710/drivers/usb/gadget/function/rndis.c:1134:34: error: no member named 'lock' in 'struct rndis_params'
- spin_unlock_irqrestore(¶ms->lock, flags);
- ~~~~~~ ^
- 3 errors generated.
Advertisement
Add Comment
Please, Sign In to add comment