> > > over-engineering. Call it sector_upper32() do it the simple way and stop > > > trying to solve a problem we don't have > > > > James said we have the same problem with dma_addr_t. > > Yes. It's in fact the far more common case and we have a bread of > macros dealing with the issue in various drivers. So we still only need it for unsigned 32/64bit values ? Alan - 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/
- Follow-Ups:
- Re: [PATCH] utilities: add helper functions for safe 64-bit integer operations as 32-bit halves
- From: Christoph Hellwig <hch@infradead.org>
- Re: [PATCH] utilities: add helper functions for safe 64-bit integer operations as 32-bit halves
- References:
- Re: [PATCH] cciss: Fix warnings during compilation under 32bitenvironment
- From: Andrew Morton <akpm@linux-foundation.org>
- Re: [PATCH] cciss: Fix warnings during compilation under 32bitenvironment
- From: James Bottomley <James.Bottomley@SteelEye.com>
- Re: [PATCH] cciss: Fix warnings during compilation under 32bitenvironment
- From: Andrew Morton <akpm@linux-foundation.org>
- Re: [PATCH] cciss: Fix warnings during compilation under 32bitenvironment
- From: James Bottomley <James.Bottomley@SteelEye.com>
- Re: [PATCH] cciss: Fix warnings during compilation under 32bitenvironment
- From: Andrew Morton <akpm@linux-foundation.org>
- Re: [PATCH] cciss: Fix warnings during compilation under 32bitenvironment
- From: "John Anthony Kazos Jr." <jakj@j-a-k-j.com>
- [PATCH] utilities: add helper functions for safe 64-bit integer operations as 32-bit halves
- From: "John Anthony Kazos Jr." <jakj@j-a-k-j.com>
- Re: [PATCH] utilities: add helper functions for safe 64-bit integer operations as 32-bit halves
- From: Andrew Morton <akpm@linux-foundation.org>
- Re: [PATCH] utilities: add helper functions for safe 64-bit integer operations as 32-bit halves
- From: Alan Cox <alan@lxorguk.ukuu.org.uk>
- Re: [PATCH] utilities: add helper functions for safe 64-bit integer operations as 32-bit halves
- From: Andrew Morton <akpm@linux-foundation.org>
- Re: [PATCH] utilities: add helper functions for safe 64-bit integer operations as 32-bit halves
- From: Christoph Hellwig <hch@infradead.org>
- Re: [PATCH] cciss: Fix warnings during compilation under 32bitenvironment
- Prev by Date: Re: [PATCH] utilities: add helper functions for safe 64-bit integer operations as 32-bit halves
- Next by Date: BUG/CRASH help - 2.6.20 (fc5) - spinlock bad magic on CPU#0, kswapd
- Previous by thread: Re: [PATCH] utilities: add helper functions for safe 64-bit integer operations as 32-bit halves
- Next by thread: Re: [PATCH] utilities: add helper functions for safe 64-bit integer operations as 32-bit halves
- Index(es):
![]() |