From patchwork Fri Oct 12 10:57:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shivasharan Srikanteshwara X-Patchwork-Id: 10638509 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 89E5E933 for ; Fri, 12 Oct 2018 10:58:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 77EC92B482 for ; Fri, 12 Oct 2018 10:58:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6C0882B5BE; Fri, 12 Oct 2018 10:58:49 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 20FA92B482 for ; Fri, 12 Oct 2018 10:58:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728304AbeJLSak (ORCPT ); Fri, 12 Oct 2018 14:30:40 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:33808 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728157AbeJLSak (ORCPT ); Fri, 12 Oct 2018 14:30:40 -0400 Received: by mail-ed1-f68.google.com with SMTP id w19-v6so11103983eds.1 for ; Fri, 12 Oct 2018 03:58:47 -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; bh=VxvnuSxMiDifcz5hlDSYSpuWxe8xt0OU12ev9k5MY1o=; b=EeI6UvhVl1GXGym66BcHMvnE/BRTD+y4GK4ouayuMI6vf7llVoDyZOoBGZmR4hNk6X RDXepRzoPal6SOrEkqVM/pLYqvv8bAC2L61Z/BYHyiQhGoUUszLiQJqshKC6DoOa1JLL 14lSSdZCmiw9KUH5w/ieyCoTl5ssM0zmsZrrA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=VxvnuSxMiDifcz5hlDSYSpuWxe8xt0OU12ev9k5MY1o=; b=ImtwZdnN3ZdIl/ZHRPacJmhOYT1KcjjThJwkQ/QZe02VP37UKCocaidt4pXWwzT8lS 2PmYKh8C2PKw9S2hxMdCHzlXNrrCEJMQj4EscQYxFgeXuo1awrjVskUOr4JYDTKP70+H YbWSklb14dt2FcoQbCVCk4gNNkaduX7qb0qdhEWLWCg+HM9ATX2ofZ4j7y/iqoCysd4R EpShAqMh6/jNsFfsAT7ar4QbfOWCorgwRnJVV5Cn1ZZ/AsMnq9Gz8dg3yqhE+f9Ryjxa b2dg+se8mrnmRheEVs6ARiSA4XgWh2kRmlHVKeEMbtJQrUM3gToyTNLj1PiZAjuQcYgn 2ovw== X-Gm-Message-State: ABuFfogXb/ZofEi32HtK69AEHwxYN+YUmB61je0dRzBIeFLoT04hEJtX Rvmr5l7vdnBWhuLqMkYlyFjMvc+SUT660w== X-Google-Smtp-Source: ACcGV62LPl+/7oQmgiCNwr+yPBop20hKkPwxtrl0/jXWR0V/g9DCAQ159hRTsUnw8hFb7WtQrk0Fqw== X-Received: by 2002:a50:abc2:: with SMTP id u60-v6mr8223541edc.185.1539341926470; Fri, 12 Oct 2018 03:58:46 -0700 (PDT) Received: from dhcp-135-24-192-142.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id m25-v6sm451198edc.86.2018.10.12.03.58.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Oct 2018 03:58:45 -0700 (PDT) From: Shivasharan S To: linux-scsi@vger.kernel.org Cc: kashyap.desai@broadcom.com, sumit.saxena@broadcom.com, Shivasharan S Subject: [PATCH 15/19] megaraid_sas: Remove double endian conversion Date: Fri, 12 Oct 2018 03:57:29 -0700 Message-Id: <1539341853-26814-16-git-send-email-shivasharan.srikanteshwara@broadcom.com> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1539341853-26814-1-git-send-email-shivasharan.srikanteshwara@broadcom.com> References: <1539341853-26814-1-git-send-email-shivasharan.srikanteshwara@broadcom.com> Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Shivasharan S --- drivers/scsi/megaraid/megaraid_sas_fusion.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/scsi/megaraid/megaraid_sas_fusion.c b/drivers/scsi/megaraid/megaraid_sas_fusion.c index 0a8b7167d05d..76ea5dc656b1 100644 --- a/drivers/scsi/megaraid/megaraid_sas_fusion.c +++ b/drivers/scsi/megaraid/megaraid_sas_fusion.c @@ -1043,9 +1043,7 @@ megasas_ioc_init_fusion(struct megasas_instance *instance) frame_hdr = &cmd->frame->hdr; frame_hdr->cmd_status = 0xFF; - frame_hdr->flags = cpu_to_le16( - le16_to_cpu(frame_hdr->flags) | - MFI_FRAME_DONT_POST_IN_REPLY_QUEUE); + frame_hdr->flags |= cpu_to_le16(MFI_FRAME_DONT_POST_IN_REPLY_QUEUE); init_frame->cmd = MFI_CMD_INIT; init_frame->cmd_status = 0xFF;