[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1437945502-27944-1-git-send-email-vz@mleia.com>
Date: Mon, 27 Jul 2015 00:18:22 +0300
From: Vladimir Zapolskiy <vz@...ia.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Wolfram Sang <wsa@...-dreams.de>,
Maxime Ripard <maxime.ripard@...e-electrons.com>,
Jean Delvare <jdelvare@...e.com>,
Ian Munsie <imunsie@....ibm.com>,
Michael Neuling <mikey@...ling.org>
Cc: Arnd Bergmann <arnd@...db.de>, linuxppc-dev@...ts.ozlabs.org,
linux-arm-kernel@...ts.infradead.org, linux-i2c@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 0/8] misc: remove boundary checks from bin attr users
This change removes a number of redundant checks on bin attribute
client's side, the same checks are done by sysfs_kf_bin_read() or
sysfs_kf_bin_write() caller from fs/sysfs/file.c.
Note, drivers/misc/pch_phub.c and drivers/misc/c2port/core.c may be
updated in a similar way, however this task is not done due to more
complicated read()/write() callbacks.
No functional change, hopefully.
Vladimir Zapolskiy (8):
misc: cxl: clean up afu_read_config()
misc: ds1682: clean up ds1682_eeprom_read() and ds1682_eeprom_write()
misc: eeprom: 93xx46: clean up eeprom_93xx46_bin_read/write
misc: eeprom: clean up eeprom_read()
misc: eeprom: max6875: clean up max6875_read()
misc: eeprom: at24: clean up at24_bin_write()
misc: eeprom: at25: move eeprom boundary checks to mem_read/mem_write
misc: eeprom: sunxi_sid: clean up sid_read()
drivers/misc/cxl/sysfs.c | 7 +------
drivers/misc/ds1682.c | 12 ------------
drivers/misc/eeprom/at24.c | 3 ---
drivers/misc/eeprom/at25.c | 28 ++++++++++++++--------------
drivers/misc/eeprom/eeprom.c | 5 -----
drivers/misc/eeprom/eeprom_93xx46.c | 14 --------------
drivers/misc/eeprom/max6875.c | 6 ------
drivers/misc/eeprom/sunxi_sid.c | 5 -----
8 files changed, 15 insertions(+), 65 deletions(-)
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists