Loading drivers/char/adsprpc.c +10 −2 Original line number Diff line number Diff line Loading @@ -609,8 +609,13 @@ static int fastrpc_mmap_find(struct fastrpc_file *fl, int fd, if (va >= map->va && va + len <= map->va + map->len && map->fd == fd) { if (refs) if (refs) { if (map->refs + 1 == INT_MAX) { spin_unlock(&me->hlock); return -ETOOMANYREFS; } map->refs++; } match = map; break; } Loading @@ -621,8 +626,11 @@ static int fastrpc_mmap_find(struct fastrpc_file *fl, int fd, if (va >= map->va && va + len <= map->va + map->len && map->fd == fd) { if (refs) if (refs) { if (map->refs + 1 == INT_MAX) return -ETOOMANYREFS; map->refs++; } match = map; break; } Loading Loading
drivers/char/adsprpc.c +10 −2 Original line number Diff line number Diff line Loading @@ -609,8 +609,13 @@ static int fastrpc_mmap_find(struct fastrpc_file *fl, int fd, if (va >= map->va && va + len <= map->va + map->len && map->fd == fd) { if (refs) if (refs) { if (map->refs + 1 == INT_MAX) { spin_unlock(&me->hlock); return -ETOOMANYREFS; } map->refs++; } match = map; break; } Loading @@ -621,8 +626,11 @@ static int fastrpc_mmap_find(struct fastrpc_file *fl, int fd, if (va >= map->va && va + len <= map->va + map->len && map->fd == fd) { if (refs) if (refs) { if (map->refs + 1 == INT_MAX) return -ETOOMANYREFS; map->refs++; } match = map; break; } Loading