Thread (2 messages) 2 messages, 2 authors, 2021-02-28

Re: [PATCH 05/11] pragma once: convert drivers/scsi/qla2xxx/qla_target.h

From: Bart Van Assche <bvanassche@acm.org>
Date: 2021-02-28 22:08:35
Also in: lkml

On 2/28/21 9:01 AM, Alexey Dobriyan wrote:
This file has broken include guard which is not obvious just by looking
at the code. Convert it manually. I think I got #endif right.
Why do you think that the include guard is broken? Please mention this
in the patch description.
-
-#ifndef __QLA_TARGET_H
-#define __QLA_TARGET_H
-
+#pragma once
 #include "qla_def.h"
 #include "qla_dsd.h"
Please insert a blank line between #pragma once and the #include directives.

Thanks,

Bart.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help