Merge branch 'for-6.2/intel-ish' into for-linus
This commit is contained in:
Коммит
57383f3c04
|
@ -841,7 +841,6 @@ void recv_ishtp_cl_msg(struct ishtp_device *dev,
|
|||
unsigned char *buffer = NULL;
|
||||
struct ishtp_cl_rb *complete_rb = NULL;
|
||||
unsigned long flags;
|
||||
int rb_count;
|
||||
|
||||
if (ishtp_hdr->reserved) {
|
||||
dev_err(dev->devc, "corrupted message header.\n");
|
||||
|
@ -855,9 +854,7 @@ void recv_ishtp_cl_msg(struct ishtp_device *dev,
|
|||
}
|
||||
|
||||
spin_lock_irqsave(&dev->read_list_spinlock, flags);
|
||||
rb_count = -1;
|
||||
list_for_each_entry(rb, &dev->read_list.list, list) {
|
||||
++rb_count;
|
||||
cl = rb->cl;
|
||||
if (!cl || !(cl->host_client_id == ishtp_hdr->host_addr &&
|
||||
cl->fw_client_id == ishtp_hdr->fw_addr) ||
|
||||
|
|
Загрузка…
Ссылка в новой задаче