Skip to content

Write procedure can't be interrupted by any signal #9

@wzab

Description

@wzab

Dear Marcin,

I'm afraid, your write procedure can't be interrupted (via CTRL+C or sending any signal) in case of any hardware problems.
The reason is that you do not check the result of wait_event_interruptible in line:

wait_event_interruptible(p->write_wait_queue, p->write_done);

You should interrupt the write loop and report an error here.

With best regards,
Wojtek

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions