Rev 3391 | Rev 3482 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3391 | Rev 3480 | ||
---|---|---|---|
Line 85... | Line 85... | ||
85 | *buf++ = hex_asc_hi(byte); |
85 | *buf++ = hex_asc_hi(byte); |
86 | *buf++ = hex_asc_lo(byte); |
86 | *buf++ = hex_asc_lo(byte); |
87 | return buf; |
87 | return buf; |
88 | } |
88 | } |
Line -... | Line 89... | ||
- | 89 | ||
- | 90 | enum { |
|
- | 91 | DUMP_PREFIX_NONE, |
|
- | 92 | DUMP_PREFIX_ADDRESS, |
|
- | 93 | DUMP_PREFIX_OFFSET |
|
- | 94 | }; |
|
89 | 95 | ||
90 | extern int hex_to_bin(char ch); |
96 | int hex_to_bin(char ch); |
Line 91... | Line 97... | ||
91 | extern void hex2bin(u8 *dst, const char *src, size_t count); |
97 | int hex2bin(u8 *dst, const char *src, size_t count); |
Line 92... | Line 98... | ||
92 | 98 | ||
Line 333... | Line 339... | ||
333 | printk("Warning %s " format, __func__ , ## arg) |
339 | printk("Warning %s " format, __func__ , ## arg) |
Line 334... | Line 340... | ||
334 | 340 | ||
335 | #define dev_info(dev, format, arg...) \ |
341 | #define dev_info(dev, format, arg...) \ |
Line 336... | Line 342... | ||
336 | printk("Info %s " format , __func__, ## arg) |
342 | printk("Info %s " format , __func__, ## arg) |
337 | - | ||
- | 343 | ||
Line 338... | Line 344... | ||
338 | #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) |
344 | //#define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) |
339 | 345 | #define BUILD_BUG_ON(condition) |
|
340 | 346 | ||
341 | struct page |
347 | struct page |