Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\vsprintf.c Create Date:2022-07-28 06:12:16
Last Modify:2022-05-21 09:47:42 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:netdev_bits

Proto:static __attribute__((__noinline__)) char *netdev_bits(char *buf, char *end, const void *addr, struct printf_spec spec, const char *fmt)

Type:char

Parameter:

TypeParameterName
char *buf
char *end
const void *addr
struct printf_specspec
const char *fmt
1709  If check_pointer( & buf, end, addr, spec) Then Return buf
1713  Case fmt[1] == 'F'
1714  num = addr
1715  size = sizeof(netdev_features_t)
1716  Break
1717  Default
1718  Return Be careful: error messages must fit into the given buffer.
1721  Return special_hex_number(buf, end, num, size)
Caller
NameDescribe
pointerShow a '%p' thing. A kernel extension is that the '%p' is followed* by an extra set of alphanumeric characters that are extended format* specifiers.* Please update scripts/checkpatch.pl when adding/removing conversion* characters