Re: [PATCH -resend] pps: do not crash when failed to register

2016-07-14 Thread Rodolfo Giometti
On 07/14/16 13:52, Jiri Slaby wrote: With this command sequence: modprobe plip modprobe pps_parport rmmod pps_parport the partport_pps modules causes this crash: === BUG: unable to handle kernel NULL pointer dereference at (null) IP: [] parport_detach+0x1d/0x60 [pps_parport] Oop

[PATCH -resend] pps: do not crash when failed to register

2016-07-14 Thread Jiri Slaby
With this command sequence: modprobe plip modprobe pps_parport rmmod pps_parport the partport_pps modules causes this crash: === BUG: unable to handle kernel NULL pointer dereference at (null) IP: [] parport_detach+0x1d/0x60 [pps_parport] Oops: [#1] SMP ... Call Trace: [] parpo