devicemodel: Fix spelling and grammar mistakes.

Tracked-On: #8498
Signed-off-by: Muhammad Qasim Abdul Majeed <qasim.majeed20@gmail.com>
This commit is contained in:
Muhammad Qasim Abdul Majeed 2023-10-20 22:54:47 +05:00 committed by acrnsi-robot
parent 930e5904af
commit 847d9fea14

View File

@ -124,10 +124,10 @@ static void *intr_storm_monitor_thread(void *arg)
} }
/* /*
* calc the delta of the two times count of interrupt; * calculate the delta of the two times count of interrupt;
* compare the IRQ num first, if not same just drop it, * compare the IRQ number first, if not same just drop it,
* for it just happens rarelly when devices dynamically * for it just happens rarely when devices dynamically
* allocation in Service VM or User VM, it can be calc next time * allocation in Service VM or User VM, it can be calculated next time
*/ */
for (i = 0; i < hdr->buf_cnt; i += 2) { for (i = 0; i < hdr->buf_cnt; i += 2) {
if (hdr->buffer[i] != intr_cnt_buf[i]) if (hdr->buffer[i] != intr_cnt_buf[i])