aboutsummaryrefslogtreecommitdiff
path: root/include/linux/tty_buffer.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <[email protected]>2022-12-28 16:07:44 +0000
committerMauro Carvalho Chehab <[email protected]>2022-12-28 16:07:44 +0000
commit6599e683db1bf22fee74302c47e31b9a42a1c3d2 (patch)
treeb11b13b325fbc0f8d20c27b9b3d304cf535f627f /include/linux/tty_buffer.h
parentd4acfa22b634347be33d5906744366742fccd151 (diff)
parent1b929c02afd37871d5afb9d498426f83432e71c2 (diff)
Merge tag 'v6.2-rc1' into media_tree
Linux 6.2-rc1 * tag 'v6.2-rc1': (14398 commits) Linux 6.2-rc1 treewide: Convert del_timer*() to timer_shutdown*() pstore: Properly assign mem_type property pstore: Make sure CONFIG_PSTORE_PMSG selects CONFIG_RT_MUTEXES cfi: Fix CFI failure with KASAN perf python: Fix splitting CC into compiler and options afs: Stop implementing ->writepage() afs: remove afs_cache_netfs and afs_zap_permits() declarations afs: remove variable nr_servers afs: Fix lost servers_outstanding count ALSA: usb-audio: Add new quirk FIXED_RATE for JBL Quantum810 Wireless ALSA: azt3328: Remove the unused function snd_azf3328_codec_outl() gcov: add support for checksum field test_maple_tree: add test for mas_spanning_rebalance() on insufficient data maple_tree: fix mas_spanning_rebalance() on insufficient data hugetlb: really allocate vma lock for all sharable vmas kmsan: export kmsan_handle_urb kmsan: include linux/vmalloc.h mm/mempolicy: fix memory leak in set_mempolicy_home_node system call mm, mremap: fix mremap() expanding vma with addr inside vma ...
Diffstat (limited to 'include/linux/tty_buffer.h')
-rw-r--r--include/linux/tty_buffer.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/linux/tty_buffer.h b/include/linux/tty_buffer.h
index 1796648c2907..6ceb2789e6c8 100644
--- a/include/linux/tty_buffer.h
+++ b/include/linux/tty_buffer.h
@@ -17,14 +17,11 @@ struct tty_buffer {
int commit;
int lookahead; /* Lazy update on recv, can become less than "read" */
int read;
- int flags;
+ bool flags;
/* Data points here */
unsigned long data[];
};
-/* Values for .flags field of tty_buffer */
-#define TTYB_NORMAL 1 /* buffer has no flags buffer */
-
static inline unsigned char *char_buf_ptr(struct tty_buffer *b, int ofs)
{
return ((unsigned char *)b->data) + ofs;