Re: [PATCH] iio: add NULL pointer checks to iio device additional/removal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 3, 2022 at 7:57 PM Andy Shevchenko
<andy.shevchenko@xxxxxxxxx> wrote:
> On Wed, Aug 3, 2022 at 2:04 PM Matt Ranostay <matt.ranostay@xxxxxxxxxxxx> wrote:
> >
> > Check if __iio_device_register and iio_device_unregister indio_dev
> > parameter isn't a NULL pointer.

A couple more things:
- make sure you include all maintainers and reviewers (you may use my
"smart" script [1] for that)
- explain why you are doing this change

[1]: https://github.com/andy-shev/home-bin-tools/blob/master/ge2maintainer.sh

-- 
With Best Regards,
Andy Shevchenko



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux