linux/drivers/hwmon
Linus Torvalds 41bc10cabe stream_open related patches for Linux 5.2
https://lore.kernel.org/linux-fsdevel/CAHk-=wg1tFzcaX2v9Z91vPJiBR486ddW5MtgDL02-fOen2F0Aw@mail.gmail.com/T/#m5b2d9ad3aeacea4bd6aa1964468ac074bf3aa5bf
 -----BEGIN PGP SIGNATURE-----
 
 iQJEBAABCgAuFiEECVWwJCUO7/z+QjZbZsp4hBP2dUkFAlzR1UgQHGtpcnJAbmV4
 ZWRpLmNvbQAKCRBmyniEE/Z1SZBiEACGw1LzUmjV9eBYFjqaUkgX/Zfcu42D4Ek2
 8MuWnNdRabtpGQq0LccYlfoL3yH5xECp14IkCgJvkjqoZ3CcqWcv6uDxf0WtnUqZ
 wPx1RYZykb4RZj2A6/ndhInReP4AlXICyTVulKb+BquVkemMvmXX8k+bkr/msKfT
 9jdKWFIn+ANNABt3y2D7ywZvs9mkxIx+Fti+tVV4BFBeGfUuj4ArZBOHnngRnIk/
 XYlQ7FVzENSPSB+3GvL34jTGEzo8suPHKhHQlIhtcd5hwzVRZKE2sdVXsCc6/WbY
 YnT32gmT1/+cUuDl1mZSiQY5R4Xkb07k6/jNrdmjQpwmWbZu90cuRhb+JBXwnmjZ
 2Wgy3sfwYISDxtePukg1iYePlHlVlGTYqMo3AQrTBs/gEwCKWrsKQb98mRxlf1YK
 e2mdtmq6upYoorLFQesfRgrCg4GTBiPkrR3amXsFgJ2O5fhV6R98ZdGSv4kip19f
 ZNoc/t1EtKGwyAJwjINduv36E3RSHODWwSPtSnmSS1ieCGToY1SI3bVUkFM4C0tO
 5GMdSugHgXRGGVbTd/VftndJm6Wtj8b1j8c/1Vh04Q8qbKKJDRTDzAbK1v8oLaDh
 UXAKMIc8uY4caZy3/bTAB2Ou9dibrSi8Oc+LwZqJlwIcbkwn/IGNvmwtWv4ehorE
 N7EhCFZsFQ==
 =Mavg
 -----END PGP SIGNATURE-----

Merge tag 'stream_open-5.2' of https://lab.nexedi.com/kirr/linux

