Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966346AbdLSDdn (ORCPT ); Mon, 18 Dec 2017 22:33:43 -0500 Received: from aserp2120.oracle.com ([141.146.126.78]:43208 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933279AbdLSDdh (ORCPT ); Mon, 18 Dec 2017 22:33:37 -0500 To: Jia-Ju Bai Cc: QLogic-Storage-Upstream@cavium.com, jejb@linux.vnet.ibm.com, martin.petersen@oracle.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] qedi: Fix a possible sleep-in-atomic bug in qedi_process_tmf_resp From: "Martin K. Petersen" Organization: Oracle Corporation References: <1513156268-13328-1-git-send-email-baijiaju1990@gmail.com> Date: Mon, 18 Dec 2017 22:33:24 -0500 In-Reply-To: <1513156268-13328-1-git-send-email-baijiaju1990@gmail.com> (Jia-Ju Bai's message of "Wed, 13 Dec 2017 17:11:08 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8749 signatures=668649 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=635 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1712190048 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 240 Lines: 12 Jia-Ju, > To fix it, GFP_KERNEL is replaced with GFP_ATOMIC. > > This bug is found by my static analysis tool(DSAC) and checked by my > code review. Applied to 4.16/scsi-queue. Thank you! -- Martin K. Petersen Oracle Linux Engineering