From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753234AbcHOPMi (ORCPT ); Mon, 15 Aug 2016 11:12:38 -0400 Received: from mx2.suse.de ([195.135.220.15]:36618 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752842AbcHOPMf (ORCPT ); Mon, 15 Aug 2016 11:12:35 -0400 From: Johannes Thumshirn To: James Bottomley , "Martin K . Petersen" Cc: Hannes Reinecke , Linux Kernel Mailinglist , Linux SCSI Mailinglist , Johannes Thumshirn Subject: [PATCH v2 0/3] Fix panic when a SES device is attached to a hpsa logical volume. Date: Mon, 15 Aug 2016 17:12:21 +0200 Message-Id: X-Mailer: git-send-email 1.8.5.6 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The first patch provides stub implementations for scsi_is_sas_phy() and sas_get_address() for the case that CONFIG_SCSI_SAS_ATTRS is not defined. The second patch implements the actual fix in ses.c by changing the is_sas_attached() call to scsi_is_sas_rphy(). The third and last patch removes is_sas_attached() as it doesn't have any more consumers left. Johannes Thumshirn (3): sas: provide stub implementations for scsi_is_sas_phy and sas_get_address ses: use scsi_is_sas_rphy instead of is_sas_attached sas: remove is_sas_attached() drivers/scsi/scsi_transport_sas.c | 16 ---------------- drivers/scsi/ses.c | 2 +- include/scsi/scsi_transport_sas.h | 12 ++++++++---- 3 files changed, 9 insertions(+), 21 deletions(-) -- 1.8.5.6