login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
August
»
9
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Prarit Bhargava <prarit@...>
To: FUJITA Tomonori <fujita.tomonori@...>
Cc: <jbarnes@...>, <muli@...>, <joro@...>, <linux-kernel@...>, <linux-pci@...>, <jakub@...>
Subject:
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
Date: Friday, August 8, 2008 - 9:40 pm
FUJITA Tomonori wrote:
quoted text
> On Fri, 8 Aug 2008 09:15:51 -0700 > Jesse Barnes <jbarnes@virtuousgeek.org> wrote: > > >> On Friday, August 8, 2008 8:18 am Prarit Bhargava wrote: >> >>> --- a/include/linux/dma-mapping.h >>> +++ b/include/linux/dma-mapping.h >>> @@ -78,7 +78,7 @@ static inline unsigned int dma_set_max_seg_size(struct >>> device >>> static inline unsigned long dma_get_seg_boundary(struct device *dev) >>> { >>> return dev->dma_parms ? >>> - dev->dma_parms->segment_boundary_mask : 0xffffffff; >>> + dev->dma_parms->segment_boundary_mask : 0xffffffffUL; >>> } >>> >> Yeah generally you need to cast values like this when working with real >> unsigned long values rather than ints, but this *should* still be safe >> (barring a compiler bug). The return type is unsigned long, so even if you >> just return 0xffffffff the right thing should still happen... >> > > I told Prarid that the overflow should not happen here again and > again... >
I misunderstood what was going on here. P. --
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH]: PCI: GART iommu alignment fixes [v2]
, Prarit Bhargava
, (Wed Jul 23, 7:19 am)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, FUJITA Tomonori
, (Wed Jul 23, 7:23 pm)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, Prarit Bhargava
, (Wed Jul 23, 7:24 pm)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, Joerg Roedel
, (Wed Jul 23, 6:10 pm)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, FUJITA Tomonori
, (Wed Jul 23, 7:14 pm)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, Jesse Barnes
, (Mon Jul 28, 6:23 pm)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, FUJITA Tomonori
, (Tue Jul 29, 8:43 pm)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, Prarit Bhargava
, (Wed Aug 6, 8:29 am)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, FUJITA Tomonori
, (Wed Aug 6, 9:35 am)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, Prarit Bhargava
, (Wed Aug 6, 10:32 am)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, Jesse Barnes
, (Thu Aug 7, 1:03 pm)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, Prarit Bhargava
, (Thu Aug 7, 1:45 pm)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, Prarit Bhargava
, (Thu Aug 7, 1:41 pm)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, FUJITA Tomonori
, (Fri Aug 8, 11:50 pm)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, Ingo Molnar
, (Fri Aug 15, 12:16 pm)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, Ingo Molnar
, (Fri Aug 15, 2:00 pm)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, FUJITA Tomonori
, (Fri Aug 15, 9:15 pm)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, Ingo Molnar
, (Sun Aug 17, 8:56 am)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, FUJITA Tomonori
, (Sun Aug 17, 11:36 am)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, Ingo Molnar
, (Sun Aug 17, 11:42 am)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, FUJITA Tomonori
, (Sun Aug 17, 11:48 am)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, FUJITA Tomonori
, (Sun Aug 17, 11:54 am)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, Prarit Bhargava
, (Fri Aug 15, 4:39 pm)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, Ingo Molnar
, (Fri Aug 15, 5:20 pm)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, Muli Ben-Yehuda
, (Fri Aug 8, 3:12 am)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, Prarit Bhargava
, (Fri Aug 8, 11:18 am)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, Jesse Barnes
, (Fri Aug 8, 12:15 pm)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, FUJITA Tomonori
, (Fri Aug 8, 5:13 pm)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, Prarit Bhargava
, (Fri Aug 8, 9:40 pm)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, Prarit Bhargava
, (Wed Aug 6, 9:23 am)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, Prarit Bhargava
, (Tue Jul 29, 10:24 am)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, Jesse Barnes
, (Tue Jul 29, 1:08 pm)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, Prarit Bhargava
, (Wed Jul 23, 7:47 pm)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, Joerg Roedel
, (Thu Jul 24, 3:46 am)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, Prarit Bhargava
, (Thu Jul 24, 6:09 am)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, FUJITA Tomonori
, (Thu Jul 24, 6:34 am)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, Joerg Roedel
, (Thu Jul 24, 8:37 am)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, FUJITA Tomonori
, (Thu Jul 24, 9:32 am)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, Prarit Bhargava
, (Thu Jul 24, 10:31 am)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, Prarit Bhargava
, (Thu Jul 24, 10:45 am)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, FUJITA Tomonori
, (Thu Jul 24, 10:40 am)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, Prarit Bhargava
, (Thu Jul 24, 11:13 am)
Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
, Prarit Bhargava
, (Thu Jul 24, 8:49 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Linus Torvalds
Linux 2.6.21-rc4
Jens Axboe
[PATCH 0/8] IO queuing and complete affinity
Nicholas A. Bellinger
Re: Integration of SCST in the mainstream Linux kernel
Robin Lee Powell
NFS hang + umount -f: better behaviour requested.
git
:
linux-netdev
:
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Ingo Molnar
Re: [crash] BUG: unable to handle kernel NULL pointer dereference at 0000000000000...
Gerrit Renker
[PATCH 19/37] dccp: Header option insertion routine for feature-negotiation
Gary Thomas
Marvell 88E609x switch?
linux-fsdevel
:
Jamie Lokier
Re: silent semantic changes with reiser4
Jan Kara
[PATCH 10/16] ext4: Remove syncing logic from ext4_file_write
Jack Stone
Re: Versioning file system
Jens Axboe
[PATCH 8/8] vm: Add an tuning knob for vm.max_writeback_pages
Colocation donated by:
Who's online
There are currently
2 users
and
861 guests
online.
Online users
ernestot1
alpha_one_x86
Syndicate