Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752470AbdLMKOL (ORCPT ); Wed, 13 Dec 2017 05:14:11 -0500 Received: from mail-it0-f68.google.com ([209.85.214.68]:43014 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751508AbdLMKOJ (ORCPT ); Wed, 13 Dec 2017 05:14:09 -0500 X-Google-Smtp-Source: ACJfBovWAieki6QYfkJ1xcmZgjl/h740lfEov7NyGNZcm9fX9pxffCRiKnjbiJFG4ssc7UB2kGUKCw== To: davem@davemloft.net, Stephen Hemminger , keescook@chromium.org, dhowells@redhat.com, allen.lkml@gmail.com, johannes.berg@intel.com, arvind.yadav.cs@gmail.com Cc: netdev@vger.kernel.org, linux-parisc@vger.kernel.org, Linux Kernel Mailing List From: Jia-Ju Bai Subject: [BUG] tulip/de4x5: a possible sleep-in-atomic bug in de4x5_interrupt Message-ID: Date: Wed, 13 Dec 2017 18:13:53 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 366 Lines: 13 According to drivers/net/ethernet/dec/tulip/de4x5.c, the driver may sleep in the interrupt handler. The function call path is: de4x5_interrupt (interrupt handler) synchronize_irq --> may sleep I do not find a good way to fix it, so I only report. This possible bug is found by my static analysis tool (DSAC) and checked by my code review. Thanks, Jia-Ju Bai