From patchwork Wed Jul 20 13:15:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xose Vazquez Perez X-Patchwork-Id: 9239607 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CF2B160574 for ; Wed, 20 Jul 2016 13:19:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C00E826C9B for ; Wed, 20 Jul 2016 13:19:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B4A7927BFA; Wed, 20 Jul 2016 13:19:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from mx4-phx2.redhat.com (mx4-phx2.redhat.com [209.132.183.25]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4F64526C9B for ; Wed, 20 Jul 2016 13:19:43 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx4-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u6KDFwt4010663; Wed, 20 Jul 2016 09:15:58 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u6KDFuoA000604 for ; Wed, 20 Jul 2016 09:15:56 -0400 Received: from mx1.redhat.com (ext-mx10.extmail.prod.ext.phx2.redhat.com [10.5.110.39]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u6KDFu4O009342 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 20 Jul 2016 09:15:56 -0400 Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8A5A67302C for ; Wed, 20 Jul 2016 13:15:55 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id i5so7015055wmg.2 for ; Wed, 20 Jul 2016 06:15:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=ToqVJtab+Te+JYC77lM05Zo6MHLvPPSpVy9Te2eqdqs=; b=lGvUNX4uEqAKMcWRpw6WPtpYtlJOKTILVi7Sm/CmmVmon0nAIORCyMntJ4V6AM85UE cbkMI8kVXxzXGeNg2HA796WjVNbesAaB6YfWM5RTDEXmnphMF7caT3yRLZjKnVa0sKc2 XYJ8fccA5TgjX9T70n1dwpqK6xUGT6yGVxX3o+UUb+v6fY9QjrEYdpgbcXj6NXgnFS3g APUrJKFqdOhVsbxVq2CvqRvZlWplaeBlk/n0bQkk1CsW35bzMFS1RLmy9ZxGIjDdKnpG b3XxMc1oz66ywqWB86dKbedTx8zUjukA2widCPKoX/Xqf86uahROtkuqSMngpBuLQnob jRvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ToqVJtab+Te+JYC77lM05Zo6MHLvPPSpVy9Te2eqdqs=; b=Y4bynLjG7eW5wR5TulufpTuTmiEd6KLMdjFKcKprMlU9wiZFyTULs5+t98PGhIwBQD 3fqqKnrCWriR+S2CYnLUkYq8mAyRdjDzA5fg+a0DoG0xaPWjfJFoqWLq7i2SB5uHJ1SW Ssx2CEZgub5JxUlvVYzpUGK51BnRHo/m9JbyuXF79qChh0PoJfGBdWwaeC9b7gx5H/zi zqoxnuqTUluyWy07F0XTEN/u3jMeSRSY7hA18VNqmc/EYbTTHbbHknVeKFPVI+Z9L2GJ kNlAu7aqlmiWP4LEM1iqh9B2D96z4HKzR7HnjdGj3rf1ip3SJUcM4bGilJq+UXEbRLev uoXQ== X-Gm-Message-State: ALyK8tJxwgpwEhAH3LwFZRtFka8jy5FcJQ1Ec3wIyjamRcKmuTlj2wLvU/cEkEzg7irBEw== X-Received: by 10.194.118.74 with SMTP id kk10mr1336589wjb.49.1469020554128; Wed, 20 Jul 2016 06:15:54 -0700 (PDT) Received: from localhost ([46.222.121.35]) by smtp.gmail.com with ESMTPSA id a2sm31551156wma.2.2016.07.20.06.15.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Jul 2016 06:15:53 -0700 (PDT) From: Xose Vazquez Perez To: Date: Wed, 20 Jul 2016 15:15:49 +0200 Message-Id: <1469020549-10327-1-git-send-email-xose.vazquez@gmail.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Wed, 20 Jul 2016 13:15:55 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Wed, 20 Jul 2016 13:15:55 +0000 (UTC) for IP:'74.125.82.67' DOMAIN:'mail-wm0-f67.google.com' HELO:'mail-wm0-f67.google.com' FROM:'xose.vazquez@gmail.com' RCPT:'' X-RedHat-Spam-Score: -0.12 (BAYES_50, DCC_REPUT_13_19, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_PASS) 74.125.82.67 mail-wm0-f67.google.com 74.125.82.67 mail-wm0-f67.google.com X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 X-Scanned-By: MIMEDefang 2.78 on 10.5.110.39 X-loop: dm-devel@redhat.com Cc: device-mapper development , Xose Vazquez Perez Subject: [dm-devel] [PATCH] multipath-tools: memory.h is referred to the local header X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Virus-Scanned: ClamAV using ClamSMTP It could be removed from these files because it's already included in the hierarchy of the headers. As it's shown in the headers tree, (multipathd/cli.c): https://drive.google.com/file/d/0B_B6YmEmO7cDeWVaMDViekRldW8 Cc: Christophe Varoqui Cc: device-mapper development Signed-off-by: Xose Vazquez Perez --- libmultipath/log_pthread.c | 2 +- libmultipath/prioritizers/weightedpath.c | 2 +- multipath/main.c | 2 +- multipathd/cli.c | 2 +- multipathd/cli_handlers.c | 2 +- multipathd/main.c | 2 +- multipathd/uxlsnr.c | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/libmultipath/log_pthread.c b/libmultipath/log_pthread.c index e6f4b5c..380ab89 100644 --- a/libmultipath/log_pthread.c +++ b/libmultipath/log_pthread.c @@ -8,7 +8,7 @@ #include #include -#include +#include "memory.h" #include "log_pthread.h" #include "log.h" diff --git a/libmultipath/prioritizers/weightedpath.c b/libmultipath/prioritizers/weightedpath.c index 406cef5..4bf2a1e 100644 --- a/libmultipath/prioritizers/weightedpath.c +++ b/libmultipath/prioritizers/weightedpath.c @@ -29,7 +29,7 @@ #include "weightedpath.h" #include "config.h" #include "structs.h" -#include +#include "memory.h" #include "debug.h" #include #include "structs_vec.h" diff --git a/multipath/main.c b/multipath/main.c index 7dba54e..6ccece7 100644 --- a/multipath/main.c +++ b/multipath/main.c @@ -33,7 +33,7 @@ #include "checkers.h" #include "prio.h" #include "vector.h" -#include +#include "memory.h" #include #include "devmapper.h" #include "util.h" diff --git a/multipathd/cli.c b/multipathd/cli.c index 4a7b24d..8b4824c 100644 --- a/multipathd/cli.c +++ b/multipathd/cli.c @@ -4,7 +4,7 @@ #include #include #include -#include +#include "memory.h" #include "vector.h" #include "structs.h" #include "structs_vec.h" diff --git a/multipathd/cli_handlers.c b/multipathd/cli_handlers.c index 1b046c4..f613233 100644 --- a/multipathd/cli_handlers.c +++ b/multipathd/cli_handlers.c @@ -2,7 +2,7 @@ * Copyright (c) 2005 Christophe Varoqui */ #include "checkers.h" -#include +#include "memory.h" #include "vector.h" #include "structs.h" #include "structs_vec.h" diff --git a/multipathd/main.c b/multipathd/main.c index fb37f0d..1799cbe 100644 --- a/multipathd/main.c +++ b/multipathd/main.c @@ -40,7 +40,7 @@ int uxsock_timeout; */ #include "parser.h" #include "vector.h" -#include +#include "memory.h" #include "config.h" #include "util.h" #include "hwtable.h" diff --git a/multipathd/uxlsnr.c b/multipathd/uxlsnr.c index 4fce585..8ab55ea 100644 --- a/multipathd/uxlsnr.c +++ b/multipathd/uxlsnr.c @@ -23,7 +23,7 @@ #include #include #include "checkers.h" -#include +#include "memory.h" #include "debug.h" #include "vector.h" #include "structs.h"