Skip to content

unify DMA_..BIT_MASK definitions

Borislav Petkov lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2unify DMA_..BIT_MASK definitions: netxen local defsdrivers/net/netxen/netxen_nic_main.c+0 -30 replies
2/2unify DMA_..BIT_MASK definitions: cleanup drivers/scsi/gdth.cdrivers/scsi/gdth.c+0 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] unify DMA_..BIT_MASK definitions

This patches remove redundant DMA_..BIT_MASK definitions across two drivers. First off, consolidate dma bitmask definitions in the proper header file...

--

include/linux/dma-mapping.h renamed from include/linux/dma-mapping.h.orig +1 -0
Index: 23-rc6/include/linux/dma-mapping.h
===================================================================
@@ -17,6 +17,7 @@
 #define DMA_48BIT_MASK	0x0000ffffffffffffULL
 #define DMA_40BIT_MASK	0x000000ffffffffffULL
 #define DMA_39BIT_MASK	0x0000007fffffffffULL
+#define DMA_35BIT_MASK	0x00000007ffffffffULL
 #define DMA_32BIT_MASK	0x00000000ffffffffULL
 #define DMA_31BIT_MASK	0x000000007fffffffULL
 #define DMA_30BIT_MASK	0x000000003fffffffULL
Signature · 2 lines
Regards/Gruß,
    Boris.