{"push_id":693640119,"size":1000,"distinct_size":0,"ref":"refs/heads/staging/iommu","head":"a4c8ecc1cb4624bf1b2243dfc6d7a2b2956783ed","before":"6668d5119d381286dbec87211432294bfac9e6c2","commits":[{"sha":"f96d055e4b38c64123f211f0521f834d649cd01c","author":{"email":"4bccb8448924141fc676c25eb657b52ee47a361d@gmx.de","name":"Hartmut Knaack"},"message":"tools:iio:lsiio: add closedir before exit\n\nIn dump_channels() the DIR *dp was left open on exit. Close it and check\nfor errors.\n\nSigned-off-by: Hartmut Knaack <knaack.h@gmx.de>\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/thierryreding/linux/commits/f96d055e4b38c64123f211f0521f834d649cd01c"},{"sha":"2b6a6e67af6f8f644a48f75efc1f44544c0d74f6","author":{"email":"4bccb8448924141fc676c25eb657b52ee47a361d@gmx.de","name":"Hartmut Knaack"},"message":"tools:iio: save errno first\n\nThe man-page of errno states, that errno should be saved before doing any\nlibrary call, as that call may have changed the value of errno. So, when\nencountering any error, save errno first.\nThis patch affects generic_buffer.c, iio_event_monitor.c and iio_utils.c.\n\nSigned-off-by: Hartmut Knaack <knaack.h@gmx.de>\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/thierryreding/linux/commits/2b6a6e67af6f8f644a48f75efc1f44544c0d74f6"},{"sha":"5fdb8c6127c3c594360fb5f2959a724809c0032e","author":{"email":"4bccb8448924141fc676c25eb657b52ee47a361d@gmx.de","name":"Hartmut Knaack"},"message":"tools:iio:iio_event_monitor: save right errno\n\nMove up error handling code to preserve the errno coming from ioctl(),\nbefore it may be changed by close().\n\nSigned-off-by: Hartmut Knaack <knaack.h@gmx.de>\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/thierryreding/linux/commits/5fdb8c6127c3c594360fb5f2959a724809c0032e"},{"sha":"8749948a1bc0aff24e493f89de40e2ff95a83baf","author":{"email":"4bccb8448924141fc676c25eb657b52ee47a361d@gmx.de","name":"Hartmut Knaack"},"message":"tools:iio:generic_buffer: fix check of errno\n\nSince errno contains the value of any of the defined error names, a\nnegation will not lead to the desired match.\n\nSigned-off-by: Hartmut Knaack <knaack.h@gmx.de>\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/thierryreding/linux/commits/8749948a1bc0aff24e493f89de40e2ff95a83baf"},{"sha":"e83a47cf6a5bdbd3d5677db13ae4df22f5e24b08","author":{"email":"4bccb8448924141fc676c25eb657b52ee47a361d@gmx.de","name":"Hartmut Knaack"},"message":"tools:iio:generic_buffer: pass up right error code\n\nfind_type_by_name() returns a valid error code in case of an error. Pass\nthis code up instead of an artificial one.\n\nSigned-off-by: Hartmut Knaack <knaack.h@gmx.de>\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/thierryreding/linux/commits/e83a47cf6a5bdbd3d5677db13ae4df22f5e24b08"},{"sha":"8e926134ef15267f65ddfc7389c8078234610295","author":{"email":"4bccb8448924141fc676c25eb657b52ee47a361d@gmx.de","name":"Hartmut Knaack"},"message":"tools:iio:generic_buffer: sign-extend and shift data\n\nRefactor process_scan() to handle signed and unsigned data, respect shifts\nand the data mask for 2, 4 and 8 byte sized scan elements.\n\nSigned-off-by: Hartmut Knaack <knaack.h@gmx.de>\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/thierryreding/linux/commits/8e926134ef15267f65ddfc7389c8078234610295"},{"sha":"dc8b5d6e633f8e54f70594d0be87aaf401ea0559","author":{"email":"4bccb8448924141fc676c25eb657b52ee47a361d@gmx.de","name":"Hartmut Knaack"},"message":"tools:iio:iio_utils: check amount of matches\n\nfscanf() usually returns the number of input items successfully matched\nand assigned, which can be fewer than provided (or even zero).\nAdd a check in iioutils_get_type() to make sure all items are matched.\n\nSigned-off-by: Hartmut Knaack <knaack.h@gmx.de>\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/thierryreding/linux/commits/dc8b5d6e633f8e54f70594d0be87aaf401ea0559"},{"sha":"096f9b862e605fe08bb30e4f7a381684a8ff82ed","author":{"email":"4bccb8448924141fc676c25eb657b52ee47a361d@gmx.de","name":"Hartmut Knaack"},"message":"tools:iio:iio_utils: implement digit calculation\n\nPreviously, the return value of sscanf() was treated as an indication of\nthe digits it would have read. Yet, sscanf() only returns the amount of\nvalid matches.\nTherefore, introduce a function to calculate the decimal digits of the\nread number and use this one to commence a colon search, as originally\nintended.\n\nSigned-off-by: Hartmut Knaack <knaack.h@gmx.de>\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/thierryreding/linux/commits/096f9b862e605fe08bb30e4f7a381684a8ff82ed"},{"sha":"2156b179993e3d5b422976181ba17d91153313e1","author":{"email":"4bccb8448924141fc676c25eb657b52ee47a361d@gmx.de","name":"Hartmut Knaack"},"message":"tools:iio:iio_utils: mark private function static\n\nFunctions _write_sysfs_int() and _write_sysfs_string() are supposed to\nbe called only by public wrappers, so make them static.\n\nSigned-off-by: Hartmut Knaack <knaack.h@gmx.de>\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/thierryreding/linux/commits/2156b179993e3d5b422976181ba17d91153313e1"},{"sha":"e9e45b43b8f06273d9b78f187042dff0bf5be0a5","author":{"email":"4bccb8448924141fc676c25eb657b52ee47a361d@gmx.de","name":"Hartmut Knaack"},"message":"tools:iio: catch errors in string allocation\n\nThis patch catches errors in string allocation in generic_buffer.c,\niio_event_monitor.c, iio_utils.c and lsiio.c.\n\nSigned-off-by: Hartmut Knaack <knaack.h@gmx.de>\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/thierryreding/linux/commits/e9e45b43b8f06273d9b78f187042dff0bf5be0a5"},{"sha":"c8ce9903cba202936999c2c9463fbb370ee145ba","author":{"email":"4bccb8448924141fc676c25eb657b52ee47a361d@gmx.de","name":"Hartmut Knaack"},"message":"tools:iio:generic_buffer: catch errors for arguments conversion\n\nAdd handler to catch errors on conversion of numerical arguments.\n\nSigned-off-by: Hartmut Knaack <knaack.h@gmx.de>\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/thierryreding/linux/commits/c8ce9903cba202936999c2c9463fbb370ee145ba"},{"sha":"6bb7cac8551e2d60edbd25a6d046cc45932c4c3e","author":{"email":"4bccb8448924141fc676c25eb657b52ee47a361d@gmx.de","name":"Hartmut Knaack"},"message":"tools:iio:generic_buffer: add error handling\n\nAdd error handling to calls which can indicate a major problem by\nreturning an error code.\n\nSigned-off-by: Hartmut Knaack <knaack.h@gmx.de>\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/thierryreding/linux/commits/6bb7cac8551e2d60edbd25a6d046cc45932c4c3e"},{"sha":"963f54cef23b7e8c91bbe60b978b5f4a3e990f2c","author":{"email":"4bccb8448924141fc676c25eb657b52ee47a361d@gmx.de","name":"Hartmut Knaack"},"message":"tools:iio:iio_event_monitor: add error handling\n\nAdd error handling to calls which can indicate a major problem by\nreturning an error code.\n\nSigned-off-by: Hartmut Knaack <knaack.h@gmx.de>\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/thierryreding/linux/commits/963f54cef23b7e8c91bbe60b978b5f4a3e990f2c"},{"sha":"53118557b6a9c263e4a80825da367b2116529541","author":{"email":"4bccb8448924141fc676c25eb657b52ee47a361d@gmx.de","name":"Hartmut Knaack"},"message":"tools:iio:iio_utils: add error handling\n\nAdd error handling to calls which can indicate a major problem by\nreturning an error code.\nThis also sets ret to -ENOENT in iioutils_get_type() and\niioutils_get_param_float() to indicate if no matching directory entry was\nfound.\n\nSigned-off-by: Hartmut Knaack <knaack.h@gmx.de>\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/thierryreding/linux/commits/53118557b6a9c263e4a80825da367b2116529541"},{"sha":"acf50b3586f8d8a7530b905e111dda41876d38f4","author":{"email":"4bccb8448924141fc676c25eb657b52ee47a361d@gmx.de","name":"Hartmut Knaack"},"message":"tools:iio:lsiio: add error handling\n\nAdd error handling to calls which can indicate a major problem by\nreturning an error code.\nThis also involves to change the type of dump_devices() from void to int.\n\nSigned-off-by: Hartmut Knaack <knaack.h@gmx.de>\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/thierryreding/linux/commits/acf50b3586f8d8a7530b905e111dda41876d38f4"},{"sha":"5dc65d791ddafc9f6d944391e379708b6056fc48","author":{"email":"4bccb8448924141fc676c25eb657b52ee47a361d@gmx.de","name":"Hartmut Knaack"},"message":"tools:iio:iio_utils: add missing documentation\n\nFully document public functions and elements.\n\nSigned-off-by: Hartmut Knaack <knaack.h@gmx.de>\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/thierryreding/linux/commits/5dc65d791ddafc9f6d944391e379708b6056fc48"},{"sha":"0e799878175aa7d08f5882b6a391de4724c52e9e","author":{"email":"4bccb8448924141fc676c25eb657b52ee47a361d@gmx.de","name":"Hartmut Knaack"},"message":"tools:iio: return values directly\n\nReturn directly, if no common cleanup is required.\n\nSigned-off-by: Hartmut Knaack <knaack.h@gmx.de>\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/thierryreding/linux/commits/0e799878175aa7d08f5882b6a391de4724c52e9e"},{"sha":"916e89e4b7272e1eda9eba057cf25197129bcf79","author":{"email":"4bccb8448924141fc676c25eb657b52ee47a361d@gmx.de","name":"Hartmut Knaack"},"message":"tools:iio:iio_event_monitor: refactor events output\n\nRefactor the code in print_event() to reduce code duplication and better\nreflect that the type is output unconditionally, as well as cascade the\ndependency of the diff-channel. Saves a few lines of code, as well.\n\nSigned-off-by: Hartmut Knaack <knaack.h@gmx.de>\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/thierryreding/linux/commits/916e89e4b7272e1eda9eba057cf25197129bcf79"},{"sha":"33ebcb21a67f257faf1128f08a6d7c0299cb0da2","author":{"email":"4bccb8448924141fc676c25eb657b52ee47a361d@gmx.de","name":"Hartmut Knaack"},"message":"tools:iio:iio_utils: refactor assignment of is_signed\n\nChange the assignment of *is_signed in iioutils_get_type() to a one-liner,\nas already done with *be.\n\nSigned-off-by: Hartmut Knaack <knaack.h@gmx.de>\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/thierryreding/linux/commits/33ebcb21a67f257faf1128f08a6d7c0299cb0da2"},{"sha":"ace76e42bcd5d67e5be303997a4dc325d44366ce","author":{"email":"4bccb8448924141fc676c25eb657b52ee47a361d@gmx.de","name":"Hartmut Knaack"},"message":"tools:iio:iio_utils: move up reset of sysfsfp\n\nIn iioutils_get_type() it is logically better fitting to have sysfsfp\nassigned zero right after closing it.\n\nSigned-off-by: Hartmut Knaack <knaack.h@gmx.de>\nSigned-off-by: Jonathan Cameron <jic23@kernel.org>","distinct":false,"url":"https://api.github.com/repos/thierryreding/linux/commits/ace76e42bcd5d67e5be303997a4dc325d44366ce"}]}