mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
IIO: Documentation: generic_buffer example: Avoid NULL pointer dereference
In case optarg n is not given return/exit Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Acked-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
7c31b984c4
commit
065896e904
1 changed files with 3 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue