Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 318173
b: refs/heads/master
c: e4bcecd
h: refs/heads/master
i:
  318171: 530cea3
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Jul 20, 2012
1 parent 99de628 commit d9199d3
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5a0c09fd736d2518409e0eabe4c3039058e6fdfc
refs/heads/master: e4bcecd947a40731cbbbf44f8584f99070608416
2 changes: 1 addition & 1 deletion trunk/drivers/staging/csr/csr_formatted_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ s32 CsrSnprintf(char *dest, size_t n, const char *fmt, ...)
s32 r;
va_list args;
va_start(args, fmt);
r = CsrVsnprintf(dest, n, fmt, args);
r = vsnprintf(dest, n, fmt, args);
va_end(args);

if (dest && (n > 0))
Expand Down
6 changes: 0 additions & 6 deletions trunk/drivers/staging/csr/csr_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,6 @@ size_t CsrStrLen(const char *string)
EXPORT_SYMBOL_GPL(CsrStrLen);
#endif

s32 CsrVsnprintf(char *string, size_t count, const char *format, va_list args)
{
return vsnprintf(string, count, format, args);
}
EXPORT_SYMBOL_GPL(CsrVsnprintf);

MODULE_DESCRIPTION("CSR Operating System Kernel Abstraction");
MODULE_AUTHOR("Cambridge Silicon Radio Ltd.");
MODULE_LICENSE("GPL and additional rights");
1 change: 0 additions & 1 deletion trunk/drivers/staging/csr/csr_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ void CsrUInt16ToHex(u16 number, char *str);
void *CsrMemCpy(void *dest, const void *src, size_t count);
size_t CsrStrLen(const char *string);
#endif /* !CSR_USE_STDC_LIB */
s32 CsrVsnprintf(char *string, size_t count, const char *format, va_list args);

#define CsrOffsetOf(st, m) ((size_t) & ((st *) 0)->m)

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/csr/csr_wifi_hip_card_sdio_intr.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ void unifi_debug_log_to_buf(const char *fmt, ...)
va_list args;

va_start(args, fmt);
CsrVsnprintf(s, DEBUG_BUFFER_SIZE, fmt, args);
vsnprintf(s, DEBUG_BUFFER_SIZE, fmt, args);
va_end(args);

unifi_debug_string_to_buf(s);
Expand Down

0 comments on commit d9199d3

Please sign in to comment.