From linux-kernel-owner+willy=40w.ods.org-S262376AbVBCB6f@vger.kernel.org  Thu Feb  3 03:05:17 2005
Return-Path: <linux-kernel-owner+willy=40w.ods.org-S262376AbVBCB6f@vger.kernel.org>
Received: from vger.kernel.org (vger.kernel.org [12.107.209.244])
	by mail.w.ods.org (8.12.9/8.12.1) with ESMTP id j1325Cad004526
	for <willy@w.ods.org>; Thu, 3 Feb 2005 03:05:15 +0100 (CET)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
	id S262376AbVBCB6f (ORCPT <rfc822;willy@w.ods.org>);
	Wed, 2 Feb 2005 20:58:35 -0500
Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262876AbVBCB5g
	(ORCPT <rfc822;linux-kernel-outgoing>);
	Wed, 2 Feb 2005 20:57:36 -0500
Received: from 207-105-1-25.zarak.com ([207.105.1.25]:37156 "HELO
	iceberg.Adtech-Inc.COM") by vger.kernel.org with SMTP
	id S262706AbVBCB47 (ORCPT <rfc822;linux-kernel@vger.kernel.org>);
	Wed, 2 Feb 2005 20:56:59 -0500
Received: from [10.45.55.189] ([10.45.55.189]) by iceberg.Adtech-Inc.COM with Microsoft SMTPSVC(5.0.2195.6713);
	 Wed, 2 Feb 2005 17:56:48 -0800
Message-ID: <42018498.6030305@spirentcom.com>
Date: 	Wed, 02 Feb 2005 17:55:36 -0800
From: "Mark F. Haigh" <Mark.Haigh@spirentcom.com>
User-Agent: Mozilla Thunderbird  (X11/20041216)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: linux-scsi@vger.kernel.org
CC: linux-kernel@vger.kernel.org
Subject: [PATCH 2.4.29] sym53c8xx.c - Add ULL suffix to fix warning
Content-Type: multipart/mixed;
 boundary="------------080608090808010303070402"
X-OriginalArrivalTime: 03 Feb 2005 01:56:48.0084 (UTC) FILETIME=[9EE90140:01C50993]
Sender: linux-kernel-owner@vger.kernel.org
Precedence: bulk
X-Mailing-List: 	linux-kernel@vger.kernel.org
Status: RO
Content-Length: 1336
Lines: 44

This is a multi-part message in MIME format.
--------------080608090808010303070402
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit


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


--------------080608090808010303070402
Content-Type: text/plain;
 name="sym53c8xx-patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="sym53c8xx-patch"

--- ./drivers/scsi/sym53c8xx.c.orig	2005-02-02 14:35:52.981929312 -0800
+++ ./drivers/scsi/sym53c8xx.c	2005-02-02 14:38:38.496767232 -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;


--------------080608090808010303070402--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

