Loading drivers/nvmem/core.c +2 −1 Original line number Diff line number Diff line Loading @@ -899,6 +899,7 @@ static void nvmem_shift_read_buffer_in_place(struct nvmem_cell *cell, void *buf) *p-- = 0; /* clear msb bits if any leftover in the last byte */ if (cell->nbits%BITS_PER_BYTE) *p &= GENMASK((cell->nbits%BITS_PER_BYTE) - 1, 0); } Loading Loading
drivers/nvmem/core.c +2 −1 Original line number Diff line number Diff line Loading @@ -899,6 +899,7 @@ static void nvmem_shift_read_buffer_in_place(struct nvmem_cell *cell, void *buf) *p-- = 0; /* clear msb bits if any leftover in the last byte */ if (cell->nbits%BITS_PER_BYTE) *p &= GENMASK((cell->nbits%BITS_PER_BYTE) - 1, 0); } Loading