forked from mirrors/linux
		
	tracing: Convert seq_buf fields to be like seq_file fields
In facilitating the conversion of seq_file to use seq_buf, have the seq_buf fields match the types used by seq_file. Link: http://lkml.kernel.org/r/20141104160222.195301024@goodmis.org Tested-by: Jiri Kosina <jkosina@suse.cz> Acked-by: Jiri Kosina <jkosina@suse.cz> Reviewed-by: Petr Mladek <pmladek@suse.cz> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
This commit is contained in:
		
							parent
							
								
									dd23180aac
								
							
						
					
					
						commit
						9a7777935c
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		|  | @ -16,10 +16,10 @@ | ||||||
|  * @readpos:	The next position to read in the buffer. |  * @readpos:	The next position to read in the buffer. | ||||||
|  */ |  */ | ||||||
| struct seq_buf { | struct seq_buf { | ||||||
| 	unsigned char		*buffer; | 	char			*buffer; | ||||||
| 	unsigned int		size; | 	size_t			size; | ||||||
| 	unsigned int		len; | 	size_t			len; | ||||||
| 	unsigned int		readpos; | 	loff_t			readpos; | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| static inline void | static inline void | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Steven Rostedt (Red Hat)
						Steven Rostedt (Red Hat)