Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

eeprom: at25: make FRAM device ID error message more precise

The error description would be wrong in case the "size" Devicetree
property is missing for an FRAM without device ID.

Signed-off-by: Markus Heidelberg <m.heidelberg@cab.de>
Reviewed-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Link: https://lore.kernel.org/r/20250815095839.4219-4-m.heidelberg@cab.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Markus Heidelberg and committed by
Greg Kroah-Hartman
dfb962e2 1b434ed0

+1 -1
+1 -1
drivers/misc/eeprom/at25.c
··· 399 399 id[j] = tmp; 400 400 } 401 401 if (id[6] != 0xc2) { 402 - dev_err(dev, "Error: no Cypress FRAM (id %02x)\n", id[6]); 402 + dev_err(dev, "Error: no Cypress FRAM with device ID (manufacturer ID bank 7: %02x)\n", id[6]); 403 403 return -ENODEV; 404 404 } 405 405