From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AA54114A4FA; Tue, 23 Jan 2024 00:20:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705969250; cv=none; b=YHRIMIyhHCc5iUlaya38+9KaLvmK2Cokrccq8Vexsgxz9r2V3xS854AGFZSApRIbb6DcVhYlCWT1fn73oFOeQfuy3iSvQMjpmObJu2+QIuiBOgmRJdTGZgSkAd6lrEdsckeh8zFPh4BDiF3WYjwWnz19RVkwoyO3IPkeLGL8IWc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705969250; c=relaxed/simple; bh=R7xwelLNxbv0rF12r1jDsf02sH6yIFH+5AiX3dsCo1M=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=KxSxAUjaKtXGPNt2osVtCooE12uPaW7+4v+3d00DSL72zbhHmfZU6oNjiPhVC9gssp9BGUSRHcB41MvQfmcU+OXxKwE5/eD/QLS/RgGGTb04iLScEwGjUNkHRSlhQMNxcAlC6r9F+6hpFpoq1KCG9wCn4STxmraYvvT8XmTOR3w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=GRHjtoEb; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="GRHjtoEb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 340A0C433F1; Tue, 23 Jan 2024 00:20:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1705969250; bh=R7xwelLNxbv0rF12r1jDsf02sH6yIFH+5AiX3dsCo1M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GRHjtoEbNcDN/wf7TQEtUBVdFZrKP3VK95AGj68hLsciD3z6J5i+adHHIqPJj4I/5 mjgejHa1C4kQvC/a7uef/ldPAyp0NEOkPWkYhj/2WV34LgCqyqzY3Un6wvGCQnx0Os peDkrZsOoz9IkPglO8aq3jdFSBmJmmbHgfEjYmh4= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, kernel test robot , Bart Van Assche , "Martin K. Petersen" , Sasha Levin Subject: [PATCH 6.7 107/641] scsi: bfa: Use the proper data type for BLIST flags Date: Mon, 22 Jan 2024 15:50:11 -0800 Message-ID: <20240122235821.388609950@linuxfoundation.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240122235818.091081209@linuxfoundation.org> References: <20240122235818.091081209@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.7-stable review patch. If anyone has any objections, please let me know. ------------------ From: Bart Van Assche [ Upstream commit 0349be31e4ffc79723e46e2e373569567b06347b ] Fix the following sparse warning: drivers/scsi/bfa/bfad_bsg.c:2553:50: sparse: sparse: incorrect type in initializer (different base types) Fixes: 2e5a6c3baccd ("scsi: bfa: Convert bfad_reset_sdev_bflags() from a macro into a function") Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202311031255.lmSPisIk-lkp@intel.com/ Signed-off-by: Bart Van Assche Link: https://lore.kernel.org/r/20231115193338.2261972-1-bvanassche@acm.org Signed-off-by: Martin K. Petersen Signed-off-by: Sasha Levin --- drivers/scsi/bfa/bfad_bsg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/bfa/bfad_bsg.c b/drivers/scsi/bfa/bfad_bsg.c index 520f9152f3bf..d4ceca2d435e 100644 --- a/drivers/scsi/bfa/bfad_bsg.c +++ b/drivers/scsi/bfa/bfad_bsg.c @@ -2550,7 +2550,7 @@ bfad_iocmd_vf_clr_stats(struct bfad_s *bfad, void *cmd) static void bfad_reset_sdev_bflags(struct bfad_im_port_s *im_port, int lunmask_cfg) { - const u32 scan_flags = BLIST_NOREPORTLUN | BLIST_SPARSELUN; + const blist_flags_t scan_flags = BLIST_NOREPORTLUN | BLIST_SPARSELUN; struct bfad_itnim_s *itnim; struct scsi_device *sdev; unsigned long flags; -- 2.43.0