On 4/16/08, Pavel Machek <pavel@ucw.cz> wrote:The struct pci_dev */u64 casting is in init_k8_gatt. If Ingo is happy, then forget my comment. I don't have this kind of system to test the patch on, it was just that as I was looking it over, all the casts kind of made my head swim. The narrowing cast is here: +static inline void enable_gart_translation(struct pci_dev *dev, u64 addr) +{ + u32 tmp, ctl; + + /* address of the mappings table */ + addr >>= 12; + tmp = (u32) addr<<4; Also, putting on my Andrew Morton cap, which I should have done before, that function is too big to be inlined so you should probably drop the explicit `inline' and let the compiler decide. Add a Reviewed-by: SL Baur <steve@xemacs.org> if that's appropriate. I'm satisified that you did a one-for-one code move. -sb --
| Roland Dreier | Re: Integration of SCST in the mainstream Linux kernel |
| Jan Engelhardt | intel iommu (Re: -mm merge plans for 2.6.23) |
| Greg Kroah-Hartman | [PATCH 005/196] Chinese: add translation of SubmittingDrivers |
| Linus Torvalds | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
git: | |
| Linus Torvalds | Re: [GIT]: Networking |
| Gerrit Renker | [PATCH 0/37] dccp: Feature negotiation - last call for comments |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Frans Pop | svc: failed to register lockdv1 RPC service (errno 97). |
