Skip to contentSkip to conversation

Staging: rts5208: spi: Removed unnecessary ftrace-like logging

PATCH In review Agam Kohli 2 participants 2 messages Jun 9, 2022 – Jun 10, 2022 Staging

lore
Share & tools
lore

Agam Kohli

author
#0 lore raw

PATCH 1/1 Staging: rts5208: spi: Removed unnecessary ftrace-like logging

Coding Style Fix

---
 drivers/staging/rts5208/spi.c | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/rts5208/spi.c +0 -1
index f1e9e80044ed..0d2d065508d3 100644
@@ -460,7 +460,6 @@ int spi_set_parameter(struct scsi_cmnd *srb, struct rtsx_chip *chip)
 	spi->clk_div = ((u16)(srb->cmnd[4]) << 8) | srb->cmnd[5];
 	spi->write_en = srb->cmnd[6];
 
-	dev_dbg(rtsx_dev(chip), "%s: ", __func__);
 	dev_dbg(rtsx_dev(chip), "spi_clock = %d, ", spi->spi_clock);
 	dev_dbg(rtsx_dev(chip), "clk_div = %d, ", spi->clk_div);
 	dev_dbg(rtsx_dev(chip), "write_en = %d\n", spi->write_en);
Signature · 1 line
2.36.1
maintainer
#1 lore raw
Quoted 23 lines · Agam Kohli

Coding Style Fix

---
 drivers/staging/rts5208/spi.c | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/rts5208/spi.c +0 -1
index f1e9e80044ed..0d2d065508d3 100644
@@ -460,7 +460,6 @@ int spi_set_parameter(struct scsi_cmnd *srb, struct rtsx_chip *chip)
 	spi->clk_div = ((u16)(srb->cmnd[4]) << 8) | srb->cmnd[5];
 	spi->write_en = srb->cmnd[6];
 
-	dev_dbg(rtsx_dev(chip), "%s: ", __func__);
 	dev_dbg(rtsx_dev(chip), "spi_clock = %d, ", spi->spi_clock);
 	dev_dbg(rtsx_dev(chip), "clk_div = %d, ", spi->clk_div);
 	dev_dbg(rtsx_dev(chip), "write_en = %d\n", spi->write_en);
Signature · 1 line
2.36.1

Hi,

This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him a patch that has triggered this response. He used to manually respond to these common problems, but in order to save his sanity (he kept writing the same thing over and over, yet to different people), I was created. Hopefully you will not take offence and will fix the problem in your patch and resubmit it so that it can be accepted into the Linux kernel tree.

You are receiving this message because of the following common error(s) as indicated below:

- Your patch did not apply to any known trees that Greg is in control of. Possibly this is because you made it against Linus's tree, not the linux-next tree, which is where all of the development for the next version of the kernel is at. Please refresh your patch against the linux-next tree, or even better yet, the development tree specified in the MAINTAINERS file for the subsystem you are submitting a patch for, and resend it.

If you wish to discuss this problem further, or you have questions about how to resolve this issue, please feel free to respond to this email and Greg will reply once he has dug out from the pending patches received from other developers.

thanks,

greg k-h's patch email bot