Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ide: remove the second argument of k[un]map_atomic()

Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>

authored by

Cong Wang and committed by
Cong Wang
45b408d2 1c9c20f6

+2 -2
+2 -2
drivers/ide/ide-taskfile.c
··· 253 253 if (page_is_high) 254 254 local_irq_save(flags); 255 255 256 - buf = kmap_atomic(page, KM_BIO_SRC_IRQ) + offset; 256 + buf = kmap_atomic(page) + offset; 257 257 258 258 cmd->nleft -= nr_bytes; 259 259 cmd->cursg_ofs += nr_bytes; ··· 269 269 else 270 270 hwif->tp_ops->input_data(drive, cmd, buf, nr_bytes); 271 271 272 - kunmap_atomic(buf, KM_BIO_SRC_IRQ); 272 + kunmap_atomic(buf); 273 273 274 274 if (page_is_high) 275 275 local_irq_restore(flags);