Pull stream_open conversion from Kirill Smelkov:

 - remove unnecessary double nonseekable_open from drivers/char/dtlk.c
   as noticed by Pavel Machek while reviewing nonseekable_open ->
   stream_open mass conversion.

 - the mass conversion patch promised in commit 10dce8af34 ("fs:
   stream_open - opener for stream-like files so that read and write can
   run simultaneously without deadlock") and is automatically generated
   by running

        $ make coccicheck MODE=patch COCCI=scripts/coccinelle/api/stream_open.cocci

   I've verified each generated change manually - that it is correct to
   convert - and each other nonseekable_open instance left - that it is
   either not correct to convert there, or that it is not converted due
   to current stream_open.cocci limitations. More details on this in the
   patch.

 - finally, change VFS to pass ppos=NULL into .read/.write for files
   that declare themselves streams. It was suggested by Rasmus Villemoes
   and makes sure that if ppos starts to be erroneously used in a stream
   file, such bug won't go unnoticed and will produce an oops instead of
   creating illusion of position change being taken into account.

   Note: this patch does not conflict with "fuse: Add FOPEN_STREAM to
   use stream_open()" that will be hopefully coming via FUSE tree,
   because fs/fuse/ uses new-style .read_iter/.write_iter, and for these
   accessors position is still passed as non-pointer kiocb.ki_pos .

* tag 'stream_open-5.2' of https://lab.nexedi.com/kirr/linux:
  vfs: pass ppos=NULL to .read()/.write() of FMODE_STREAM files
  *: convert stream-like files from nonseekable_open -> stream_open
  dtlk: remove double call to nonseekable_open
2019-05-07 12:15:13 -07:00
..
occ hwmon: (occ) Add more details to Kconfig help text 2019-04-16 15:15:52 -07:00
pmbus hwmon: (pmbus/isl68137) Add driver for Intersil ISL68137 PWM Controller 2019-04-15 17:19:53 -07:00
ab8500.c
abituguru.c
abituguru3.c
abx500.c
abx500.h
acpi_power_meter.c
ad7314.c
ad7414.c
ad7418.c
adc128d818.c
adcxx.c
adm1021.c
adm1025.c hwmon: (adm1025) Use permission specific SENSOR[_DEVICE]_ATTR variants 2019-04-15 17:19:53 -07:00
adm1026.c hwmon: (adm1026) Use permission specific SENSOR[_DEVICE]_ATTR variants 2019-04-15 17:19:53 -07:00
adm1029.c hwmon: (adm1029) Use permission specific [SENSOR_][DEVICE_]ATTR variants 2019-04-15 17:19:53 -07:00
adm1031.c hwmon: (adm1031) Use permission specific SENSOR[_DEVICE]_ATTR variants 2019-04-15 17:19:53 -07:00
adm9240.c hwmon: (adm9240) Use permission specific SENSOR[_DEVICE]_ATTR variants 2019-04-15 17:19:53 -07:00
ads1015.c
ads7828.c docs: hwmon: Add an index file and rename docs to *.rst 2019-04-17 10:37:23 -07:00
ads7871.c
adt7x10.c
adt7x10.h
adt7310.c
adt7410.c
adt7411.c
adt7462.c
adt7470.c
adt7475.c
amc6821.c
applesmc.c
asb100.c
asc7621.c
aspeed-pwm-tacho.c
asus_atk0110.c
atxp1.c
coretemp.c
da9052-hwmon.c
da9055-hwmon.c
dell-smm-hwmon.c
dme1737.c
ds620.c
ds1621.c
emc6w201.c
emc1403.c
emc2103.c
f71805f.c
f71882fg.c
f75375s.c
fam15h_power.c
fschmd.c *: convert stream-like files from nonseekable_open -> stream_open 2019-05-06 17:46:41 +03:00
ftsteutates.c
g760a.c
g762.c
gl518sm.c
gl520sm.c
gpio-fan.c
hih6130.c
hwmon-vid.c
hwmon.c hwmon: Add support for samples attributes 2019-04-15 17:19:53 -07:00
i5k_amb.c
i5500_temp.c
ibmaem.c
ibmpex.c
ibmpowernv.c
iio_hwmon.c
ina2xx.c
ina209.c
ina3221.c hwmon: (ina3221) Add voltage conversion time settings 2019-04-18 06:44:11 -07:00
it87.c
jc42.c
jz4740-hwmon.c
k8temp.c
k10temp.c
Kconfig hwmon: (max6650) add thermal cooling device capability 2019-04-20 07:08:15 -07:00
lineage-pem.c
lm63.c
lm70.c
lm73.c
lm75.c hwmon: (lm75) Add support for TMP75B 2019-05-03 13:16:18 -07:00
lm75.h
lm77.c
lm78.c hwmon: (lm78) Use permission specific SENSOR[_DEVICE]_ATTR variants 2019-04-15 17:19:53 -07:00
lm80.c
lm83.c
lm85.c hwmon: (lm85) Use permission specific SENSOR[_DEVICE]_ATTR variants 2019-04-15 17:19:53 -07:00
lm87.c hwmon: (lm87) Use permission specific SENSOR[_DEVICE]_ATTR variants 2019-04-15 17:19:53 -07:00
lm90.c
lm92.c
lm93.c
lm95234.c
lm95241.c
lm95245.c
lochnagar-hwmon.c
ltc2945.c
ltc2990.c
ltc4151.c
ltc4215.c
ltc4222.c
ltc4245.c
ltc4260.c
ltc4261.c
ltq-cputemp.c
Makefile
max197.c docs: hwmon: Add an index file and rename docs to *.rst 2019-04-17 10:37:23 -07:00
max1111.c
max1619.c
max1668.c
max6621.c
max6639.c
max6642.c
max6650.c hwmon: (max6650) Drop call to thermal_cdev_update 2019-04-23 06:30:38 -07:00
max6697.c
max16065.c
max31722.c
max31790.c
mc13783-adc.c
mcp3021.c
menf21bmc_hwmon.c hwmon: (menf21bmc_hwmon) Use permission specific SENSOR[_DEVICE]_ATTR variants 2019-04-15 17:19:53 -07:00
mlxreg-fan.c
nct6683.c
nct6775.c
nct7802.c
nct7904.c
npcm750-pwm-fan.c
nsa320-hwmon.c
ntc_thermistor.c
pc87360.c
pc87427.c
pcf8591.c
powr1220.c
pwm-fan.c hwmon: (pwm-fan) Report probe errors consistently 2019-04-15 17:19:53 -07:00
raspberrypi-hwmon.c
s3c-hwmon.c hwmon: (s3c) Use dev_get_drvdata() 2019-04-23 06:43:32 -07:00
sch56xx-common.c
sch56xx-common.h
sch5627.c
sch5636.c
scmi-hwmon.c
scpi-hwmon.c
sht3x.c
sht15.c docs: hwmon: Add an index file and rename docs to *.rst 2019-04-17 10:37:23 -07:00
sht21.c
shtc1.c
sis5595.c hwmon: (sis5595) Use permission specific SENSOR[_DEVICE]_ATTR variants 2019-04-15 17:19:53 -07:00
smm665.c
smsc47b397.c
smsc47m1.c hwmon: (smsc47m1) Use request_muxed_region for Super-IO accesses 2019-04-15 17:19:53 -07:00
smsc47m192.c hwmon: (smsc47m192) Use permission specific SENSOR[_DEVICE]_ATTR variants 2019-04-15 17:19:53 -07:00
stts751.c
tc74.c
tc654.c
thmc50.c hwmon: (thmc50) Use permission specific SENSOR[_DEVICE]_ATTR variants 2019-04-15 17:19:53 -07:00
tmp102.c
tmp103.c
tmp108.c
tmp401.c
tmp421.c
ultra45_env.c
vexpress-hwmon.c
via-cputemp.c
via686a.c hwmon: (via686a) Use permission specific SENSOR[_DEVICE]_ATTR variants 2019-04-15 17:19:53 -07:00
vt1211.c hwmon: (vt1211) Use request_muxed_region for Super-IO accesses 2019-04-15 17:19:53 -07:00
vt8231.c hwmon: (vt8231) Use permission specific SENSOR[_DEVICE]_ATTR variants 2019-04-15 17:19:53 -07:00
w83l785ts.c
w83l786ng.c
w83627ehf.c
w83627hf.c hwmon: (w83627hf) Use request_muxed_region for Super-IO accesses 2019-04-15 17:19:53 -07:00
w83773g.c
w83781d.c
w83791d.c
w83792d.c
w83793.c *: convert stream-like files from nonseekable_open -> stream_open 2019-05-06 17:46:41 +03:00
w83795.c
wm831x-hwmon.c
wm8350-hwmon.c
xgene-hwmon.c