Changeset 674 for trunk/kernel/devices/dev_ioc.c
- Timestamp:
- Nov 20, 2020, 12:04:01 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/devices/dev_ioc.c
r663 r674 54 54 55 55 // set chdev name 56 snprint f( ioc->name , 16 , "ioc%d" , channel );56 snprintk( ioc->name , 16 , "ioc%d" , channel ); 57 57 58 58 // call driver init function … … 78 78 lid ); 79 79 80 assert( (error == 0) , "cannot create server thread" );80 assert( __FUNCTION__, (error == 0) , "cannot create server thread" ); 81 81 82 82 // set "server" field in chdev descriptor … … 108 108 109 109 // check dev_xp 110 assert( (ioc_xp != XPTR_NULL) , "undefined IOC chdev descriptor" );110 assert( __FUNCTION__, (ioc_xp != XPTR_NULL) , "undefined IOC chdev descriptor" ); 111 111 112 112 // register command in client thread … … 141 141 142 142 // check dev_xp 143 assert( (ioc_xp != XPTR_NULL) , "undefined IOC chdev descriptor" );143 assert( __FUNCTION__, (ioc_xp != XPTR_NULL) , "undefined IOC chdev descriptor" ); 144 144 145 145 // register command in calling thread descriptor
Note: See TracChangeset
for help on using the changeset viewer.