media: gspca: Convert PERR to gspca_err
Use a more typical kernel logging style. The current macro hides the gspca_dev argument so add it to the macro uses instead. Miscellanea: o Add missing '\n' terminations to formats o Realign arguments to open parenthesis Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Šī revīzija ir iekļauta:

revīziju iesūtīja
Mauro Carvalho Chehab

vecāks
6e298d5847
revīzija
52173c5f3f
@@ -728,7 +728,7 @@ static void sd_pkt_scan(struct gspca_dev *gspca_dev,
|
||||
|
||||
/* This should never happen */
|
||||
if (len < 2) {
|
||||
PERR("Short SOF packet, ignoring");
|
||||
gspca_err(gspca_dev, "Short SOF packet, ignoring\n");
|
||||
gspca_dev->last_packet_type = DISCARD_PACKET;
|
||||
return;
|
||||
}
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user