summaryrefslogtreecommitdiff
path: root/rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorKumar Meiyappan <kumar.meiyappan@microchip.com>2026-04-16 15:37:57 +0000
committerMartin K. Petersen <martin.petersen@oracle.com>2026-05-14 22:09:30 -0400
commit2a8fbcfb04aa9db189bfa3842d4f586aecd0e631 (patch)
tree389b381edc89e0a6e1a186892cac5843480e1f71 /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
parent67b85a88265df19f049241d8c00571a5408f4eeb (diff)
scsi: pm8001: Reject firmware update in fatal error state
pm8001_store_update_fw() allows a firmware update request even when the controller has already entered a fatal error state. Firmware update is not valid once the controller is in that state, and attempting it can lead to a call trace. Reject the request early by checking controller_fatal_error, set the firmware status to FAIL_PARAMETERS, and return -EINVAL. Signed-off-by: Kumar Meiyappan <kumar.meiyappan@microchip.com> Signed-off-by: Sagar Biradar <sagar.biradar@microchip.com> Link: https://patch.msgid.link/20260416153757.414896-1-sagar.biradar@microchip.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions