lkml.org 
[lkml]   [1996]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Fix for g_NCR5380.c
Date
John Gotts Wrote ...
>
> ***************
> *** 562,568 ****
> return len-start;
> }
>
> ! const char *const scsi_device_types[] =
> {
> "Direct-Access ",
> "Sequential-Access",
> --- 562,568 ----
> return len-start;
> }
>
> ! const char *const private_scsi_device_types[] =
> {
> "Direct-Access ",
> "Sequential-Access",


I compile as a module so I didn't see that. I'm looking into solving the
whole device_types duplication problem through all the scsi drives.

This is a nice interim solution.
> ***************
> --- 644,656 ----
> *(buffer+(len++)) = dev->rev[i];
> *(buffer+(len++)) = ' ';
>
> ! PRINTP("\n%10ld kb read in %5ld secs" ANDP br/1024 ANDP tr);
> if (tr)
> ! PRINTP(" @ %5ld bps" ANDP br / tr);
>
> ! PRINTP("\n%10ld kb written in %5ld secs" ANDP bw/1024 ANDP tw);
> if (tw)
> ! PRINTP(" @ %5ld bps" ANDP bw / tw);
> PRINTP("\n");

Must be different versions of gcc. Mine doesn't complain. But you're right.

--
[=======================================================================]
[ Kevin Lentin |finger kevinl@fangorn.cs.monash.edu.au| ]
[ K.Lentin@cs.monash.edu.au |for PGP public key block. Fingerprint | ]
[ Macintrash: 'Just say NO!' |6024308DE1F84314 811B511DBA6FD596 | ]
[=======================================================================]


\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.042 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site