[lvc-project] [PATCH 5.10] scsi: gdth: ensure event string is NUL-terminated

Fedor Pchelkin pchelkin at ispras.ru
Fri Jul 17 14:19:41 MSK 2026


On Fri, 17. Jul 14:10, Daniil Iskhakov wrote:
> @@ -2562,6 +2562,7 @@ static irqreturn_t __gdth_interrupt(gdth_ha_str *ha,
>                          if (ha->dvr.event_string[i] == 0)
>                              break;
>                      }
> +					ha->dvr.event_string[255] = 0;

Слишком много табов - съехало вправо.  Просьба настроить текстовый
редактор для работы с кодом ядра.
https://docs.kernel.org/process/coding-style.html#indentation

>                  }
>              }
>              writeb(0xff, &dp6m_ptr->i960r.edoor_reg);
> -- 
> 2.43.0



More information about the lvc-project mailing list