From ffd80cc52e3c9b6284c2ce223cba255188c161d3 Mon Sep 17 00:00:00 2001 From: Ira Weiny Date: Wed, 13 May 2015 20:02:55 -0400 Subject: [PATCH] IB/core: Create common start/end port functions commit 0cf18d7723055709faf51b50f5a33253b480637f upstream. Previously start_port and end_port were defined in 2 places, cache.c and device.c and this prevented their use in other modules. Make these common functions, change the name to reflect the rdma name space, and update existing users. Signed-off-by: Ira Weiny Signed-off-by: Doug Ledford [bwh: Backported to 3.2: drop one inapplicable change] Signed-off-by: Ben Hutchings --- Reading git-format-patch failed