Char/Misc driver fixes for 5.17-rc2
The following changes since commit c2c94b3b187dc92b2002809f489e0f24a41e91bc:
Merge tag 'drm-next-2022-01-21' of git://anongit.freedesktop.org/drm/drm (2022-01-21 09:25:38 +0200)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git tags/char-misc-5.17-rc2
for you to fetch changes up to fc55e63e148f1db2180867da875460a00aac8bd1:
counter: fix an IS_ERR() vs NULL bug (2022-01-26 19:40:33 +0100)
----------------------------------------------------------------
Char/Misc driver fixes for 5.17-rc2
Here are two small char/misc driver fixes for 5.17-rc2 that fix some reported issues. They include:
- fix up a merge issue in the at25.c driver that ended up dropping some lines in the driver. The removed lines ended being needed, so this restores it and the driver works again.
- counter core fix where the wrong error was being returned, NULL should be the correct error for when memory is gone here, like the kmalloc() core does.
Both of these have been in linux-next this week with no reported issues.
----------------------------------------------------------------
Dan Carpenter (1):
counter: fix an IS_ERR() vs NULL bug
Kees Cook (1):
eeprom: at25: Restore missing allocation
drivers/counter/counter-core.c | 15 ++++++--------- drivers/misc/eeprom/at25.c | 4 ++++ 2 files changed, 10 insertions(+), 9 deletions(-)
The pull request you sent on Sat, 29 Jan 2022 14:12:14 +0100:
The pull request you sent on Sat, 29 Jan 2022 14:12:14 +0100:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.gittags/char-misc-5.17-rc2
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/e255759e5afbc233544d7246ad325417320e90b6
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html