Tag: 3354f73b24c6d392ed7fd5583cfcc7604c1934ae

drivers/vlynq/vlynq.c: fix resource size off by 1 error

Author: Julia Lawall <julia@diku.dk> In this case, the calls to request_mem_region, ioremap, and release_mem_region all have a consistent length argument, len, but since in other files (res->end – res->start) + 1, equivalent to resource_size(res), is used for a resource-typed structure res, one could consider whether the same should be done here. The problem was found …

Continue reading