mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 03:53:37 +02:00
staging: gasket: remove extra parens in gasket_write_mappable_regions
Remove unneeded parentheses around subexpressions. Reported-by: Guenter Roeck <groeck@chromium.org> Signed-off-by: Simon Que <sque@chromium.org> Signed-off-by: Todd Poynor <toddpoynor@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
fd5d76ab69
commit
40eb350231
|
|
@ -1889,7 +1889,7 @@ static ssize_t gasket_write_mappable_regions(
|
|||
if (bar_desc.permissions == GASKET_NOMAP)
|
||||
return 0;
|
||||
for (i = 0;
|
||||
(i < bar_desc.num_mappable_regions) && (total_written < PAGE_SIZE);
|
||||
i < bar_desc.num_mappable_regions && total_written < PAGE_SIZE;
|
||||
i++) {
|
||||
min_addr = bar_desc.mappable_regions[i].start -
|
||||
driver_desc->legacy_mmap_address_offset;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user