lkml.org 
[lkml]   [2023]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH v5 char-misc-next] misc: microchip: pci1xxxx: Add OTP/EEPROM driver for the pci1xxxx switch
Date
> From: Greg KH <gregkh@linuxfoundation.org>
> Sent: Sunday, February 12, 2023 12:39 PM
> To: Tharunkumar Pasumarthi - I67821
> <Tharunkumar.Pasumarthi@microchip.com>
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the
> content is safe
>
> Again, you can not sit and spin in a busy-wait like this with no chance to
> recover if something goes wrong with the hardware (hint, what if it got
> removed?)
>
> please fix.

Okay Greg. I will add timeout logic in driver to break out of busy-wait loop to handle cases like these.

Thanks,
Tharun Kumar P

\
 
 \ /
  Last update: 2023-03-27 00:19    [W:0.079 / U:0.732 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site