Message ID | 1539758277-1882-16-git-send-email-shivasharan.srikanteshwara@broadcom.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show
Return-Path: <linux-scsi-owner@kernel.org> 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 A2D48157A for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 17 Oct 2018 06:38:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 94AF32A76E for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 17 Oct 2018 06:38:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 891E62A790; Wed, 17 Oct 2018 06:38:53 +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 3E4962A76E for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 17 Oct 2018 06:38:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727352AbeJQOdA (ORCPT <rfc822;patchwork-linux-scsi@patchwork.kernel.org>); Wed, 17 Oct 2018 10:33:00 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:42742 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727099AbeJQOdA (ORCPT <rfc822;linux-scsi@vger.kernel.org>); Wed, 17 Oct 2018 10:33:00 -0400 Received: by mail-pl1-f194.google.com with SMTP id c8-v6so12172707plo.9 for <linux-scsi@vger.kernel.org>; Tue, 16 Oct 2018 23:38:52 -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=rHrJbcOM5D0zAKJcCdYEMWwLpAKyJKTiluXPbiG3MAI=; b=WIibUOCv9QGaxMzM+LPqKqSXoU0gP8qck4okocMskRqqotfA67Sc66qkZ8WRh01oqS bZIMWG9MWFhYAIl/kQa7rTi7dT4IPrTlhq0KV8qrGBpDjMgyoQuZXuz4L9A5UpKB4j26 hiwiXNzKT/mPt5BHUCZR/AEbv6a1SD8+OSE98= 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=rHrJbcOM5D0zAKJcCdYEMWwLpAKyJKTiluXPbiG3MAI=; b=dlxJl97mXhoYI3nnnzt86PLdy8rhNVHOOuEBLF2fyTQYG5FzT1WVaQN6EGgHx0O+GQ BPjswR2/hFmyQ8LfKfSdXVtwlge4OAbkX9bJjc8q9+g8BUyuh3uxWK9cS1CVh9U77TlJ GmtsnJAbNkrpQla4r90T0XQeaVnV4TtlyvG7RqiAeBUOZ3VOTaKA3KPK5+2Jevp2lRM7 uYFQ7PONXdoxt/yVmCb2MnyIdDFEHqc2g7HrAetZU5JngvN1T8tQuI4mvXVAWktBZVhO HQPGyRHUdbIZLnyer/+UoNMJ8gw1HQHg1xRxvrYUbeIOTqnCGHC3iiPlyiy7UOUjx46g zO/g== X-Gm-Message-State: ABuFfohfhB1jsGNG2uLfXqogRYMVNtzhrziEoqivrMu4UgXQ724R5dFs 8VxpoqlLmllNqNhwBpKWy90PMPWVfAv2Fw== X-Google-Smtp-Source: ACcGV63fY6/iO8a2Ic3cktaNod7BdYS0zQw/wQlcyO9jB1qNyW0pjwEn5/12/590aKwCt5d28mQ4Ww== X-Received: by 2002:a17:902:e08e:: with SMTP id cb14-v6mr24096137plb.196.1539758331700; Tue, 16 Oct 2018 23:38:51 -0700 (PDT) Received: from dhcp-135-24-192-142.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id y131-v6sm19375425pfg.164.2018.10.16.23.38.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Oct 2018 23:38:50 -0700 (PDT) From: Shivasharan S <shivasharan.srikanteshwara@broadcom.com> To: linux-scsi@vger.kernel.org Cc: kashyap.desai@broadcom.com, sumit.saxena@broadcom.com, Shivasharan S <shivasharan.srikanteshwara@broadcom.com> Subject: [PATCH V2 15/19] megaraid_sas: Remove double endian conversion Date: Tue, 16 Oct 2018 23:37:53 -0700 Message-Id: <1539758277-1882-16-git-send-email-shivasharan.srikanteshwara@broadcom.com> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1539758277-1882-1-git-send-email-shivasharan.srikanteshwara@broadcom.com> References: <1539758277-1882-1-git-send-email-shivasharan.srikanteshwara@broadcom.com> Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: <linux-scsi.vger.kernel.org> X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
megaraid_sas: Driver updates
|
expand
|
diff --git a/drivers/scsi/megaraid/megaraid_sas_fusion.c b/drivers/scsi/megaraid/megaraid_sas_fusion.c index b13fd1c601d7..a26abc041435 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;
Signed-off-by: Shivasharan S <shivasharan.srikanteshwara@broadcom.com> --- drivers/scsi/megaraid/megaraid_sas_fusion.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)