public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Mark F. Haigh" <Mark.Haigh@spirentcom.com>
To: marcelo.tosatti@cyclades.com
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH 2.4.29-bk8] Resend: sym53c8xx.c: Add ULL suffix to fix warning
Date: Mon, 07 Feb 2005 20:53:34 -0800	[thread overview]
Message-ID: <420845CE.50908@spirentcom.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 317 bytes --]


Same patch, now against 2.4.29-bk8:

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



[-- Attachment #2: sym53c8xx-patch --]
[-- Type: text/plain, Size: 413 bytes --]

--- drivers/scsi/sym53c8xx.c.orig	2005-02-07 19:53:05.741527608 -0800
+++ drivers/scsi/sym53c8xx.c	2005-02-07 19:53:36.782808616 -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;

             reply	other threads:[~2005-02-08  4:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-08  4:53 Mark F. Haigh [this message]
2005-02-08  5:52 ` [PATCH 2.4.29-bk8] Resend: sym53c8xx.c: Add ULL suffix to fix warning Mark F. Haigh
2005-02-08  6:15   ` Mark F. Haigh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=420845CE.50908@spirentcom.com \
    --to=mark.haigh@spirentcom.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo.tosatti@cyclades.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox