#ifndef TPRINTF_H #define TPRINTF_H #include "built_in.h" #include "colors.h" extern void tprintf_init(void); extern void tprintf(char *msg, ...) __check_format_printf(1, 2); extern void tprintf_flush(void); extern void tprintf_cleanup(void); extern void tputchar_safe(int c); extern void tputs_safe(const char *str, size_t len); #define DEFAULT_TTY_SIZE 80 #endif /* TPRINTF_H */ pplication/atom+xml'/>
summaryrefslogtreecommitdiff
path: root/drivers/usb/serial/garmin_gps.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-01-19 16:55:57 +0100
committerSagi Grimberg <sagi@grimberg.me>2017-01-26 17:49:14 +0200
commit19e420bb4076ace670addc55300e3b8c4a02dfc6 (patch)
treeba40aad7ab4fb28c0eafd0ee84959589f444f58d /drivers/usb/serial/garmin_gps.c
parent748ff8408f8e208f279ba221e5c12612fbb4dddb (diff)
nvme-fc: use blk_rq_nr_phys_segments
Without this deallocate won't work properly due to the mismatch of the bio/request size and the actual payload size. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: James Smart <james.smart@broadcom.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Diffstat (limited to 'drivers/usb/serial/garmin_gps.c')