pci/switchtec: fix stream_open.cocci warnings

[ Upstream commit 9462c69e29307adc95c289f50839d5d683973891 ]

drivers/pci/switch/switchtec.c:395:1-17: ERROR: switchtec_fops: .read() can deadlock .write(); change nonseekable_open -> stream_open to fix.

Generated by: scripts/coccinelle/api/stream_open.cocci

Cc: Kirill Smelkov <kirr@nexedi.com>
Cc: Julia Lawall <julia.lawall@lip6.fr>
Fixes: 8a29a3bae2a2 ("pci/switchtec: Don't use completion's wait queue")
Cc: stable-rt@vger.kernel.org # where it applies to
Link: https://lkml.kernel.org/r/alpine.DEB.2.21.1904131849350.2536@hadrien
Signed-off-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
25 jobs for ci/pavel/linux-cip in 282 minutes and 2 seconds (queued for 28 seconds)
Status Name Job ID Coverage
  Build
passed build:arm64_moxa_eds_defconfig #472034140

00:08:03

passed build:arm64_renesas_defconfig #472034141

00:10:23

passed build:arm_hitachi_cyclonev_defconfig #472034134

00:07:35

passed build:arm_hitachi_omap_defconfig #472034135

00:15:13

passed build:arm_moxa_mxc_defconfig #472034136

00:10:40

passed build:arm_renesas_shmobile_defconfig #472034137

00:09:24

passed build:arm_siemens_de0-nano-soc_defconfig #472034138

00:10:40

passed build:arm_siemens_imx6.config #472034139

00:12:24

passed build:x86_plathome_obsvx2.config #472034142

00:14:55

passed build:x86_siemens_iot2000.config #472034143

00:13:47

passed build:x86_siemens_ipc227e_defconfig #472034144

00:13:43

passed build:x86_siemens_server_defconfig #472034145

00:12:14

passed build:x86_toshiba_atom_baytrail_cip.config #472034146

00:10:14

 
  Test
failed test:arm64_renesas_defconfig #475279851

04:00:01

passed test:arm_renesas_shmobile_defconfig #472040756

00:06:01

failed test:arm_siemens_de0-nano-soc_defconfig #474468145

00:10:00

passed test:x86_siemens_ipc227e_defconfig #474468159

00:20:45

failed test:arm64_renesas_defconfig #474468116

04:00:00

failed test:arm64_renesas_defconfig #472385324

00:58:53

failed test:arm64_renesas_defconfig #472034149

04:00:00

failed test:arm_renesas_shmobile_defconfig #472034147

00:07:52

failed test:arm_siemens_de0-nano-soc_defconfig #472385319

04:00:00

failed test:arm_siemens_de0-nano-soc_defconfig #472034148

04:00:00

failed test:x86_siemens_ipc227e_defconfig #472385327

04:00:00

failed test:x86_siemens_ipc227e_defconfig #472034150

04:00:00

 
Name Stage Failure
failed
test:arm_siemens_de0-nano-soc_defconfig Test
------------------------------
Job Summary
------------------------------
Job #12855 Finished. Job health: Incomplete. URL: https://lava.ciplatform.org/scheduler/job/12855
Job #12857 Finished. Job health: Incomplete. URL: https://lava.ciplatform.org/scheduler/job/12857
Uploading artifacts...
output: found 23 matching files
Uploading artifacts to coordinator... ok
id=474468145 responseStatus=201 Created token=n9yuvL7B
ERROR: Job failed: command terminated with exit code 1
failed
test:arm64_renesas_defconfig Test The script exceeded the maximum execution time set for the job
 
Job #12915: Submitted
Health: Unknown
Device Type: r8a774c0-ek874
Device: None
Test: smc
URL: https://lava.ciplatform.org/scheduler/job/12915

ERROR: Job failed: execution took longer than 4h0m0s seconds