aboutsummaryrefslogtreecommitdiff
path: root/lib/crc7.c
AgeCommit message (Collapse)AuthorFilesLines
2021-01-21lib/crc7: fix a kernel-doc markupMauro Carvalho Chehab1-1/+1
A function has a different name between their prototype and its kernel-doc markup. Signed-off-by: Mauro Carvalho Chehab <[email protected]> Link: https://lore.kernel.org/r/1963266e84c6fb0154602f276b04887c85f80bd3.1610610937.git.mchehab+huawei@kernel.org Signed-off-by: Jonathan Corbet <[email protected]>
2019-06-19treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 230Thomas Gleixner1-3/+1
Based on 2 normalized pattern(s): this source code is licensed under the gnu general public license version 2 see the file copying for more details this source code is licensed under general public license version 2 see extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 52 file(s). Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Enrico Weigelt <[email protected]> Reviewed-by: Allison Randal <[email protected]> Reviewed-by: Alexios Zavras <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2014-05-16lib/crc7: Shift crc7() output left 1 bitGeorge Spelvin1-38/+46
This eliminates a 1-bit left shift in every single caller, and makes the inner loop of the CRC computation more efficient. Renamed crc7 to crc7_be (big-endian) since the interface changed. Also purged #include <linux/crc7.h> from files that don't use it at all. Signed-off-by: George Spelvin <[email protected]> Reviewed-by: Pavel Machek <[email protected]> Acked-by: Ulf Hansson <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2007-07-17CRC7 supportJan Nikitenko1-0/+68
Add CRC7 routines, used for example in MMC over SPI communication. Kerneldoc updates [[email protected]: fix funny mix of const and non-const] Signed-off-by: Jan Nikitenko <[email protected]> Signed-off-by: David Brownell <[email protected]> Cc: "Randy.Dunlap" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>