lkml.org 
[lkml]   [2005]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: [PATCH 2.4.29-bk8] Resend: sym53c8xx.c: Add ULL suffix to fix warning
    Mark F. Haigh wrote:
    >
    > Apologies. Patch now -p1-able.
    >

    [Apolgies yet again, description included now]

    Noticed that in drivers/scsi/sym53c8xx.c:

    sym53c8xx.c:13185: warning: integer constant is too large for "long" type

    Since we're not dealing with C99 (yet), this 64 bit integer constant
    needs to be suffixed with ULL. Patch included.

    Mark F. Haigh
    Mark.Haigh@spirentcom.com

    Signed-off-by: Mark F. Haigh <Mark.Haigh@spirentcom.com>
    --- linux-2.4.29-bk8/drivers/scsi/sym53c8xx.c.orig 2005-02-07 19:53:05.000000000 -0800
    +++ linux-2.4.29-bk8/drivers/scsi/sym53c8xx.c 2005-02-07 19:53:36.000000000 -0800
    @@ -13182,7 +13182,7 @@
    ** descriptors.
    */
    if (chip && (chip->features & FE_DAC)) {
    - if (pci_set_dma_mask(pdev, (u64) 0xffffffffff))
    + if (pci_set_dma_mask(pdev, (u64) 0xffffffffffULL))
    chip->features &= ~FE_DAC_IN_USE;
    else
    chip->features |= FE_DAC_IN_USE;
    \
     
     \ /
      Last update: 2005-03-22 14:10    [W:0.025 / U:92.832 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site