[lkml]   [1998]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject2.1.101 warnings on alpha (patch)
    Hi Linus,

    the attached patch removes most warnings I've encountered
    when compiling 2.1.101 on DEC Alpha.
    Most of them are wrong printk() types.

    The following one I've separated out, because I'm not
    sure whether it's correct:

    diff -ru linux-2.1.101-orig/drivers/scsi/53c7,8xx.c linux-2.1.101-alpha/drivers/scsi/53c7,8xx.c
    --- linux-2.1.101-orig/drivers/scsi/53c7,8xx.c Thu Apr 30 02:39:25 1998
    +++ linux-2.1.101-alpha/drivers/scsi/53c7,8xx.c Fri May 15 01:03:20 1998
    @@ -5970,7 +5970,11 @@
    host->host_no, cmd->pid);
    /* print_dsa does sanity check on address, no need to check */
    +#if BITS_PER_LONG == 64
    + print_dsa (host, bus_to_virt(le64_to_cpu(((struct NCR53c7x0_cmd *) cmd->host_scribble)-> dsa)), "");
    print_dsa (host, bus_to_virt(le32_to_cpu(((struct NCR53c7x0_cmd *) cmd->host_scribble)-> dsa)), "");
    } else
    printk ("scsi%d : scsi pid %ld for target %d lun %d has no NCR53c7x0_cmd\n",
    host->host_no, cmd->pid, cmd->target, cmd->lun);
    How does one check whether the host is 64bitty?
    Like in the above "#if" or is there another (standard) way?


    [unhandled content-type:application/octet-stream]
     \ /
      Last update: 2005-03-22 13:42    [W:0.021 / U:118.468 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site