From patchwork Thu Apr 7 19:29:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sumit Saxena X-Patchwork-Id: 558705 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B10ADC433EF for ; Thu, 7 Apr 2022 19:33:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229689AbiDGTfX (ORCPT ); Thu, 7 Apr 2022 15:35:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229469AbiDGTfV (ORCPT ); Thu, 7 Apr 2022 15:35:21 -0400 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 666562C270D for ; Thu, 7 Apr 2022 12:33:08 -0700 (PDT) Received: by mail-pj1-x102c.google.com with SMTP id gt4so6523446pjb.4 for ; Thu, 07 Apr 2022 12:33:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version; bh=92yOUFSY1cQoKrxaX9Lr9ZvhyZ3VMWdXdjCqoIeIpuY=; b=V8JsvxX5POKzsSxfKNhLF2Kc8g7/I363WF8apbheuLq52N3gXCRpDAIw8NnNXY4avt sHF2wC/nkreXvaV2eCSfQVpmSc/THwx3sDeY4Jw+k1m+3Lmopgl11YE1fOjoomVYDU7W See6FGZqRApvIR+CvYj/qHMVcQzMvEd57JSZw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version; bh=92yOUFSY1cQoKrxaX9Lr9ZvhyZ3VMWdXdjCqoIeIpuY=; b=eKELKHV/CZkn+B8ZeBv1nRBf+4LRbvvJBvkbbhSwYhscjx2ZvPkdu/1j/frEPZryHH evPFza3tCu4V13iRhJH3AnMfhTo/0zR5ZdtbK0s5HCWdF9E5vMNNjENKGEk49VqGoUcj Ga3S1VEtKT7MTa7R1OK7aQj8liVELyQNGLN+PeG8LQrP3mdxVayyoPgl1GdqVa2yo8qu 6eUKP0EyjOOqH1kkZJLa3gD5VNnvuHv8TVfIUrBSP4BqTiyVPzjeKQ1i0enO/fWIbAdK 1oDZBAlvh1mcqW/m8tK5n1us5+UcvfP9Jyy53BXRHMUPJNSu0v3gJMaRzrrESC/S6Fr2 G0FA== X-Gm-Message-State: AOAM5304HUVsd7fiWoanM8zsiPBFije5ycm+jzihYmrfWnzCdZgVgDxf EU/Y9ZrJEykMccK1VMUDi6tZxRbjkw9JlTjsP2qqgmny2PoMfspl8brSBlWAuV6P2ADqBIsjW6B /lUMmmCuDBA5vUoKXmI3JuGmyJNCIM8W+VZHUQBx0LgwfMR977yTw5JYrHNzKh0CDsfqwpMcpBS WnQuyTTi48Mw== X-Google-Smtp-Source: ABdhPJyaliNRqP5JOcQWbFatDNtyAmGEfm6eOzlt8YjHgNwW3lrxHdPcLKaWlQFLIXA295PgnEMjKA== X-Received: by 2002:a17:902:b213:b0:156:5a00:325f with SMTP id t19-20020a170902b21300b001565a00325fmr15315254plr.127.1649359798093; Thu, 07 Apr 2022 12:29:58 -0700 (PDT) Received: from dhcp-10-123-20-15.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id o3-20020a056a0015c300b004fb24adc4b8sm23579275pfu.159.2022.04.07.12.29.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 12:29:57 -0700 (PDT) From: Sumit Saxena To: linux-scsi@vger.kernel.org Cc: martin.petersen@oracle.com, bvanassche@acm.org, hch@lst.de, sathya.prakash@broadcom.com, kashyap.desai@broadcom.com, chandrakanth.patil@broadcom.com, sreekanth.reddy@broadcom.com, prayas.patel@broadcom.com, Sumit Saxena Subject: [PATCH v3 3/8] mpi3mr: move MPI headers to uapi/scsi/mpi3mr Date: Thu, 7 Apr 2022 15:29:08 -0400 Message-Id: <20220407192913.345411-4-sumit.saxena@broadcom.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220407192913.345411-1-sumit.saxena@broadcom.com> References: <20220407192913.345411-1-sumit.saxena@broadcom.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org MPI headers are used by user space applications so it makes sense to move them to uapi/scsi/mpi3mr. Signed-off-by: Sumit Saxena --- drivers/scsi/mpi3mr/mpi3mr.h | 14 +++++++------- .../mpi => include/uapi/scsi/mpi3mr}/mpi30_cnfg.h | 0 .../mpi => include/uapi/scsi/mpi3mr}/mpi30_image.h | 0 .../mpi => include/uapi/scsi/mpi3mr}/mpi30_init.h | 0 .../mpi => include/uapi/scsi/mpi3mr}/mpi30_ioc.h | 0 .../mpi => include/uapi/scsi/mpi3mr}/mpi30_pci.h | 0 .../mpi => include/uapi/scsi/mpi3mr}/mpi30_sas.h | 0 .../uapi/scsi/mpi3mr}/mpi30_transport.h | 0 8 files changed, 7 insertions(+), 7 deletions(-) rename {drivers/scsi/mpi3mr/mpi => include/uapi/scsi/mpi3mr}/mpi30_cnfg.h (100%) rename {drivers/scsi/mpi3mr/mpi => include/uapi/scsi/mpi3mr}/mpi30_image.h (100%) rename {drivers/scsi/mpi3mr/mpi => include/uapi/scsi/mpi3mr}/mpi30_init.h (100%) rename {drivers/scsi/mpi3mr/mpi => include/uapi/scsi/mpi3mr}/mpi30_ioc.h (100%) rename {drivers/scsi/mpi3mr/mpi => include/uapi/scsi/mpi3mr}/mpi30_pci.h (100%) rename {drivers/scsi/mpi3mr/mpi => include/uapi/scsi/mpi3mr}/mpi30_sas.h (100%) rename {drivers/scsi/mpi3mr/mpi => include/uapi/scsi/mpi3mr}/mpi30_transport.h (100%) diff --git a/drivers/scsi/mpi3mr/mpi3mr.h b/drivers/scsi/mpi3mr/mpi3mr.h index 877b0925dbc5..7538571e61a6 100644 --- a/drivers/scsi/mpi3mr/mpi3mr.h +++ b/drivers/scsi/mpi3mr/mpi3mr.h @@ -39,13 +39,13 @@ #include #include -#include "mpi/mpi30_transport.h" -#include "mpi/mpi30_cnfg.h" -#include "mpi/mpi30_image.h" -#include "mpi/mpi30_init.h" -#include "mpi/mpi30_ioc.h" -#include "mpi/mpi30_sas.h" -#include "mpi/mpi30_pci.h" +#include +#include +#include +#include +#include +#include +#include #include "mpi3mr_debug.h" /* Global list and lock for storing multiple adapters managed by the driver */ diff --git a/drivers/scsi/mpi3mr/mpi/mpi30_cnfg.h b/include/uapi/scsi/mpi3mr/mpi30_cnfg.h similarity index 100% rename from drivers/scsi/mpi3mr/mpi/mpi30_cnfg.h rename to include/uapi/scsi/mpi3mr/mpi30_cnfg.h diff --git a/drivers/scsi/mpi3mr/mpi/mpi30_image.h b/include/uapi/scsi/mpi3mr/mpi30_image.h similarity index 100% rename from drivers/scsi/mpi3mr/mpi/mpi30_image.h rename to include/uapi/scsi/mpi3mr/mpi30_image.h diff --git a/drivers/scsi/mpi3mr/mpi/mpi30_init.h b/include/uapi/scsi/mpi3mr/mpi30_init.h similarity index 100% rename from drivers/scsi/mpi3mr/mpi/mpi30_init.h rename to include/uapi/scsi/mpi3mr/mpi30_init.h diff --git a/drivers/scsi/mpi3mr/mpi/mpi30_ioc.h b/include/uapi/scsi/mpi3mr/mpi30_ioc.h similarity index 100% rename from drivers/scsi/mpi3mr/mpi/mpi30_ioc.h rename to include/uapi/scsi/mpi3mr/mpi30_ioc.h diff --git a/drivers/scsi/mpi3mr/mpi/mpi30_pci.h b/include/uapi/scsi/mpi3mr/mpi30_pci.h similarity index 100% rename from drivers/scsi/mpi3mr/mpi/mpi30_pci.h rename to include/uapi/scsi/mpi3mr/mpi30_pci.h diff --git a/drivers/scsi/mpi3mr/mpi/mpi30_sas.h b/include/uapi/scsi/mpi3mr/mpi30_sas.h similarity index 100% rename from drivers/scsi/mpi3mr/mpi/mpi30_sas.h rename to include/uapi/scsi/mpi3mr/mpi30_sas.h diff --git a/drivers/scsi/mpi3mr/mpi/mpi30_transport.h b/include/uapi/scsi/mpi3mr/mpi30_transport.h similarity index 100% rename from drivers/scsi/mpi3mr/mpi/mpi30_transport.h rename to include/uapi/scsi/mpi3mr/mpi30_transport.h