aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorStephen Warren <[email protected]>2013-05-30 09:59:40 -0600
committerMark Brown <[email protected]>2013-06-01 19:46:16 +0100
commiteca8960a8e0f48dc62c1063bcc33a626455d766e (patch)
tree1ce5946e80204bd51db2e6dae7b9c592079046ad /net/lapb/lapb_in.c
parent4dd9572abc224019a042b662fb0eececca283cb9 (diff)
spi: fix incorrect handling of min param in SPI_BPW_RANGE_MASK
SPI_BPW_RANGE_MASK is intended to work by calculating two masks; one representing support for all bits up-to-and-including the "max" supported value, and one representing support for all bits up-to-but-not-including the "min" supported value, and then taking the difference between the two, resulting in a mask representing support for all bits between (inclusive) the min and max values. However, the second mask ended up representing all bits up-to-and- including rather up-to-but-not-including. Fix this bug. Signed-off-by: Stephen Warren <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions