kssrao13882

Untitled

Mar 2nd, 2022
483
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. /home/vinothcloud455/cherish/kernel/realme/sdm710/drivers/usb/gadget/function/rndis.c:938:26: error: no member named 'lock' in 'struct rndis_params'
  2. spin_lock_init(&params->lock);
  3. ~~~~~~ ^
  4. /home/vinothcloud455/cherish/kernel/realme/sdm710/include/linux/spinlock.h:296:17: note: expanded from macro 'spin_lock_init'
  5. spinlock_check(_lock); \
  6. ^~~~~
  7. /home/vinothcloud455/cherish/kernel/realme/sdm710/drivers/usb/gadget/function/rndis.c:938:26: error: no member named 'lock' in 'struct rndis_params'
  8. spin_lock_init(&params->lock);
  9. ~~~~~~ ^
  10. /home/vinothcloud455/cherish/kernel/realme/sdm710/include/linux/spinlock.h:297:23: note: expanded from macro 'spin_lock_init'
  11. raw_spin_lock_init(&(_lock)->rlock); \
  12. ^~~~~
  13. /home/vinothcloud455/cherish/kernel/realme/sdm710/include/linux/spinlock.h:104:9: note: expanded from macro 'raw_spin_lock_init'
  14. do { *(lock) = __RAW_SPIN_LOCK_UNLOCKED(lock); } while (0)
  15. ^~~~
  16. /home/vinothcloud455/cherish/kernel/realme/sdm710/drivers/usb/gadget/function/rndis.c:1134:34: error: no member named 'lock' in 'struct rndis_params'
  17. spin_unlock_irqrestore(&params->lock, flags);
  18. ~~~~~~ ^
  19. 3 errors generated.
Advertisement
Add Comment
Please, Sign In to add comment