Commit a9415b0
committed
fbdev: neofb: Shorten Neomagic product name in info struct
Avoid those compiler warnings:
neofb.c:1959:3: warning: 'snprintf' will always be truncated;
specified size is 16, but format string expands to at least 17 [-Wfortify-source]
Signed-off-by: Helge Deller <deller@gmx.de>
Reported-by: Nathan Chancellor <nathan@kernel.org>
Reported-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Link: https://lore.kernel.org/all/CAKwvOdn0xoVWjQ6ufM_rojtKb0f1i1hW-J_xYGfKDNFdHwaeHQ@mail.gmail.com/
Link: ClangBuiltLinux#19231 parent bfac19e commit a9415b0
1 file changed
Lines changed: 9 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1948 | 1948 | | |
1949 | 1949 | | |
1950 | 1950 | | |
1951 | | - | |
1952 | | - | |
| 1951 | + | |
1953 | 1952 | | |
1954 | 1953 | | |
1955 | | - | |
1956 | | - | |
| 1954 | + | |
1957 | 1955 | | |
1958 | 1956 | | |
1959 | | - | |
1960 | | - | |
| 1957 | + | |
1961 | 1958 | | |
1962 | 1959 | | |
1963 | | - | |
1964 | | - | |
| 1960 | + | |
1965 | 1961 | | |
1966 | 1962 | | |
1967 | | - | |
1968 | | - | |
| 1963 | + | |
1969 | 1964 | | |
1970 | 1965 | | |
1971 | | - | |
1972 | | - | |
| 1966 | + | |
1973 | 1967 | | |
1974 | 1968 | | |
1975 | 1969 | | |
1976 | 1970 | | |
1977 | 1971 | | |
1978 | | - | |
1979 | | - | |
| 1972 | + | |
1980 | 1973 | | |
1981 | 1974 | | |
1982 | 1975 | | |
1983 | 1976 | | |
1984 | 1977 | | |
1985 | | - | |
1986 | | - | |
| 1978 | + | |
1987 | 1979 | | |
1988 | 1980 | | |
1989 | 1981 | | |
1990 | 1982 | | |
1991 | 1983 | | |
1992 | | - | |
1993 | | - | |
| 1984 | + | |
1994 | 1985 | | |
1995 | 1986 | | |
1996 | 1987 | | |
| |||
0 commit comments