Skip to content

Commit b215918

Browse files
arkevmitchgregkh
authored andcommitted
lkdtm: remove IDE_CORE_CP crashpoint
With the removal of the legacy IDE driver in kb7fb14d3ac63 ("ide: remove the legacy ide driver"), this crashpoint no longer points to a valid function. Acked-by: Kees Cook <[email protected]> Signed-off-by: Kevin Mitchell <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent d1f278d commit b215918

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Documentation/fault-injection/provoke-crashes.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ recur_count
2929
cpoint_name
3030
Where in the kernel to trigger the action. It can be
3131
one of INT_HARDWARE_ENTRY, INT_HW_IRQ_EN, INT_TASKLET_ENTRY,
32-
FS_DEVRW, MEM_SWAPOUT, TIMERADD, SCSI_QUEUE_RQ,
33-
IDE_CORE_CP, or DIRECT
32+
FS_DEVRW, MEM_SWAPOUT, TIMERADD, SCSI_QUEUE_RQ, or DIRECT.
3433

3534
cpoint_type
3635
Indicates the action to be taken on hitting the crash point.

drivers/misc/lkdtm/core.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ static struct crashpoint crashpoints[] = {
8282
CRASHPOINT("MEM_SWAPOUT", "shrink_inactive_list"),
8383
CRASHPOINT("TIMERADD", "hrtimer_start"),
8484
CRASHPOINT("SCSI_QUEUE_RQ", "scsi_queue_rq"),
85-
CRASHPOINT("IDE_CORE_CP", "generic_ide_ioctl"),
8685
#endif
8786
};
8887

0 commit comments

Comments
 (0)