forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/drivers/scsi/isci/isci.h
....@@ -500,19 +500,19 @@
500500 static inline
501501 void sci_init_timer(struct sci_timer *tmr, void (*fn)(struct timer_list *t))
502502 {
503
- tmr->cancel = 0;
503
+ tmr->cancel = false;
504504 timer_setup(&tmr->timer, fn, 0);
505505 }
506506
507507 static inline void sci_mod_timer(struct sci_timer *tmr, unsigned long msec)
508508 {
509
- tmr->cancel = 0;
509
+ tmr->cancel = false;
510510 mod_timer(&tmr->timer, jiffies + msecs_to_jiffies(msec));
511511 }
512512
513513 static inline void sci_del_timer(struct sci_timer *tmr)
514514 {
515
- tmr->cancel = 1;
515
+ tmr->cancel = true;
516516 del_timer(&tmr->timer);
517517 }
518518