lkml.org 
[lkml]   [2020]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 22/23] floppy: cleanup: do not iterate on current_fdc in DMA grab/release functions
On Fri, Apr 10, 2020 at 11:35:51AM +0300, Denis Efremov wrote:
> I see a couple of similar cycles in do_floppy_init:
>
> for (i = 0; i < N_FDC; i++) {
> current_fdc = i;
> memset(&fdc_state[current_fdc], 0, sizeof(*fdc_state));
> fdc_state[current_fdc].dtr = -1;
> fdc_state[current_fdc].dor = 0x4;
> ...
> }
>
> for (i = 0; i < N_FDC; i++) {
> current_fdc = i;
> fdc_state[current_fdc].driver_version = FD_DRIVER_VERSION;
> ...
> }

Ah thanks, I missed these ones! Do you want me to respin this patch ?

Willy

\
 
 \ /
  Last update: 2020-04-10 10:46    [W:0.074 / U:2.784 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site