From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bart Van Assche Subject: [PATCH 0/6] Various multipath-tools patches Date: Thu, 1 Mar 2018 11:29:29 -0800 Message-ID: <20180301192935.14643-1-bart.vanassche@wdc.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Christophe Varoqui Cc: Bart Van Assche , dm-devel@redhat.com List-Id: dm-devel.ids Hello Christophe, This series contains the following patches: - Four patches address Coverity complaints. - One patch makes a function argument const. - One patch addresses a bug that I discovered while inspecting the multipath command line tool output. Please consider these patches for the multipath-tools project. Thanks, Bart. Bart Van Assche (6): multipathd/main.c: Fix indentation libmultipath, alloc_path_with_pathinfo(): Ensure that pp->wwid is '\0'-terminated libmultipath, alloc_path_with_pathinfo(): Declare third argument const kpartx: Improve reliability of find_loop_by_file() libmultipath: Fix sgio_get_vpd() Introduce the ibmultipath/unaligned.h header file kpartx/lopart.c | 7 ++++--- libmpathpersist/mpath_pr_ioctl.c | 8 ++++---- libmultipath/checkers/hp_sw.c | 4 ++-- libmultipath/discovery.c | 22 +++++++++++--------- libmultipath/discovery.h | 2 +- libmultipath/prioritizers/alua_rtpg.c | 13 ++++++------ libmultipath/prioritizers/alua_spc3.h | 35 ++------------------------------ libmultipath/prioritizers/ontap.c | 4 ++-- libmultipath/unaligned.h | 38 +++++++++++++++++++++++++++++++++++ multipathd/main.c | 4 ++-- 10 files changed, 74 insertions(+), 63 deletions(-) create mode 100644 libmultipath/unaligned.h -- 2.16.2